Skip to content

Commit 93ea312

Browse files
committed
fix(build): keep custom index status visible
1 parent 33a2ae6 commit 93ea312

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.agents/docs/2026-05-30-bmi-cache-custom-index-fix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ There is also a cache-key correctness gap: all dependency cache entries currentl
8080
- Implemented regression as `tests/e2e/49_bmi_cache_nested_custom_index.sh` because the defect is in CLI dependency resolution plus build-plan artifact collection, not only the lower-level cache copy functions.
8181
- Local verification: `mcpp build` succeeded, then `MCPP=target/x86_64-linux-gnu/4d24c8b57fdbbbb4/bin/mcpp bash tests/e2e/49_bmi_cache_nested_custom_index.sh` returned `OK`.
8282
- `mcpp test -- --gtest_filter=BmiCache.*` initially exposed an unrelated local environment issue: `~/.mcpp/registry/data/xpkgs/xim-x-binutils/2.42` only had `.xpkg.lua` and no `bin/as`. Re-running with a temporary `MCPP_HOME` pointed at the complete installed mcpp registry passed: 15 test binaries ok, 0 failed.
83-
- Remote custom-index first-use sync now calls `update_index(..., quiet=true)` so `mcpp build` does not expose xlings update output. A non-zero update exits with a concise mcpp-level error.
83+
- Remote custom-index first-use sync keeps the mcpp-level `Fetching custom index repos (first use)` status, but calls `update_index(..., quiet=true)` so `mcpp build` does not expose xlings update output. A non-zero update exits with a concise mcpp-level error.

src/cli.cppm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,7 @@ prepare_build(bool print_fingerprint,
13961396
break;
13971397
}
13981398
if (needsRemoteUpdate) {
1399+
mcpp::ui::status("Fetching", "custom index repos (first use)");
13991400
auto projEnv = mcpp::config::make_project_xlings_env(**cfg2, *root);
14001401
int rc = mcpp::xlings::update_index(projEnv, /*quiet=*/true);
14011402
if (rc != 0) {

0 commit comments

Comments
 (0)