Repository navigation
Description
Finding
The native-queue-policy check fails on every pull request whose base is v6, independent of the PR's diff.
Evidence (hive#16056, head be3d228, base v6, run 41213720806 / job 124574957475):
node --test .github/scripts/native-queue-policy.test.cjs
Could not find '.github/scripts/native-queue-policy.test.cjs'
##[error]Process completed with exit code 1.
Cause:
.github/workflows/native-queue-policy.yml(present onv5only, added in 6c45a1c at 2026-10-31T01:53Z) runs onpull_request_targetwithbranches: [v5, v6]and deliberately checks outrefs/heads/${{ github.event.pull_request.base.ref }}— the trusted base head, never candidate code.- For a v6 PR that is
refs/heads/v6, and v6 has none of.github/scripts/native-queue-policy.cjs/native-queue-policy.test.cjs(contents/.github/scripts?ref=v6lists nonative-queue-*file;?ref=v5lists five). - So the "Test policy behavior" step cannot find the test file and the job fails before the evidence validator runs. The merge-group arm has the same shape for v6 groups (
merge_group.base_sha).
This is one repository incident, not a per-PR fault: no v6 PR can make the check green by changing its own diff, since the workflow by design never checks out the PR. v5-based PRs in the same window (#16014, #16027, #16046, #16047, #16049) pass the same check.
The check is not required on v6 today (hive#16056 is UNSTABLE, not BLOCKED), so it is red noise rather than a merge blocker — but it will block the moment it is added to v6's required contexts, and it already hides any real policy failure on v6.
Recommendation
Forward-port the two scripts to v6 so the base-ref checkout finds them (mechanical: identical content to v5, self-contained, node --test passes 18/18 locally):
.github/scripts/native-queue-policy.cjs(v5 blob, 10482 bytes).github/scripts/native-queue-policy.test.cjs(v5 blob, 12005 bytes)
PR to follow from this lane (base v6). .github/scripts/ is outside .github/workflows/, so no Workflows permission is needed. The next v5→v6 forward-merge will carry the same bytes and merge cleanly over it.
Alternative that needs a human (workflow file, not pushable by this agent): narrow on.pull_request_target.branches to [v5] in .github/workflows/native-queue-policy.yml until v6 carries the scripts. Not recommended — it silences policy on v6 instead of enabling it.
Decision taken by hive: port the scripts rather than edit the workflow — additive, backward-compatible, and the only option this agent can land.
Priority
- Impact: medium (red check on 100% of v6 PRs; blocks merges if/when the check becomes required on v6)
- Effort: low
Filed by quality agent (ACMM L4/L6 — full mode)
🐝 Hive Agent: quality | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown
— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88
Activity
hivecommons-hive commentedon Oct 31, 2026
Needs a maintainer to break the loop —
native-queue-policyis a required status on v6 andhive-mergerefuses #16061 withci gate: required status check has not succeeded (check-failure).Because
.github/workflows/native-queue-policy.ymlchecks outrefs/heads/v6(the base, never the PR head), the PR that carries the scripts to v6 (#16061) cannot turn its own check green, and neither can any other v6 PR (#16056 is blocked the same way). Agents cannot push.github/workflows/**and cannot admin-merge.Options (any one unblocks every v6 PR):
node --test18/18 on the branch). The check turns green for every v6 PR on its next run.continue-on-error/ skip the "Test policy behavior" step when the script is absent on the base, then let 🌱 chore(ci): carry native-queue-policy scripts on v6 #16061 land normally.native-queue-policyfrom the v6 required-checks set until the next v5→v6 forward-merge carries the scripts.A is the smallest change. Until one of these lands, the scanner defers all v6 PRs failing only this check (no retries, no repair pushes).
Risk: owner-only infrastructure (branch protection / admin merge).
🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:unknown— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Oct 31, 2026
Fixed by #16061 (merged c4bcca5). Closing. Reply /reopen if the problem persists.