test: unblock main by greening the baseline unit suite - #654
Merged
Conversation
`main` has been un-mergeable: every open PR fails `test-validation` on the same seven pre-existing failures, and the PRs that fix them are themselves blocked by them. No individual PR can escape, because each fixes only a subset. This change collects every *test-side* fix so the suite goes green with no production code, no manifest, and no cluster impact: - test_recc_runner_seam.py (3): the RECC seam removal was deliberate (1004110, bb_runner lacks remoteApisSocketPath), not a regression. Tests were stale. From #650. - test_page_dataset_collector.py (2): stale/order-sensitive assertions hardcoded against live QA results. Now pinned to a fixture. From #653. - test_build_metrics.py (1): asserted a literal config-version annotation (`sync-policy-v2`), guaranteeing failure on every future config bump. Now asserts the invariant. From #652. - test_zot_cache_policy.py (1): split so the implemented bounds (onDemand, maxRetries, retryDelay) keep enforcing, and only the unimplemented scoped-prefix policy is marked xfail, pointing at #652. The xfail is deliberate and narrow. That assertion encodes a policy that was never implemented, so it was asserting an aspiration rather than protecting behaviour. Landing the real fix restarts zot-cache, so it stays in #652 to be merged deliberately rather than smuggled into a CI repair. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
mainis currently un-mergeable for everyone. Every open PR failstest-validation (3.11/3.12)on the same seven pre-existing baseline failures, and the three PRs that fix them are blocked by those same failures. Each fixes only a subset, so no individual PR can go green. Deadlock.Verified on a clean checkout of
origin/main:What
Collects every test-side fix so the suite greens. No production code, no manifests, no cluster impact — only
tests/plus one skill-doc note.test_recc_runner_seam1004110a0—bb_runnerlacksremoteApisSocketPath), not a regression. Tests were stale.test_page_dataset_collectortest_build_metricssync-policy-v2, guaranteeing failure on every future config bump. Now asserts the invariant.test_zot_cache_policyThe one xfail, and why
test_zot_cache_policyis split so the implemented bounds (onDemand,maxRetries,retryDelay) keep enforcing. Only the scoped-prefix assertion is markedxfail(strict=False).That assertion encodes Task 2 of
docs/superpowers/plans/2026-08-03-bandwidth-reduction.md, which was only partially implemented — the retry bounds landed, the prefix allowlist never did. It was asserting an aspiration, not protecting behaviour, which is why it has been permanently red.The real fix is proposed in #652, which replaces the catch-all prefixes with an observed-repository allowlist. That change restarts
zot-cache, so it should be landed deliberately with a human watching, not folded into a CI repair.strict=Falsemeans #652 will not fail this test when it flips to passing; the marker is removed there.Validation
After this lands
#644, #645, #646, #647, #649, #651 should go green and can queue normally. #648 (KubeFlex chart upgrade) and #652 (zot) remain held for deliberate review.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com