Fix quota refreshes after provider reordering#2005
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 6:41 AM ET / 10:41 UTC. Summary Reproducibility: yes. Source inspection on current main shows provider reorder goes through setProviderOrder/updateConfig, bumps configRevision, and UsageStore observes configRevision for background work; I did not run live provider validation due repository policy. Review metrics: 2 noteworthy metrics.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this narrow revision split after current-head checks pass, preserving cached UI updates for provider order changes and provider refreshes for data-affecting settings. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection on current main shows provider reorder goes through setProviderOrder/updateConfig, bumps configRevision, and UsageStore observes configRevision for background work; I did not run live provider validation due repository policy. Is this the best way to solve the issue? Yes. The PR uses the narrow maintainable fix: split UI/config projection revisions from background-work revisions while preserving refreshes for provider-affecting config changes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 36470082e509. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
…ider-order-refresh # Conflicts: # CHANGELOG.md
|
Maintainer proof for exact head
Hosted exact-head CI: lint, changes, Linux arm64/x64, security, and all four macOS shards green. |
Summary
Fixes #1994.
Verification
StatusItemControllernotification-relay regression: passmake checkmake test: all 49 shards passExact packaged commit:
5ce335f9.Risk
Low. The change narrows refresh observation only for provider ordering; provider credentials, source, enablement, and externally detected substantive config changes still invalidate background work. Dependencies unchanged.