Skip to content

Pin the build date in offline Lua hot reload replay - #1622

Merged
Frotty merged 1 commit into
masterfrom
codex/hotreload-replay-fixed-clock
Nov 7, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/hotreload-replay-fixed-clock

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Offline replays could fail when the fresh and retained builds crossed a wall-clock minute. Zombie Defense emitted different getBuildDate() literals and consequently different ABI hashes. The replay now supplies one timestamp to the compiler for the entire campaign and records it in each result. Use -PprofileBuildDate=2001-02-03T04:05 to repeat with a specific local timestamp. The oracle still compares the complete Lua and manifests.

The native regression failed against the old wall-clock behavior. All 302 focused compile-time and hot reload tests passed offline on Windows with stock Lua. The pinned Zombie Defense ad0e118 replay emitted the supplied date, matched fresh Lua and its manifest, and produced a 75,802-byte preload with no warnings. Git also merged this branch with the open replay selector change without conflicts.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T23:07:33.789000Z edbf66f 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 2d51d8b into master Nov 7, 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