Play a just-ended run's recording while the recorder still holds it open #362

Merged
nelsong6 merged 2 commits from codex/replay-read-live-recording into main 2026-10-25 01:01:15 -07:00
nelsong6 commented 2026-10-25 00:58:29 -07:00 (Migrated from github.com)

The recorder deliberately keeps a run's events.jsonl open after run end so a death undo can keep appending to it. The replay player read the file with File.ReadLines, which refuses to share with a writer, so Play on the most recent run silently did nothing. The player now reads it with FileShare.ReadWrite; the recorder is unchanged.

The recorder deliberately keeps a run's events.jsonl open after run end so a death undo can keep appending to it. The replay player read the file with File.ReadLines, which refuses to share with a writer, so Play on the most recent run silently did nothing. The player now reads it with FileShare.ReadWrite; the recorder is unchanged.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens!362
No description provided.