Skip to content

Fix Windows build artifact finalization#1540

Open
McGluut wants to merge 1 commit into
garrytan:mainfrom
McGluut:codex/fix-windows-bun-build-script
Open

Fix Windows build artifact finalization#1540
McGluut wants to merge 1 commit into
garrytan:mainfrom
McGluut:codex/fix-windows-bun-build-script

Conversation

@McGluut
Copy link
Copy Markdown

@McGluut McGluut commented May 16, 2026

Summary

This PR moves the build artifact finalization out of shell subshells and into a small Bun script.

Changes:

  • write the .version files from scripts/finalize-build-artifacts.ts
  • mark built executables from that script when they exist
  • remove root .bun-build temp artifacts without package-script shell syntax
  • make the build stop if xterm vendoring or skill-doc generation fails
  • add a focused test for the finalizer

This should address #1537 and #1538.

Validation

  • bun install --frozen-lockfile
  • bun run build
  • bun test test/finalize-build-artifacts.test.ts
  • git diff --check

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