Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Aaron1011
Copy link
Member

@Aaron1011 Aaron1011 commented Jan 29, 2026

Note

Low Risk
Low risk CI-only change that affects Buildkite job scheduling/ordering but not application runtime behavior. Main risk is miscomputed priority (e.g., failing PR number extraction/GraphQL query) leading to default priority 0 and unexpected build ordering.

Overview
Adds merge-queue-aware scheduling for Buildkite runs by introducing a pipeline priority derived from MERGE_QUEUE_PRIORITY.

The GitHub workflow now extracts the PR number from the merge-queue ref, queries GitHub’s GraphQL API for the PR’s merge queue position, converts it to a negative priority (earlier in queue = higher priority), and passes it to Buildkite via build_env_vars.

Written by Cursor Bugbot for commit 518d074. This will update automatically on new commits. Configure here.

@GabrielBianconi GabrielBianconi added this pull request to the merge queue Jan 29, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 29, 2026
@Aaron1011
Copy link
Member Author

Oops, this workflow isn't actually used

@Aaron1011 Aaron1011 marked this pull request as draft January 29, 2026 21:01
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.

3 participants