fix(storage): preserve pending state during lifecycle resets by antonreshetov · Pull Request #884 · massCodeIO/massCode · GitHub
Skip to content

fix(storage): preserve pending state during lifecycle resets - #884

Merged
antonreshetov merged 1 commit into
mainfrom
fix/state-writer-lifecycle
Jul 23, 2026
Merged

fix(storage): preserve pending state during lifecycle resets#884
antonreshetov merged 1 commit into
mainfrom
fix/state-writer-lifecycle

Conversation

@antonreshetov

Copy link
Copy Markdown
Member

Summary

  • prevent runtime resets and app shutdown from discarding pending state writes
  • retry state writes after I/O failures while preserving one timer per path
  • cancel quit and keep the window alive when state cannot be safely flushed
  • add focused writer, watcher, runtime reset, and main lifecycle coverage

@antonreshetov antonreshetov self-assigned this Jul 23, 2026
@antonreshetov
antonreshetov merged commit f4faa6c into main Jul 23, 2026
@antonreshetov
antonreshetov deleted the fix/state-writer-lifecycle branch July 23, 2026 13:20
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