Repository navigation
feat: a red ceiling arrow marks every task waiting for the usage limit - #877
Merged
Merged
Conversation
Only a session stopped by the real usage limit showed a mark of its own (a grey clock). A session stopped at the 85% reserve, a task held until the limits are back, and a start or resume the usage pace held back all looked idle, and on the bar, where a line has no status text, nothing told them apart from a finished turn. InboxMarks.WaitsForLimit now covers all of them, read from Deskbar's own status lines; UsagePace.IsUsageReason tells a usage reason on a "Waits to" line from the cap's, the busy machine's and the reload spread's. The "Waits to" half is read only while Deskbar reads Claude's activity, as "Waiting for a slot" already was. The mark is a new "ceiling" icon in the usage line's red, and the section is captioned "Usage limit". Task ff885580. *opus5.5*
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.
Deskbar task ff885580
Sessions waiting for the usage limit now get a mark of their own: a red arrow pointing up against a ceiling, on the panel's Inbox, on the bar's lines and on a parent page's subtask tiles. The sign and the colour are the owner's picks from the limit signs mockup ("Arrow against a ceiling", "but of a different color").
Before, only a session that Anthropic's limit had stopped showed the clock. A session stopped at the 85% reserve, a task held until the limits are back, and a start or resume that the usage pace held back all showed the pause sign under Idle, the same as a session that had just finished a turn. On the bar a line has no status text, so the bar gave no sign at all.
What changed:
InboxMarks.WaitsForLimitreplacesStoppedOnLimitand covers every usage wait: the limit line,ReserveStop.StoppedForLimits(the reserve stop and the hold until the limits are back),ReserveStop.CarryOnLine, and "Waits to start/resume" lines whose reason is a usage reason. The newUsagePace.IsUsageReasondecides that, and a Core test checks it against every mode'sQueuedReasonwords.KnowsClaudeActivity.InboxLook.UsageRed, the red the usage line turns from 85%. The section is now captioned "Usage limit", "carries on when the usage allows".MarkOfasks about the limit before it gives a note's mark, so a start held back on a task with no session yet shows the arrow too.Left as they were: the page's fallback mark for a subtask opened from its parent (
TasksWindow.MarkOfRow) still has no limit case, as before this change. And a session that works again keeps the arrow until the next reserve poll takes its line back (up to 15 s), as the limit line already did.Tests: Release build with
-warnaserroris clean.Deskbar.Core.Testsand the hidden-desktop run ofTasksBoardTests,FloatingBarTaskList,ChatStepIconsandInboxTabspass. A review subagent read the diff, and its one finding (the "Waits to" gate) is fixed here.Release notes
opus5.5