Skip to content

fix(limits): preserve multi-account usage snapshots#24

Merged
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/limits-multi-account-snapshots
May 4, 2026
Merged

fix(limits): preserve multi-account usage snapshots#24
cbusillo merged 1 commit intolocal/cbusillo-overlayfrom
fix/limits-multi-account-snapshots

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented May 4, 2026

Summary

  • propagate backend rate-limit reached classifications through protocol, core, app-server, and history snapshots
  • persist typed usage-limit hints per account so multi-auth account switching only blocks the limited account
  • keep cached /limits snapshots visible while refreshes are due or in flight
  • regenerate app-server protocol schema fixtures for the new rate-limit reached type

Validation

  • cargo test -p code-core typed_usage_limit_snapshot_blocks_only_that_account
  • cargo test -p code-tui limits_overlay_uses_cached_snapshot_while_refresh_due
  • ./build-fast.sh
  • ./pre-release.sh
  • just local-code-rebuild
  • manual /limits smoke confirmed by Chris

@cbusillo cbusillo force-pushed the fix/limits-multi-account-snapshots branch from a4780f5 to fe7eeec Compare May 4, 2026 17:47
@cbusillo cbusillo merged commit 40df593 into local/cbusillo-overlay May 4, 2026
1 check passed
@cbusillo cbusillo deleted the fix/limits-multi-account-snapshots branch May 4, 2026 17:47
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