Skip to content

Select the exact project map script for build and hot reload - #1623

Merged
Frotty merged 1 commit into
masterfrom
codex/hotreload-exact-map-script
Nov 7, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/hotreload-exact-map-script

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Map builds and Lua hot reload could pick the first model file whose path ended in war3map.j. With wurst/backup-war3map.j or wurst/backup/war3map.j in the model, the configured script could replace a backup and leave two main functions in the map compilation. The compiler now uses the canonical wurst/war3map.j path for replacement and selection. It loads the configured script there even if the editor model has yet to see the project file.

The offline regression covers build and run on both Lua and Jass, checks that the backup model units survive, and exercises a missing map-script unit. All 73 focused Windows tests passed. The Castle Fight 2b7e0acb source replay matched fresh Lua and the manifest exactly and produced an 849,725-byte preload with 22 state warnings. Git diff checks passed.

@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:39:02.890708Z da2a578 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 a310175 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