Skip to content

Preserve nested builder call identities in Lua hot reload - #1614

Merged
Frotty merged 1 commit into
masterfrom
codex/hotreload-nested-builder-sites
Nov 6, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/hotreload-nested-builder-sites

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Lua hot reload now distinguishes an existing builder callback from a newly nested callback passed to the same builder. Repeated enclosing call names previously collapsed into one identity, making an edit to the outer callback plus an insertion inside it look like an ambiguous edit to anonymous siblings.

A stock-Lua regression first reproduced that refusal, then verified that the previously created outer closure executes the new body with its original captures. All 267 focused hot-reload and fuzz tests passed on Windows.

The original Castle Fight commit bd77dc0 now publishes a payload offline and matches a fresh build byte for byte in Lua and manifest. It reports 17 warnings about retained callbacks or startup code. The replay verifies payload acceptance, and the focused Lua test verifies the live closure behavior.

@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-06T20:48:15.536090Z 792efe1 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 8019cfe 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