Repository navigation
[CTX-1923] chore(release): pin the Bar lone-workspace default in the embedded catalog - #3289
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 45 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
beca8af to
6a9b103
Compare
|
Re-pushed as |
Xuepoo
left a comment
There was a problem hiding this comment.
Guard review of PR #3289 @ 6a9b103: fixture bytes now match the pinned Bar revision exactly; diff is data-only, target-dir test run 54/54, all CI buckets pass or skipping.
- PASS — Diff scope:
git diff 16be2eef..6a9b103e --stat= 3 files, 13 insertions / 9 deletions: crates/bitty-plugin-host/src/official_catalog.rs (SOURCE_REVISION + 3 pin/manifest_hash pairs only), crates/bitty-terminal/tests/fixtures/official/bar/bitty-plugin.toml, validation-pins.env. All hunks are catalog data, fixture manifest bytes, or a pin bump; no production logic changed anywhere in the diff. - PASS — Fixture consistency: sha256sum crates/bitty-terminal/tests/fixtures/official/bar/bitty-plugin.toml = bb851e7aa9e5762ab114533a48d0a15d44b2c2acf8fd26613d30e1669cbad512, equal to the catalog manifest_hash for
bitty-terminal.bar(crates/bitty-plugin-host/src/official_catalog.rs:48). Independently cross-checked: the manifest fetched from bitty-terminal/bar @ d26e65c8be6eea5db02a8d2d723a826b48816fac (GitHub contents API) is byte-identical to the fixture with the same sha256 — genuine pinned-revision bytes, not a hand-edited lookalike. The comparing path is real: crates/bitty-terminal/tests/cli_plugin.rs:2590 rejects a tampered manifest (exit 4, "manifest hash mismatch") and :2518 installs the official Bar from this fixture. - PASS — Catalog pin: crates/bitty-plugin-host/src/official_catalog.rs:17 SOURCE_REVISION = 8b608db41dba524a0c30afb771d18c698ad3b1a8, matching validation-pins.env:31 BITTY_PLUGINS_REV; Bar entry official_catalog.rs:44-48 records id bitty-terminal.bar, pin d26e65c8be6eea5db02a8d2d723a826b48816fac, manifest_hash sha256:bb851e7a…; the lone-workspace default ships in the pinned manifest itself (fixture :147
show_single = { type = "bool", default = true }, English comment :118-121). All comments in the touched files are English; no hardcoded host, path, or environment values in any hunk. - PASS — Test evidence: with CARGO_TARGET_DIR=/mnt/data/Workspace/Projects/bitty-terminal/.targets/ctx-1923 (warm, 1.1G), ran
cargo nextest run -p bitty-terminal --test cli_plugin(the filter the re-push note names) → Summary: 54 tests run: 54 passed, 0 skipped. Includes plugin_install_by_official_id_fetches_pin_and_records_registry_source, the official-install Bar test that failed on the prior push. Full test run; no cargo-check fallback needed. - PASS — Commit hygiene: HEAD 6a9b103 subject = "[CTX-1923] chore(release): pin the Bar lone-workspace default in the embedded catalog" — [CTX-1923] prefix present.
- PASS — CI buckets:
gh pr checks 3289shows 18 pass, 3 skipping (CodeRabbit, VM tier (main), VM tier (nightly ARM64)); zero failing or pending buckets (Windows check and test, Quality gates 1/2, MSRV, Linux X11 + Wayland, macOS ARM64, AUR, Supply chain, CodeQL, Analyze, compat matrices, VM tier PR all pass).
Independent review by guard subagent, tick 2026-11-21 13:20 CST, reviewed sha 6a9b103
VERDICT: APPROVE
Priority: P1 | Area: release | Labels: chore,P1,area:release | Milestone: v0.1.0 | RFC: none | Task: CTX-1923
Makes an installed Bar visible on a lone workspace in shipped builds. The plugin default already changed on
bitty-terminal/bar(d26e65c8,show_single = true); the official registry now pins it (bitty-plugins#150, merge8b608db4). This change points Core at that registry commit and regenerates the embedded catalog, sobitty plugin install bitty-terminal.barships the new default.Changes
validation-pins.env:BITTY_PLUGINS_REV78a95def…→8b608db41dba524a0c30afb771d18c698ad3b1a8.crates/bitty-plugin-host/src/official_catalog.rs: regenerated (13 entries,SOURCE_REVISIONupdated).Note on the catalog diff
Three entries move, because the registry advanced after the previous pin:
bitty-terminal.bara00f269d26e65c8(this change's purpose)bitty-featured.devtoolsbadde42a88acd1d6bitty-terminal.file-manager558bf5a238ee03b0The catalog is derived from the registry commit, so the pin cannot carry only the Bar update: those two entries were already merged into registry
mainbefore8b608db4. Both pins and manifest hashes are registry-validated (13 reachability, 13 manifest hash bindings, 0 errors).Verification
generate-official-catalog.py --check --revision 8b608db4…→official catalog: OK (13 entries).--check-pins→official catalog pins: OK.just catalog-test→ 5 tests OK.cargo check -p bitty-plugin-host --offline→ clean.just ci-localnot run for this data-only diff; remote CI covers the same gates.Effect on existing installs
The embedded catalog only affects new installs. A machine already running Bar
0.0.1keeps the old default untilbitty plugin install bitty-terminal.bar --yesis run, or until the user setsshow_single = trueinplugins/bitty-terminal.bar.lua.Summary by CodeRabbit