Files
plane/apps/runners/node-runner/tests
c59297ec6c [SILO-1133] fix(runner): switch build from tsc to tsdown to fix ESM bundling (#6454)
* fix(runner): switch build from tsc to tsdown to fix ESM bundling

tsc compiled to CommonJS which could not require() the ESM-only
@sveltejs/acorn-typescript package, causing the TypeScript code
validator to silently fall back to plain acorn and reject all
TypeScript syntax in production.

- Switch build script from tsc to tsdown (matches every other package)
- Add code-validator as a second tsdown entry for testability
- Add smoke-production.mjs that tests the compiled build output
- Run smoke test in Dockerfile.test after build to catch bundling regressions
- Fix Dockerfile.runner CMD to use .mjs extension matching tsdown output

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* modify run cmd ion Dockerfile fips

---------

Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Saurabhkmr98 <[email protected]>
2026-03-26 19:24:34 +05:30
..