Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/scripts/test-native-queue-workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ def test_owned_gate_uses_trusted_base_not_member_code(self):
"${{ github.event.merge_group.base_sha || format('refs/heads/{0}', github.event.pull_request.base.ref) }}")
self.assertFalse(checkout["persist-credentials"])
manifest = yaml.safe_load((ROOT / ".github/release-lines.yml").read_text())
self.assertEqual(manifest["pinned"]["native-queue-policy.yml"], ["v6", "-v4"])
# The admission gate covers the active feature lines (v5 and v6) and
# not feature-frozen v4, however the manifest spells that: v6 became a
# `release_lines` entry on 2026-11-07, so it is covered without an extra.
pinned = manifest["pinned"]["native-queue-policy.yml"]
covered = set(manifest["release_lines"]) | {p for p in pinned if not p.startswith("-")}
covered -= {p[1:] for p in pinned if p.startswith("-")}
self.assertEqual(sorted(covered), ["v5", "v6"])

def test_owned_gate_retriggers_never_cancel_the_evidence_wait(self):
# Stage-label flips re-fire the PR-target run every few minutes; a
Expand Down
1 change: 1 addition & 0 deletions changelog.d/fixed-native-queue-contract-release-lines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- The native-queue workflow contract test asserted `native-queue-policy.yml`'s release-lines pin as the literal `[v6, -v4]`; with v6 a `release_lines` entry the pin reads `[-v4]`, so the test now resolves the pin against `release_lines` and checks that v5 and v6 are covered.
Loading