feat(log): timestamped --verbose output + ScopedTimer for first-init steps (WS5)#153
Merged
Merged
Conversation
Diagnose first-run long hangs: every --verbose line now carries a wall-clock timestamp ([VERBOSE <ts>]), and the one-time bootstrap steps (sandbox layout, patchelf, ninja) are wrapped in a ScopedTimer logging 'start' + 'done (Δ=<ms>ms)'. Logged to ~/.mcpp/log/mcpp.log always (already timestamped) + stderr under --verbose, so a slow step is attributable after the fact. Toolchain install already logs verbose (now timestamped). WS5 of the index/offline-first plan.
Sunrisepeak
added a commit
that referenced
this pull request
Jun 23, 2026
Ships the WS3/WS5/WS6 + manifest work merged for this cycle: - offline-first miss-triggered index refresh + `mcpp index status` (#155) - first-init timestamped --verbose timing logs (#153) - install.sh linux-aarch64 + GitHub→GitCode(CN) mirror fallback (#154) - TOML-native namespaced self-host dep (#156) Bumps mcpp.toml + MCPP_VERSION together (test 01 ties --version to the manifest) and adds the 0.0.61 CHANGELOG entry. The .xlings.json bootstrap pin stays at 0.0.60 until 0.0.61 is published+mirrored+indexed (CI bootstraps from the published version), then bumps in a follow-up.
Sunrisepeak
added a commit
that referenced
this pull request
Jun 23, 2026
Ships the WS3/WS5/WS6 + manifest work merged for this cycle: - offline-first miss-triggered index refresh + `mcpp index status` (#155) - first-init timestamped --verbose timing logs (#153) - install.sh linux-aarch64 + GitHub→GitCode(CN) mirror fallback (#154) - TOML-native namespaced self-host dep (#156) Bumps mcpp.toml + MCPP_VERSION together (test 01 ties --version to the manifest) and adds the 0.0.61 CHANGELOG entry. The .xlings.json bootstrap pin stays at 0.0.60 until 0.0.61 is published+mirrored+indexed (CI bootstraps from the published version), then bumps in a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Diagnose mcpp first-run long hangs.
--verboseline now carries a wall-clock timestamp:[VERBOSE <YYYY-MM-DD HH:MM:SS.mmm>] tag: msg.ScopedTimer→ logs<step>: startand<step>: done (Δ=<ms>ms).~/.mcpp/log/mcpp.log(already timestamped) + stderr under--verbose.Verified:
[VERBOSE 2026-06-23 21:51:43.673] fetcher: resolve: .... ScopedTimers fire on fresh~/.mcpp(the first-run scenario users hit on Termux). Plan:.agents/docs/2026-06-24-offline-first-index-and-mcpp-index-publish.md§4.5.