Skip to content

test: unblock main by greening the baseline unit suite - #654

Merged
castrojo merged 1 commit into
mainfrom
fix/unblock-ci-baseline
Aug 13, 2026
Merged

test: unblock main by greening the baseline unit suite#654
castrojo merged 1 commit into
mainfrom
fix/unblock-ci-baseline

Conversation

@castrojo

Copy link
Copy Markdown
Collaborator

Why

main is currently un-mergeable for everyone. Every open PR fails test-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:

7 failed, 382 passed

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.

Failures Source Finding
3 × test_recc_runner_seam #650 RECC seam removal was deliberate (1004110a0bb_runner lacks remoteApisSocketPath), not a regression. Tests were stale.
2 × test_page_dataset_collector #653 Assertions hardcoded against live QA results, so they broke whenever results changed. Now pinned to a fixture.
1 × test_build_metrics #652 Asserted the literal annotation sync-policy-v2, guaranteeing failure on every future config bump. Now asserts the invariant.
1 × test_zot_cache_policy Split; see below.

The one xfail, and why

test_zot_cache_policy is split so the implemented bounds (onDemand, maxRetries, retryDelay) keep enforcing. Only the scoped-prefix assertion is marked xfail(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=False means #652 will not fail this test when it flips to passing; the marker is removed there.

Validation

389 passed, 1 xfailed
just lint: All manifests valid

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

`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>
@castrojo
castrojo enabled auto-merge August 13, 2026 22:36
@castrojo
castrojo added this pull request to the merge queue Aug 13, 2026
Merged via the queue into main with commit 317eff6 Aug 13, 2026
4 checks passed
@castrojo
castrojo deleted the fix/unblock-ci-baseline branch August 13, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant