Skip to content

Lua hot reload docs: in-game results of the last changes; what reloads, for map authors - #1557

Merged
Frotty merged 1 commit into
masterfrom
lua-hot-reload-docs-ready
Oct 24, 2026
Merged

Frotty merged 1 commit into
masterfrom
lua-hot-reload-docs-ready

Conversation

@Frotty

@Frotty Frotty commented Oct 24, 2026

Copy link
Copy Markdown
Member

Documentation only: the hot reload measurements of the last two days, and what a hot reload now takes, for the people and agents writing maps.

  • docs/LUA_HOT_RELOAD.md, "Measured in the game": a section for the test map's suite with fourteen payloads (68 checks, all passed, on master after Lua hot reload: real edits (constants first read, array literals, new generic specialisations); maps without InitBlizzard #1553 to Lua hot reload: removed closures, classes and callbacks apply with a warning #1556), the four new phases (a constant first read, an array literal, a new generic type argument; a payload of 1,374,082 bytes; an interface added before another's run and a closure appended in a function of another's signature; a removed closure whose object the map stored), and Castle Fight in the game: four payloads from real edits (a function body, two tuned constants, an added @onHotReload function, an undo), each applied 0.5 to 2.5 s after its file was written. "A real project's edits" leaves the list of what was not measured; the status line says fourteen payloads and Castle Fight.
  • agent-docs/WURST_LANGUAGE.md, the paragraph on hot run which agents working on maps read: what reloads now (array literals, constants read for the first time, new type arguments of generic classes, removals with a warning), what still needs a restart (a changed type of a global or field; a closure inserted before others of one interface in one function which have no binding), and how to avoid the latter: append the callback after the others, or bind it to a local, which gives it an identity of its own.

All in-game runs were on the 3.0.1.24371 client, single player.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 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-24T16:32:25.728920Z c9b0e65 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 313458a into master Oct 24, 2026
2 checks passed
@Frotty
Frotty deleted the lua-hot-reload-docs-ready branch November 25, 2026 08:54
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