You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The agent reported the Galaxy connection had dropped, while the footer Galaxy indicator stayed green. Both were "right" — they measure different things — but to the user it reads as a contradiction / a broken indicator.
From the session: the agent said "Galaxy access dropped during upload, but I have the paired FASTQs extracted locally; should I run fastp locally now, or do you want to fix/reconnect…" (plus repeated "Not connected"). Meanwhile the footer dot stayed green. A direct check showed usegalaxy.org was actually reachable again (/api/version → HTTP 200), so the drop was a transient mid-upload failure.
Root cause
The footer indicator is a static config check, not a liveness check. refreshGalaxyStatus (app/src/renderer/app.ts:609) sets green purely on:
i.e. "a profile with a URL and a key is configured." It never pings Galaxy and never reacts to runtime call failures, so a dropped/timed-out/401 call can't turn it red. The code already acknowledges this — comment at app.ts:901: "shows 'connected' while the brain rejects the credentials."
So green = configured, not green = reachable + authorized. The agent, by contrast, sees real per-call results.
Proposed fix
Make the indicator reflect actual liveness, with at least three visible states:
Green — connected: a recent lightweight check succeeded (/api/version, or an authed whoami//api/users/current to also validate the key).
Amber — configured but unverified / degraded: a profile+key exist but the last check hasn't succeeded yet, or recent calls are failing intermittently.
Red — unreachable / unauthorized: the liveness check fails (network/timeout) or returns 401/403 (bad/expired key).
Mechanics:
Periodic lightweight ping (e.g. every 30–60 s) of /api/version (reachability) and optionally an authed endpoint (key validity), updating the dot + tooltip ("last checked 12 s ago — OK" / "unreachable" / "key rejected").
Symptom
The agent reported the Galaxy connection had dropped, while the footer Galaxy indicator stayed green. Both were "right" — they measure different things — but to the user it reads as a contradiction / a broken indicator.
From the session: the agent said "Galaxy access dropped during upload, but I have the paired FASTQs extracted locally; should I run fastp locally now, or do you want to fix/reconnect…" (plus repeated "Not connected"). Meanwhile the footer dot stayed green. A direct check showed
usegalaxy.orgwas actually reachable again (/api/version→ HTTP 200), so the drop was a transient mid-upload failure.Root cause
The footer indicator is a static config check, not a liveness check.
refreshGalaxyStatus(app/src/renderer/app.ts:609) sets green purely on:i.e. "a profile with a URL and a key is configured." It never pings Galaxy and never reacts to runtime call failures, so a dropped/timed-out/401 call can't turn it red. The code already acknowledges this — comment at
app.ts:901: "shows 'connected' while the brain rejects the credentials."So green = configured, not green = reachable + authorized. The agent, by contrast, sees real per-call results.
Proposed fix
Make the indicator reflect actual liveness, with at least three visible states:
/api/version, or an authedwhoami//api/users/currentto also validate the key).Mechanics:
/api/version(reachability) and optionally an authed endpoint (key validity), updating the dot + tooltip ("last checked 12 s ago — OK" / "unreachable" / "key rejected").Acceptance criteria
Related
app/src/renderer/app.ts:609(refreshGalaxyStatus) and the:901comment.