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
{{ message }}
Repository navigation
Failed thread load dead-ends on 'Select a thread' with no error or retry #82
src/useCoder.ts:552-554 — if threads.get rejects, detail becomes null; ThreadView.tsx:1830-1855 then shows the neutral "Select a thread" empty state with no error and no retry. Re-clicking the same thread is a no-op (selection state unchanged, React bails, the effect doesn't re-run), so the user is stuck until they click away and back.
Fix: surface the load failure as an error state with a retry action; make retry re-run the fetch even for the already-selected thread.
useCoder: threads.get rejection now records detailError; retryDetail() bumps a nonce in the load effect deps so the fetch re-runs for the already-selected thread.
ThreadView: renders "Couldn't load this thread" + the failure message + a Retry button instead of the neutral "Select a thread" state.
Activity
Merge pull request #104 from currentbits/coder/failed-thread-load-dea…
currentbits commentedon Aug 16, 2026
Fixed in aa9749e (already on
main).useCoder:threads.getrejection now recordsdetailError;retryDetail()bumps a nonce in the load effect deps so the fetch re-runs for the already-selected thread.ThreadView: renders "Couldn't load this thread" + the failure message + a Retry button instead of the neutral "Select a thread" state.test/appWiring.test.tsxandtest/threadView.test.tsx(issue Failed thread load dead-ends on 'Select a thread' with no error or retry #82 cases); renderer suite passes 35/35.