Repository navigation
Allow github.run_id in workflow concurrency groups - #613
Merged
Merged
Conversation
This was referenced Oct 21, 2026
Keep run identity scoped to workflow concurrency and require explicit build identity outside hosted upload. Amp-Thread-ID: https://ampcode.com/threads/T-55f7b774-50aa-497e-a379-7a39c0cfed07 Co-authored-by: Amp <amp@ampcode.com>
sj26
force-pushed
the
pb-3721-workflow-concurrency-run-id
branch
from
October 21, 2026 04:04
c458fb4 to
fc82d36
Compare
buildsworth-bk-app
Bot
dismissed
their stale review
October 21, 2026 04:06
Superseded by a newer Buildsworth review.
Contributor
|
Released in v0.106.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Workflow concurrency rejects a build-scoped group even though the runtime already exposes the Buildkite build ID:
This currently fails with
compile-time expression references unavailable value "github.run_id".What
Hosted upload now resolves that group to
codeql-<Buildkite build ID>. Repeated imports in the same build retain the group; different builds get different groups. A separate workflow-concurrency profile keeps other import-time expression limits unchanged.Offline validation and compilation still require a real build identity instead of inventing an ID. Their diagnostic suggests hosted upload or a branch-scoped group using
github.workflowandgithub.ref.Adds workflow concurrency to the native expression oracle. The pinned GitHub run passed, and companion docs record the evidence and unreleased boundary.
Related: PB-3721. The reported production diagnostic is confirmed, but the original customer workflow and event remain inaccessible; the local reproduction is a separate minimal fixture.