Repository navigation
acpmux tests: usage_stats expects the default 400K autocompact cap (base red from #31936) - #32310
teamleaderleo wants to merge 1 commit into
Conversation
…ase red from #31936) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-fbe0da5ff5fd5f3e6eba
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
|
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (subagent claude-opus-5-5 medium): SHIP at cc98c2d
Review (subagent claude-opus-5-5 medium): SHIP at cc98c2d
Visual verdict: unchanged by this diff (no UI).
The new expectation is deterministic. claude_setup uses an empty CLAUDE_CONFIG_DIR, so claude_autocompact_unset is true and the default 400K window from #31936 is both what the session starts with and what is reported. The test still checks that the reported value matches what the daemon started.
Follow-ups: the test reads the runner env (CLAUDE_CODE_AUTO_COMPACT_WINDOW) too; autocompact() ignores project .claude/settings while claude_autocompact_unset honours them (usage_stats.rs ~L883, already on base).
Base-red-job: cmux-tui spec inventory / acpmux tests (lib, hub_integration)
fork_through::usage_stats::the_session_list_and_info_carry_what_the_chats_transcript_saysfails on feat-cmux-next withleft: "capped",right: "none"(usage_stats.rs:32). #31936 made acpmux start a Claude session whose Claude home sets no window withCLAUDE_CODE_AUTO_COMPACT_WINDOW=400000(harness_limits::CLAUDE_AUTOCOMPACT_WINDOW). This test still expected the old uncapped state. It now expectscappedandautocompactCap: 400000. Only the test changes.🤖 Generated with Claude Code
Agent session: agent session
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Updates the acpmux usage_stats integration test to match the new default 400K autocompact cap introduced in #31936.
autocompactto be"none"andautocompactCapto be null, which no longer holds since acpmux now starts Claude sessions with a default 400K window (CLAUDE_CODE_AUTO_COMPACT_WINDOW=400000)."capped"andautocompactCap: 400000. Only test expectations changed.Written for commit cc98c2d. Summary will update on new commits.