Skip to content

🌱 chore(ci): carry native-queue-policy scripts on v6 - #16061

Merged
Danathar merged 1 commit into
v6from
quality/test-v6-native-queue-policy-scripts
Oct 31, 2026
Merged

Danathar merged 1 commit into
v6from
quality/test-v6-native-queue-policy-scripts

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Why

.github/workflows/native-queue-policy.yml lives on v5 and runs on pull_request_target for base v5 and v6. It checks out refs/heads/<base> on purpose — trusted base code, never the candidate PR — so for a v6 PR the policy runs from the v6 tree. v6 never received .github/scripts/native-queue-policy.cjs or its test, so every v6 PR fails at "Test policy behavior":

Could not find '.github/scripts/native-queue-policy.test.cjs'

(hive#16056 @ be3d228, run 41213720806.) No v6 PR can fix this from its own diff, because the workflow never checks the PR out.

This carries the two files to v6, byte-identical to v5 at 6c45a1c. They are self-contained (node:test, node:assert only); node --test .github/scripts/native-queue-policy.test.cjs passes 18/18 on this branch. The next v5→v6 forward-merge brings the same bytes and merges cleanly over this.

Not touched: the workflow file (this agent cannot push .github/workflows/**). Nothing else is needed for the check to go green on v6.

Closes #16060


Filed by quality agent (ACMM L4/L6 — full mode)

— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88

native-queue-policy.yml (v5) runs on pull_request_target for base v5 and
v6 and checks out refs/heads/<base> by design, so a v6 PR runs the policy
from the v6 tree. v6 had neither native-queue-policy.cjs nor its test, so
every v6 PR failed at 'Test policy behavior' with
"Could not find '.github/scripts/native-queue-policy.test.cjs'".

Byte-identical to v5 (6c45a1c); the next v5->v6 forward-merge lands on it
cleanly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: quality <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@hivecommons-hive hivecommons-hive Bot linked an issue Oct 31, 2026 that may be closed by this pull request
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Oct 31, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nicholasjackson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Oct 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v6

Conflicts are checked with every PR merged onto the current tip of v6, so a PR that only needs a rebase is not reported as conflicting with its siblings.

No conflicting open PRs or same-file overlaps were found.

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 31, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

CI triage — native-queue-policy failure is expected and cannot be fixed from this PR (DEFER)

Run 41214725149 is pull_request_target and checks out refs/remotes/origin/v6 @ 6f6a5ca — the base tree, never this PR's head (d98117a). v6 has no .github/scripts/native-queue-policy.cjs, so the step fails with:

Could not find '.github/scripts/native-queue-policy.test.cjs'

This PR is the fix: it adds exactly those two files to v6. On the branch itself node --test .github/scripts/native-queue-policy.test.cjs → 18/18 pass. The check turns green for every subsequent v6 PR once this merges; it cannot turn green on this PR beforehand (same bootstrap failure as #16056 @ be3d228).

Requesting admin-merge over the red native-queue-policy check. No code change needed.


🐝 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

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verified the carry, and it is what it says. This looks correct to me — but it needs a maintainer to merge it with its own native-queue-policy check red.

What I checked.

  • Both files are byte-identical to v5 (git diff origin/v5:.github/scripts/native-queue-policy.cjs pr16061:.github/scripts/native-queue-policy.cjs and the same for the test are empty), and neither exists on origin/v6.
  • node --test .github/scripts/native-queue-policy.test.cjs at this head: 18 pass, 0 fail (node 26). The scripts require only node:test, node:assert/strict and each other (native-queue-policy.test.cjs:2-7), so no v6-specific dependency is involved.
  • The v5 workflow checks out refs/heads/<base> for pull_request_target (.github/workflows/native-queue-policy.yml:33 on v5, branches: [v5, v6] at line 5) and runs node --test .github/scripts/native-queue-policy.test.cjs from that tree (line 36). v6 has no copy of the workflow at all, so the only thing that can make v6 PRs green is landing the scripts on v6, which is what this does.

The chicken-and-egg for whoever merges. Because the workflow checks out the base branch, this PR's own native-queue-policy run also sees the pre-merge v6 tree and fails with the same missing-file error. It cannot turn green before it is merged; every v6 PR after it should. If native-queue-policy is a required context on v6, this one needs an admin merge; if it is not required, the automerge sweep should pick it up once the other checks settle.

No workflow file is touched here, and nothing else is needed. I have not approved or merged anything.

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) labels Oct 31, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

Deferred to shared-CI incident #16060 (required native-queue-policy runs from base v6; needs maintainer admin-merge or workflow change — see options on the incident). No further retries from the scanner.


🐝 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

Copy link
Copy Markdown
Contributor Author

Re-verified 2026-10-31 — still a bootstrap deadlock, needs maintainer admin-merge

All four native-queue-policy failures on this PR are pull_request_target runs that check out refs/heads/v6 (currently 6f6a5ca), which has no .github/scripts/native-queue-policy{,.test}.cjs. The PR head d98117a adds exactly those files and node --test .github/scripts/native-queue-policy.test.cjs passes 18/18 on the branch.

Nothing in this PR's diff can make the check pass before it is merged — the check only turns green after these files land on v6. Automerge cannot pick it up. Requesting a maintainer admin-merge (or a direct push of the two files to v6); every other v6 PR stays red until then.


🐝 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

@hivecommons-hive hivecommons-hive Bot added stage/stalled In its current stage longer than expected and removed stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 31, 2026
@hivecommons-hive hivecommons-hive Bot added stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it and removed stage/stalled In its current stage longer than expected stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 31, 2026
@Danathar
Danathar merged commit c4bcca5 into v6 Oct 31, 2026
132 of 188 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the quality/test-v6-native-queue-policy-scripts branch October 31, 2026 19:37
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

We'd love to hear how your experience was: share feedback

hivecommons-hive Bot added a commit that referenced this pull request Oct 31, 2026
…16061)

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
hivecommons-hive Bot added a commit that referenced this pull request Oct 31, 2026
…t a repeated error (#16086)

* fix(dashboard): treat an omp HOME without a sign-in as expected, not a repeated error

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

* fix(dashboard): log omp all-homes-failed fallback at Info, not Warn

With a single omp HOME (or the process-HOME probe) every per-HOME miss
is also an all-homes miss, so the retained Warn refiled the same
expected condition under a new unclassified_error_repeated fingerprint.
Lower it to Info to match the goose/agy/claude backends; the degraded
transition is already audited once by auditDiscoveryTransition.

Hive-Fix-Attempt: 1/6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

* chore: retrigger CI after native-queue-policy bootstrap landed on v6 (#16061)

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

---------

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Co-authored-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR copilot dco All commits are DCO signed-off dco-signoff: yes Indicates the PR's author has signed the DCO. role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[shared-ci] native-queue-policy failing across hivecommons/hive

1 participant