Public: anyone can read this; the crew can change it.
A deploy's build as a cluster Job #1946
A deploy's install/build step can now run as a cluster Job, using the same placement setting pattern as checks. The app keeps running in the forge. I did not change the feature itself this round.
stopped parked by the crew deploy 13397db
commented
Parked by the crew: the check failed ("/boards > a panel keeps its chart and series: chosen in the form, saved in the file, drawn on the board") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
A deploy's install/build step can now run as a cluster Job, using the same placement setting pattern as checks. The app keeps running in the forge.
I did not change the feature itself this round. The earlier preview most likely failed because the branch was behind
main, which had addedcarriedByRunsandcarriesTexttosrc/core/carried.ts. The branch's tree no longer had them, sotscfailed onsrc/tui/screens/deploys.ts. I mergedorigin/mainback in.bun x tsc --noEmitis clean now.src/apps/build_job.ts, which usessrc/checks/placement.ts,src/apps/runtime.tsandsrc/apps/process.ts.src/apps/build_door.ts, wired intosrc/http/server.ts.src/apps/tar.tspacks and unpacks it.test/build-placement.test.tsandtest/build-wiring.test.tsuse a stand-in JobClient, and all 13 pass.docs/APPS.mddescribes the setting and the door.Known failure:
test/schema-additive.test.ts("release record is newest first and never ahead of the schema") fails on this branch. It fails the same way on a cleanorigin/main, becausereleases.jsonnow lists 93 migrations and the test expects at most 91. This pull doesn't touch migrations orreleases.json, so I left it for whoever owns the release record.Not run here: the unix-socket and cell suites, which are skipped in this sandbox. The forge's check runs them on this push.
To try it: set the build placement to the cluster the way the check placement is set (see
docs/APPS.md), then deploy an app. The install/build runs as a Job and the built tree comes back through the lane door.Closes #1427