orca icon indicating copy to clipboard operation
orca copied to clipboard

[Bug]: Claude status bar shows "⚠ Refresh failed" after updating 1.4.65 → 1.4.68, auto-refresh stops

Open taifunk opened this issue 5 months ago • 4 comments

Summary

After updating from 1.4.65 to 1.4.68, the Claude status bar item in the Orca status line shows "⚠ Refresh failed" and stops auto-refreshing. The usage stats displayed are stale (from before the update) and do not update on their own.

Steps to reproduce

  1. Run Orca 1.4.65 with the Claude status bar item visible in the status line
  2. Apply the automatic update to 1.4.68
  3. Observe the Claude status bar item after Orca relaunches

Expected behavior

Status bar item shows live Claude usage stats and refreshes automatically.

Actual behavior

Status bar displays "⚠ Refresh failed". Stats are frozen at pre-update values. Auto-refresh does not resume. A manual refresh trigger may temporarily resolve the display, but the automatic refresh cadence is broken.

Environment

  • OS: Windows 10
  • Orca version: 1.4.68 (updated from 1.4.65)
  • Agent: Claude

Notes

Issue first appeared immediately after the 1.4.65 → 1.4.68 update. Was not present on 1.4.65. Likely related to the session/daemon restart that occurs during the update — the refresh mechanism may not correctly reinitialize after the process is replaced by the installer.

taifunk avatar Jun 14 '26 12:06 taifunk

Having same, on .48 even OpenAI's having same issue.

mmarabel avatar Jun 14 '26 16:06 mmarabel

Reproduced the reported post-relaunch auto-refresh failure on current main source (1.4.132, commit 6f895eff0a) using the production RateLimitService lifecycle on macOS arm64. (The Windows installer transition itself was not run on this host.)

Steps in the deterministic service test:

  1. Start the service with fetchImmediately: false, matching deferred post-relaunch startup.
  2. Advance to the deferred active-window refresh and return a Claude error (auth restarting), leaving Claude status at error / the UI refresh-failed state.
  3. Make the next Claude result successful.
  4. Emit a focused-window event immediately, which is the automatic recovery trigger after relaunch.

Expected: focus performs a second Claude fetch and status becomes ok.

Actual: the assertion fails because fetchClaudeRateLimits is still called only once; status cannot recover and remains on the failed result until a later/manual refresh.

Repeatability: deterministic 1/1 targeted run (1 failed, 41 unrelated tests skipped). The throwaway regression case was removed after capture and the worktree restored; no attachment or reporter-provided code was opened or run.

nwparker avatar Jul 10 '26 09:07 nwparker

I can reproduce what appears to be the same post-relaunch auto-refresh failure on native Windows.

Environment:

  • Orca version: 1.4.131
  • OS: Windows
  • Claude runtime: Native Windows / System Default
  • WSL: Not used

Steps to reproduce:

  1. Start Orca with Claude already authenticated.
  2. Close and reopen Orca, or restart Windows.
  3. The Claude usage/status indicator in the bottom panel remains stuck in the login/refreshing or refresh-failed state.
  4. Click the manual refresh button.

Expected: The Claude status should automatically retry and recover after Orca relaunches.

Actual: The status does not recover automatically, but clicking the manual refresh button immediately restores the usage display.

Claude itself remains authenticated and usable, so this appears to be a status-panel initialization or automatic retry issue rather than an actual Claude logout.

This seems consistent with the deterministic RateLimitService reproduction described above, especially the case where the first deferred refresh fails and no automatic recovery fetch is triggered afterward.

objectid11 avatar Jul 11 '26 03:07 objectid11

will be in next release, usually within 24 hours

nwparker avatar Jul 11 '26 11:07 nwparker