Skip to content

fix(workspace): re-drive stuck transcript loads after rehydrate - #301

Merged
Juliusolsson05 merged 1 commit into
mainfrom
fix/reconcile-stuck-transcript-loads
Jun 20, 2026
Merged

Juliusolsson05 merged 1 commit into
mainfrom
fix/reconcile-stuck-transcript-loads

Conversation

@Juliusolsson05

@Juliusolsson05 Juliusolsson05 commented Jun 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • tracks initial transcript loads currently in flight
  • adds a conservative reconciler that re-runs initial history loading for durable Claude/Codex sessions left in a stuck spinner or empty-feed state
  • schedules a few delayed reconciliation passes after workspace rehydrate

Tracking

Fixes #283.
Refs #290.

Why

Issue #283 showed that async initial-history loads can have their terminal ready/error write dropped when rehydrate or id churn rebuilds runtime keys mid-flight. Manual reload works because it re-runs the loader after ids settle. This PR automates that same recovery for durable provider sessions.

Scope note

This is a safety net, separate from the narrower fresh-JSONL tailer race fix in #298. It intentionally skips provisional proxy-header sessions; those are owned by the disconnected-transcript path from #293/#290.

Verification

  • npm run build

@Juliusolsson05
Juliusolsson05 merged commit f0c3f4d into main Jun 20, 2026
@Juliusolsson05
Juliusolsson05 deleted the fix/reconcile-stuck-transcript-loads branch June 20, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: session startup/resume stuck at 'loading transcript' until a manual reload

1 participant