Reduce hosted chart submenu stalls - #1384
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 10, 2026, 6:10 AM ET / 10:10 UTC. Summary Reproducibility: no. live reproduction was performed in this read-only review. Source inspection confirms the current-main duplicate hydration/height refresh, unconditional hosted-submenu rebuild, and body-time model recomputation paths described by the linked issue. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this PR after normal maintainer and CI validation if the focused tests pass, then let it close the linked issue at #1379. Do we have a high-confidence way to reproduce the issue? No live reproduction was performed in this read-only review. Source inspection confirms the current-main duplicate hydration/height refresh, unconditional hosted-submenu rebuild, and body-time model recomputation paths described by the linked issue. Is this the best way to solve the issue? Yes. The PR targets the hot paths with hosted-view signatures and chart model precomputation while adding focused state-seam tests, which is narrower than broad AppKit or refresh-scheduler rewrites. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against f51db0e892ef. Label changesLabel changes:
Label 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
|
|
Landed as 7c0ed03. Verification:
Caveat: no live provider, browser-cookie, or Keychain probe was run; validation covered the hosted-menu identity/height seams, utilization model selection, formatting/lint, and the full test matrix. |
Summary
Closes #1379.
Validation
swift test --filter StatusMenuHostedSubmenuRefreshTestsswift test --filter PlanUtilizationHistoryChartMenuViewTestsswift test --filter UsageStorePlanUtilizationswift test --filter UsageStorePlanUtilizationClaudeIdentityTestsmake checkswift test— 3,430 tests in 394 suites passedNo live provider, browser-cookie, or Keychain probe was run.