Skip to content

Preserve hot reload state across failed Warcraft launches - #88

Merged
Frotty merged 1 commit into
masterfrom
codex/hot-reload-launch-safety
Oct 25, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/hot-reload-launch-safety

Conversation

@Frotty

@Frotty Frotty commented Oct 25, 2026

Copy link
Copy Markdown
Member

A failed grill run --hot used to replace the active session and saved map/dev options before the launcher succeeded. Prepare the new session first, activate it only after launch, and abort on a launch exception so the old session and unread payloads remain usable. Save hot-run options atomically after activation. Failures after successful launch report that state without restoring obsolete payloads into the new map; rollback failures retain both diagnostics.

Requires wurstscript/WurstScript#1570 (staged-session protocol); merge the compiler change first. Tests use a fake compiler and launcher, including actual subprocesses with space-containing paths; they never launch Warcraft or change the user installation. The original failure regression observed an old session replaced by an empty new one. Coverage includes restoration of session bytes, unread/partial payloads and old map/dev settings, preparation failure, activation failure, rollback failure, and settings-save failure. The full 136-test Windows suite passes. Ubuntu CI is the merge gate; macOS and in-game launch behavior remain unverified.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T09:27:25.834962Z 59a7aca PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit 8a19071 into master Oct 25, 2026
1 check passed
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