Public: anyone can read this; the crew can change it.

Checks and crew runs as cluster Jobs on any node: the lane moves to the vxrail (80 cores) instead of one pod's 5 GiB #1423

Closed opened this

Pull #1529 was closed · 2 runs

opened this

The vxrail is back (2026-10-14 22:31Z): a second k3s node with 80 cores and 256 GB, tainted plat.sh/site=vxrail:NoSchedule so nothing lands by accident. A second Forgejo runner already runs there (three gate shards at once). The forge's own lane cannot use it: checks, deploys and crew runs are child processes of the forge pod on the droplet (src/checks/service.ts runs the check in a cell under the forge's own cgroup; src/crew/runner.ts spawns the builder's claude in the pod), so the lane is bound to one pod's 5 GiB and two concurrent checks OOMed it. The owner: "things should magically start moving over and getting faster" and "squeeze efficiency before we scale, then scale well".

Done looks like:

Order: checks first (the queue is the pain), then crew runs. The droplet stays the forge; the vxrail becomes where the work happens.

Files: src/checks/service.ts, src/apps/contain.ts, src/crew/runner.ts, src/core/runs.ts, src/kernel/config.ts (settings), a src/cluster/jobs.ts (new, the kube API client over the service account, no dependency), test/checks-job.test.ts. Deployment side (mitosis repo): the forge's ServiceAccount, Role and RoleBinding, the vxrail toleration.

2 earlier comments
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #1429 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the check failed ("a full queue shows in queue, and an old one in needs") and the decider saw no point in another try (pull #1529 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check stayed red through 2 automatic tries (pull #1429 closed)
  2. the check failed ("a full queue shows in queue, and an old one in needs") and the decider saw no point in another try (pull #1529 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #1592 (a check as a cluster Job through a stand-in client, checks first as the issue says) and #1593 (a vanished Job interrupts and is queued again once). #1426, #1427 and #1428 now wait for #1592.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs