fix(release): listed worker --compile entrypoints in CI release script
- Added stats sync, browser tab, and JS eval workers as explicit --compile entrypoints in scripts/ci-release-build-binaries.ts so Bun emits them into bunfs in published binaries, matching the dev build script and the AGENTS.md worker spawn contract. - Switched the release-binary smoke step in .github/workflows/ci.yml to invoke --smoke-test (in addition to --version) so this regression cannot ship again. - Added packages/coding-agent/test/issue-1150-repro.test.ts pinning the symmetric contract: both build scripts must list every worker entry. Fixes #1150
This commit is contained in:
@@ -288,6 +288,7 @@ jobs:
|
||||
run: |
|
||||
runtime_dir="$(mktemp -d)"
|
||||
HOME="$runtime_dir/home" XDG_DATA_HOME="$runtime_dir/xdg" "${{ matrix.binary_path }}" --version
|
||||
HOME="$runtime_dir/home" XDG_DATA_HOME="$runtime_dir/xdg" "${{ matrix.binary_path }}" --smoke-test
|
||||
- name: Smoke release binary (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: pwsh
|
||||
@@ -297,6 +298,7 @@ jobs:
|
||||
$env:HOME = Join-Path $runtimeDir "home"
|
||||
$env:XDG_DATA_HOME = Join-Path $runtimeDir "xdg"
|
||||
& "${{ matrix.binary_path }}" --version
|
||||
& "${{ matrix.binary_path }}" --smoke-test
|
||||
- name: Upload release binary artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user