Skip to content

Fix autosave persistence and recovery - #4

Merged
johanbeytell1 merged 1 commit into
mainfrom
arena/01a10658-scriptify
Oct 4, 2026
Merged

johanbeytell1 merged 1 commit into
mainfrom
arena/01a10658-scriptify

Conversation

@johanbeytell1

Copy link
Copy Markdown
Member

Summary

  • Make autosaves run on a bounded schedule, retry failed writes, and flush pending changes before the in-app close completes.
  • Keep a recovery copy for pending edits and restore it into the story library after a premature exit.
  • Make desktop story-file writes durable with atomic replacement and filesystem sync, and surface autosave state in the editor.
  • Document the updated autosave and recovery behavior.

Verification

  • Python compilation and JavaScript syntax checks.
  • Python story-storage persistence smoke test.
  • Frontend autosave/reopen integration smoke test.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@johanbeytell1
johanbeytell1 merged commit c004525 into main Oct 4, 2026
@johanbeytell1
johanbeytell1 deleted the arena/01a10658-scriptify branch October 4, 2026 10:09
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.

1 participant