Skip to content

[0.0.28] fix(build): keep catalog-check out of the registry-free check gate - #2619

Merged
Xuepoo merged 2 commits into
mainfrom
ctx-1497/fix-registry-gate
Oct 24, 2026
Merged

Xuepoo merged 2 commits into
mainfrom
ctx-1497/fix-registry-gate

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Priority: P2 | Area: build | Labels: fix,P2,area:build | Milestone: v0.0.28 | RFC: n/a | Task: CTX-1497

just check failed in any checkout without a sibling bitty-plugins clone because catalog-check was in the default aggregate. This makes the default gate registry-free again:

  • just check keeps the hermetic catalog-test only; catalog-check moves to the new strict just check-registry.
  • CI keeps the strict official-catalog drift check on the pinned external/bitty-plugins checkout.
  • An explicit --registry or BITTY_PLUGINS_DIR is now authoritative and fails instead of silently falling back to another tree.
  • CONTRIBUTING.md documents the optional registry prerequisite and the strict recipe.
  • Hermetic generator tests cover explicit-registry resolution and the no-registry message.

Verification:

  • python3 scripts/tests/test_generate_official_catalog.py — 4 passed
  • just --show check contains no catalog-check
  • markdownlint-cli2 --no-globs CONTRIBUTING.md — 0 issues
  • actionlint .github/workflows/ci.yml — clean

Closes #2459.

@Xuepoo Xuepoo added this to the v0.0.28 milestone Oct 24, 2026
@Xuepoo Xuepoo added fix Bug fix area:package Area: package lifecycle P2 Priority: medium labels Oct 24, 2026
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 510572be-180a-4017-971f-14e3cb4d9572
Commits

Reviewing files that changed from the base of the PR and between d9e4c9f and f59aa95.

Files selected for processing: 5
  • .github/workflows/ci.yml
  • CONTRIBUTING.md
  • justfile
  • scripts/generate-official-catalog.py
  • scripts/tests/test_generate_official_catalog.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Xuepoo Xuepoo 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.

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:

  1. The regression is real and the fix matches it: catalog-check sat in the default just check aggregate, so any checkout without a sibling bitty-plugins clone failed the
    default gate — the reported symptom matches issue #2459.
  2. The gate split is conservative: just check keeps the hermetic catalog-test, while the
    strict official-catalog drift check becomes opt-in (just check-registry) and stays in CI
    against the pinned external/bitty-plugins checkout. Nothing loses coverage in CI.
  3. Fail-closed direction is right: an explicit --registry / BITTY_PLUGINS_DIR is
    authoritative and errors instead of silently falling back to another tree — that removes
    the class of "green because it tested a different catalog" defects.
  4. Hermetic generator tests cover explicit-registry resolution and the no-registry message;
    the author's local evidence (python3 scripts/tests/test_generate_official_catalog.py 4
    passed, just --show check free of catalog-check, markdownlint-cli2 0 issues,
    actionlint clean) is consistent with the green gates.
  5. No hardcoded host paths/usernames/ports added; no let-chains.

Verdict: merge-eligible on this evidence (CI + diff scope + fail-closed reasoning).

@Xuepoo
Xuepoo merged commit 8bf24ea into main Oct 24, 2026
20 checks passed
@Xuepoo
Xuepoo deleted the ctx-1497/fix-registry-gate branch October 24, 2026 07:21
@Xuepoo Xuepoo mentioned this pull request Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:package Area: package lifecycle fix Bug fix P2 Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

just check hard-requires a sibling bitty-plugins checkout after catalog-check (#2456)

1 participant