Skip to content

fix: keep a saved Capacity Dock provider across quota refreshes - #1768

Open
Brandin wants to merge 1 commit into
getagentseal:mainfrom
Brandin:fix/dock-resting-provider
Open

Brandin wants to merge 1 commit into
getagentseal:mainfrom
Brandin:fix/dock-resting-provider

Conversation

@Brandin

@Brandin Brandin commented Oct 18, 2026 •

Copy link
Copy Markdown

Summary

The Windows Capacity Dock rewrote its provider list on every quota refresh until a provider switch was flipped. A refresh that saw Cursor and missed Codex saved Cursor as the resting provider. The rail then showed Cursor, so Codex usage disappeared. With one provider left, the rail also looked the same as when Keep expanded was off.

Auto-seed now keeps the saved resting provider and the providers already on the rail. It appends a newly connected provider only when there is a free slot. Choosing a resting provider in settings, or by clicking a ring, latches that choice, so later refreshes leave it alone. The resting menu keeps showing the saved provider while a quota read is missing.

Testing / Verification

  • I have tested this locally against real data (not just unit tests)
  • npm test passes
  • npm run build succeeds
  • Not a UI change
  • UI change: before and after screenshots attached below

The Capacity Dock auto-seed tests passed (8). The desktop tray settings tests passed (21). Desktop typecheck passed. I did not run this against a live dock. The layout is unchanged. The resting menu keeps the saved provider when that provider's quota read misses.

The dock rewrote its provider list on every quota refresh until a provider switch was flipped. A refresh that saw Cursor and missed Codex saved Cursor as the resting provider.

Auto-seed now keeps the saved resting provider and the providers already on the rail. It appends a newly connected provider only when there is a free slot. Choosing a resting provider in settings or by clicking a ring latches that choice, so later refreshes stop rewriting it. The resting menu keeps showing the saved provider while a quota read is missing.
@Brandin
Brandin requested a review from iamtoruk as a code owner October 18, 2026 21:15
@ozymandiashh ozymandiashh added area: capacity-dock The Capacity Dock surface area: desktop The Electron desktop app area: windows The Windows tray app and Windows-specific behaviour bug Something isn't working needs-real-data-proof PR needs screenshot or output proving it works against real data needs-validation PR requires validation against real-world usage before review labels Oct 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: capacity-dock The Capacity Dock surface area: desktop The Electron desktop app area: windows The Windows tray app and Windows-specific behaviour bug Something isn't working needs-real-data-proof PR needs screenshot or output proving it works against real data needs-validation PR requires validation against real-world usage before review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants