Skip to content

Add weekly statusline cache-check task to running-tend skill - #2211

Merged
max-sixty merged 1 commit into
mainfrom
statusline-cache-misses
Apr 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
statusline-cache-misses

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Captures the wt-perf cache-check workflow as a weekly maintenance task in the running-tend skill, alongside the existing MSRV bump.

The render of wt list statusline --claude-code runs on every Claude Code prompt redraw, so any new in-process cache-miss duplicate there compounds into measurable fseventsd / IPC load — worth catching weekly rather than waiting for someone to notice the macOS daemon pegged at 100% CPU.

Includes the exact RUST_LOG=debug … | grep wt-trace | wt-perf cache-check invocation with a stdin-JSON stub, triage guidance for distinguishing legitimate distinct calls from real cache misses (with the merge_base / worktree_at precedents from PR #2209), and a 29-subprocess clean-tree baseline so a jump above ~32 is visible.

This was written by Claude Code on behalf of @max-sixty

Documents the `wt-perf cache-check` workflow against a real
`wt list statusline --claude-code` trace as a weekly maintenance
item. Includes the exact `RUST_LOG=debug … | grep wt-trace |
wt-perf cache-check` invocation, a stdin-JSON stub, triage
guidance for distinguishing legitimate distinct calls from real
cache misses (with the merge_base / worktree_at precedents from
PR #2209), and a 29-subprocess clean-tree baseline so future
regressions are visible.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit a14fdb4 into main Apr 14, 2026
21 of 22 checks passed
@max-sixty
max-sixty deleted the statusline-cache-misses branch April 14, 2026 01:09
worktrunk-bot added a commit that referenced this pull request Aug 23, 2026
The MSRV bump to 1.97 in this PR fails both nightly jobs that pin their own
toolchain: `rustup override set nightly-2026-03-01` resolves to
1.96.0-nightly, and cargo refuses a workspace whose `rust-version` exceeds the
toolchain, so `minimal-versions` and `check-unused-dependencies` both die with
"rustc 1.96.0-nightly is not supported" before running their checks. It would
follow the merge onto main too -- nightly's push trigger lists `**/Cargo.toml`.

The pin was set in #2636 and never moved; 1.96 was the last MSRV it could
satisfy. Move both to nightly-2026-08-01 (1.99.0-nightly), which clears the
new MSRV with two release cycles of headroom instead of landing on it, and
say so on the line so the constraint isn't rediscovered.

Add the pins to the weekly MSRV file table, which listed only the three
manifests -- the reason nothing caught this before the bump landed.

Also fixes two things in the statusline cache-check the previous commit
touched: `command_count` includes the -vv collector's three calls, against a
baseline measured in #2211 before the recipe used -vv (#3825 switched it
without re-measuring), so it reads ~3 high against a threshold only 3 wide;
and `.git/wt/logs/trace.log` is the gitdir-file path shape this same skill
warns about, since the recipe says to run from any worktree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant