Skip to content

Conversation

avivkeller
Copy link
Member

@avivkeller avivkeller commented Sep 18, 2025

cc @ovflowd - This PR reduces the amount of times the GH API is called significantly by using advanced search

@Copilot Copilot AI review requested due to automatic review settings September 18, 2025 13:46
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the GitHub agenda issues functionality to use GitHub's advanced search API instead of iterating through all organization repositories individually. This change improves performance by making a single search query instead of multiple repository-specific queries.

  • Switched from repository iteration to GitHub search API with advanced_search: true
  • Updated data structure from array of repo objects to a key-value object mapping
  • Removed unused parameters and simplified function signatures

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

File Description
src/github.mjs Replaces repository iteration with GitHub search API and updates return type
src/meeting.mjs Updates function signature and data processing to handle new object structure
src/constants.mjs Adds constant for repository URL prefix length used in URL parsing
create-node-meeting-artifacts.mjs Removes unused meetingConfig parameter from function call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@avivkeller
Copy link
Member Author

Bump @ovflowd

Copy link
Member

@ovflowd ovflowd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM, but would love to have my comments replied at least :)

@avivkeller avivkeller requested a review from ovflowd September 27, 2025 18:47
@ovflowd ovflowd merged commit 8363149 into nodejs:main Sep 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants