Skip to content

Make menubar Refresh Now reset stale state#311

Merged
AgentSeal merged 3 commits into
mainfrom
fix/menubar-manual-refresh-reset
May 11, 2026
Merged

Make menubar Refresh Now reset stale state#311
AgentSeal merged 3 commits into
mainfrom
fix/menubar-manual-refresh-reset

Conversation

@AgentSeal
Copy link
Copy Markdown
Collaborator

@AgentSeal AgentSeal commented May 11, 2026

Summary

  • make the context-menu Refresh Now action cancel prior manual, force, and loop refresh tasks
  • clear stale loading, in-flight, error, attempted, and cached payload state before starting a foreground refresh
  • refresh the visible payload and today total, then restart the background loop
  • cancel manual refresh work on sleep so stale manual tasks cannot resume after wake
  • refresh live Claude/Codex quota progress during forced refreshes and when the popover opens after the quota data is older than 30 seconds
  • package menubar zips without AppleDouble resource-fork files and extract installs with ditto so the app bundle seal remains valid

Tests

  • swift test
  • npm test -- menubar-installer
  • npx tsup

@AgentSeal AgentSeal merged commit cd8c646 into main May 11, 2026
3 checks passed
@AgentSeal AgentSeal deleted the fix/menubar-manual-refresh-reset branch May 11, 2026 18:13
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.

2 participants