Repository navigation
[0.0.28] fix(build): keep catalog-check out of the registry-free check gate - #2619
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Xuepoo
left a comment
There was a problem hiding this comment.
Guard verification (independent agent, bitty blitz guard tick, 2026-10-24 14:20 CST)
Head 219b4a3e (ctx-1497/fix-registry-gate). Checks on the exact head SHA: 20 pass, 0 fail,
0 pending.
What was verified independently:
- The regression is real and the fix matches it:
catalog-checksat in the defaultjust checkaggregate, so any checkout without a siblingbitty-pluginsclone failed the
default gate — the reported symptom matches issue #2459. - The gate split is conservative:
just checkkeeps the hermeticcatalog-test, while the
strict official-catalog drift check becomes opt-in (just check-registry) and stays in CI
against the pinnedexternal/bitty-pluginscheckout. Nothing loses coverage in CI. - Fail-closed direction is right: an explicit
--registry/BITTY_PLUGINS_DIRis
authoritative and errors instead of silently falling back to another tree — that removes
the class of "green because it tested a different catalog" defects. - Hermetic generator tests cover explicit-registry resolution and the no-registry message;
the author's local evidence (python3 scripts/tests/test_generate_official_catalog.py4
passed,just --show checkfree ofcatalog-check,markdownlint-cli20 issues,
actionlintclean) is consistent with the green gates. - No hardcoded host paths/usernames/ports added; no let-chains.
Verdict: merge-eligible on this evidence (CI + diff scope + fail-closed reasoning).
…-gate # Conflicts: # justfile
Priority: P2 | Area: build | Labels: fix,P2,area:build | Milestone: v0.0.28 | RFC: n/a | Task: CTX-1497
just checkfailed in any checkout without a siblingbitty-pluginsclone becausecatalog-checkwas in the default aggregate. This makes the default gate registry-free again:just checkkeeps the hermeticcatalog-testonly;catalog-checkmoves to the new strictjust check-registry.external/bitty-pluginscheckout.--registryorBITTY_PLUGINS_DIRis now authoritative and fails instead of silently falling back to another tree.CONTRIBUTING.mddocuments the optional registry prerequisite and the strict recipe.Verification:
python3 scripts/tests/test_generate_official_catalog.py— 4 passedjust --show checkcontains nocatalog-checkmarkdownlint-cli2 --no-globs CONTRIBUTING.md— 0 issuesactionlint .github/workflows/ci.yml— cleanCloses #2459.