Repository navigation
test: pin which terminal tabs get an agent mark after #14062 - #14177
Merged
Merged
Conversation
#14062 left three gaps in TerminalTabIconRegressionTests: - it deleted the test for #13299's rule that a title which merely looks like an agent command gets no mark; restore it against current behavior and drop the now-unused TerminalTabAgentIconResolver titleStatusKey(from:); - the quit-to-shell test could pass without a mark ever being applied; assert the resumed agent marks the tab before it quits; - restored tabs that have not resumed yet (awaiting auto-resume, manual resume available) now show no mark; pin that. Also remove the known-failure entry for the deleted activeAgentKeepsReleaseTerminalIcon(statusKey:). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedNext included review available in 11 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
rustybret
pushed a commit
to rustybret/bmux
that referenced
this pull request
Sep 24, 2026
ff6c6dc ci: stop restoring an iOS GhosttyKit cache nothing saves (manaflow-ai#14189) 2827231 ci: seed DerivedData on the 12 vCPU macOS 26 pool (manaflow-ai#14188) ae46aa9 Let Computer Use toggles save past unrelated cmux.json issues (manaflow-ai#14183) a785270 test: fail loudly when portal rendering authority denies a fixture's tab id (manaflow-ai#13937) 9a1dea0 test: pin which terminal tabs get an agent mark after manaflow-ai#14062 (manaflow-ai#14177) 91bcb28 test: run the change-area tests in parallel workers (manaflow-ai#14193) 6d203e8 test: await the geometry publish in the equalize-splits shortcut case (manaflow-ai#13916) 48f1adf ci: balance the guard legs the macOS gate waits on (manaflow-ai#14186) 38117cd test: settle the split's reparent-focus suppression before focus feedback (manaflow-ai#14049) a12a0b8 ci: neutralize Swift sources without a per-character loop (manaflow-ai#14169) 2b6ca4c ci: stop counting queue time on cancelled jobs as runner minutes (manaflow-ai#14187) 2837f22 test: stop gating terminal focus on key status the app host cannot grant (manaflow-ai#13948) 23c0ce2 test: give each detect-step run its own cmux-ci scratch files (manaflow-ai#14185) a13ea28 ci: skip Mac lanes that bundled scripts and guard-only lints cannot fail (manaflow-ai#14179) b59f34f ci: restore Swift packages and a compilation cache for iOS uploads (manaflow-ai#14180) bcca243 profiling: poll child processes every 0.1 s instead of every second (manaflow-ai#14170) 76d6176 refactor: move 45 leaf browser files into CmuxBrowser (manaflow-ai#14092) bf13034 test: fail the Desktop drop fast instead of restarting the app host (manaflow-ai#14076) 51d486b ci: start guards and web beside Fast static checks (manaflow-ai#14176) # Conflicts: # .github/workflows/ci-guards.yml # .github/workflows/ci.yml # .github/workflows/ios-appstore-upload.yml # .github/workflows/ios-testflight.yml # .github/workflows/nightly.yml # .github/workflows/seed-derived-data.yml # .github/workflows/test-ios.yml
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.
Follow-up to #14062. No product code changes behavior here; this documents one visible change #14062 made and closes three test gaps it left.
Behavior change from #14062, now pinned. A restored tab shows its agent's mark only while the restored agent command is running (
autoResumeCommandRunningorobservedAgentCommandRunning). So after relaunch, a tab that is still waiting to auto-resume, or that offers a manual resume, looks like a plain terminal until the agent starts. Before #14062 those tabs showed the agent mark from the restored snapshot. The newrestoredAgentThatHasNotResumedGetsNoAgentMark()pins both states.Test gaps in
TerminalTabIconRegressionTests:agentProcessTitleKeepsReleaseTerminalIcon, the only test of feat(tui): adopt Herdr-style agent plugins and journal projections #13299's rule that a title which merely looks like an agent (codex --yolo) gets no mark.agentLookingTitleGetsNoAgentMark()restores it against current behavior.TerminalTabAgentIconResolver.titleStatusKey(from:)had no callers, so it's removed.restoredAgentThatQuitToTheShellLeavesNoAgentMark()could pass without a mark ever being applied. It now asserts the resumed agent marks the tab (AgentIcons/Codex) before it quits.scripts/ci/app-host-known-failures.jsonstill listedactiveAgentKeepsReleaseTerminalIcon(statusKey:), which #14062 deleted; the entry is gone.validate-catalog,catalog-diffagainst main (20 -> 19) andtests/test_ci_app_host_result_accounting.pypass locally.Validation: the new tests are Swift app-host tests; the changed-suites lane runs
TerminalTabIconRegressionTestson this PR. I haven't run them against an inverted assertion.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Follow-up to #14062 that pins a visible behavior change and closes three test gaps in
TerminalTabIconRegressionTests; no product behavior changes.codex --yolo) gets no mark, and removed the now-unusedtitleStatusKey(from:).activeAgentKeepsReleaseTerminalIcon(statusKey:).Written for commit 332bc69. Summary will update on new commits.