Skip to content

Add opt-in object-data export for World Editor - #1464

Merged
Frotty merged 1 commit into
masterfrom
codex/export-world-editor-objects
Oct 15, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/export-world-editor-objects

Conversation

@Frotty

@Frotty Frotty commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Restore an explicit way to export combined input-map and compiletime object data for World Editor placement. -exportw3o enables the existing .w3o writer without adding export cost to ordinary builds; the export also runs when object-file writeback is skipped by the cache.

The new wurst.exportw3o language-server command runs development compiletime generation, skips runtime script emission and release-map packaging, and returns _build/wurstCreatedObjects.w3o for the VS Code command to reveal. Export failures report diagnostics, including unreadable input object files.

Custom objects retain the wurs = 42 marker and can be imported into a new input map before regeneration under stable rawcodes. Base-object overrides remain untagged: deleting a tagged original-object entry would also discard editor-authored fields merged into it. The workflow and limitation are documented.

Validation: 68 focused tests passed across CompiletimeNativesTest, MapModelReuseTests, and WurstCommandsTests; the final export publication regression also passed after strengthening its output assertions. Coverage includes Jass/Lua generation, unchanged input maps, opt-in/cache-hit export, combined map objects, tagged-object cleanup, and bypassing release packaging. World Editor itself was not launched.

Companion VS Code extension PR: wurstscript/wurst4vscode#161.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 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-15T07:29:00.083717Z 856d282 Manual request
ℹ️ 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 commented Oct 15, 2026 •

Copy link
Copy Markdown
Member Author

Companion extension command: wurstscript/wurst4vscode#161

@Frotty

Frotty commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 856d28202c

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Frotty
Frotty merged commit 012ecab into master Oct 15, 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