Skip to content

Preserve Lua hot reload snapshots across scalar compile-time edits - #1596

Merged
Frotty merged 3 commits into
masterfrom
codex/hotreload-offline
Nov 6, 2026
Merged

Frotty merged 3 commits into
masterfrom
codex/hotreload-offline

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Keep scalar compile-time expressions out of snapshot numbering so an edit preserves existing live object state.
  • Reuse snapshot indexes during payload comparison, refusal checks, and replay. Reject incompatible compiler versions before reading snapshot data.
  • Record the completed slices in the backlog.

Validation

  • 346 focused Windows tests passed across Lua hot reload and compile-time execution.
  • The compiler-only closure and snapshot matrix generated five compatible payloads and refused two unsafe edits without advancing the sequence.
  • Warcraft III and other host platforms were outside this verification pass.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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-11-06T14:19:44.379235Z a0e3713 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 c14f37a into master Nov 6, 2026
2 checks 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