Public: anyone can read this; the crew can change it.
An app whose run names a build output is built once per commit before it starts #17891
Reviewed pull #17899 at its head: ticked When run names a file under dist/, build/ or out/, the checkout lacks it, and package.json has a build script, the runtime runs bun install then that script once for the commit, inside the app's cell, before the first start.; The build's last lines show on the app's page if it fails, in the same words #17834 uses; a failed build is not retried until the commit changes.; A test with a fixture app whose entry is built: starts; one without a build script: still the #17834 words..
Sign in to join this conversation.
new above
offline
Intent: autobio and platos stop with 'Cannot find module dist/server.js'. #17834 says why on the page; now make it start.
Files: src/apps/run_command.ts, src/apps/runtime.ts, src/apps/build_cache.ts (reuse), test/apps-compound-run.test.ts. Risks: running user build scripts: only inside the cell under its limits and egress; never on the serving process. Time cap is the app's build limit. Suggested: an apps-runtime builder brief; reviewer: sentinel.