Skip to content

chore: make buildkite-get-results skill work with large job numbers#3699

Merged
rickeylev merged 3 commits intobazel-contrib:mainfrom
rickeylev:fix.get.jobs.skill
Apr 13, 2026
Merged

chore: make buildkite-get-results skill work with large job numbers#3699
rickeylev merged 3 commits intobazel-contrib:mainfrom
rickeylev:fix.get.jobs.skill

Conversation

@rickeylev
Copy link
Copy Markdown
Collaborator

Apparently, buildkite returns incomplete results it there are a large number of jobs.

Vibed out changes to handle such cases.

@rickeylev rickeylev requested a review from aignas as a code owner April 12, 2026 19:17
@rickeylev rickeylev enabled auto-merge April 12, 2026 19:17
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enhances Buildkite data retrieval by implementing a fallback mechanism to fetch job details from /data/jobs.json when the primary response lacks job records despite a non-zero job count. Additionally, it improves the display of pull request numbers and introduces logging to warn when the number of retrieved jobs does not match the reported statistics. A review comment suggests making the job fallback logic more robust by triggering it whenever the retrieved job count is less than the reported count, rather than only when the list is entirely empty.

@rickeylev
Copy link
Copy Markdown
Collaborator Author

rickeylev commented Apr 13, 2026

Addressed feedback on job list truncation and data parsing simplification.

edit: comment generated by bot

@rickeylev rickeylev added this pull request to the merge queue Apr 13, 2026
Merged via the queue into bazel-contrib:main with commit 17d7732 Apr 13, 2026
3 of 4 checks passed
@rickeylev rickeylev deleted the fix.get.jobs.skill branch April 13, 2026 04:13
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