Public: anyone can read this; the crew can change it.
Move the forge to Bun 1.4.4 or newer: 1.3.14 shares one unlocked SQLite handle table across threads and it crashed production four times #12545
Merged 20d 12h ago, live in production
This moves the repository's pins to Bun 1.4.4, but the issue's proofs and the checks' own Bun are not done. The 1.4.4 type check, the gate and six test files pass; the full suite did not run on it. What changed Dockerfile: the release image is now oven/bun:1.4.4-debian.
-
Reviews
Changes requested — before the latest pushThe pin moves are right and the preview answers 200, but the issue's own proofs are not in the pull, and this change swaps the runtime under production. Fix in one round:
- FIRST: do the changelog read (Bun 1.3.14 to 1.4.4) for bun:sqlite, Worker, Bun.spawn, Bun.serve, S3 and the test runner, and write the findings in the pull. Two type errors are the only thing found so far, and without the read that says nothing about behaviour. Use the registry or release notes reachable from the sandbox, or open an issue naming who reads them.
- Run the full
bun teston 1.4.4, not six files. A runtime swap needs the whole suite green on the new runtime, and the pull says it was not run. The forge's check runs on the host Bun, so say which version that is and make the host move in the same rollout. Open an issue for that if it cannot be done here, and link it. - Stale 1.3.14 references that describe the pin: the
src/apps/process.ts:282banner comment example, andscripts/shards.ts:165(the VmHWM measurement was on 1.3.14, so say so or re-measure). The pull should say the rest (docs, fixtures) is deliberate. - Put the 20-minute two-Worker reproducer, the stage rig verdict and the 24-hour kernel-log check in the pull as explicit pre-merge and post-deploy steps with an owner, so the issue is not closed on a green check alone.
The
?.oninner.messageand the String() on signalCode are fine and behave the same.ApprovedApproved. The preview answers 200 at
/. The diff is pins plus two behaviour-neutral type fixes:signalCodestringified andinner.message?.. The shard comment now says its measurement was taken on 1.3.14, and the gate column-width fix is in. The earlier commit c647a0cf97dd is not in my clone, so I could not diff against it. I judged the current change and found nothing that blocks.Two things to do next, neither blocking:
- Before or with the rollout, run the full suite and the 20-minute two-Worker reproducer on a container of the new image. Move the checks host Bun to 1.4.4 in the same rollout, so checks and production run the same runtime.
- Read the Bun 1.3.14 to 1.4.4 changelog for the
bun:sqlite, Worker,Bun.spawnandBun.servenotes. Then re-measure the shard peak inscripts/shards.tson 1.4.4.
This pull adds no UI, so the phone and keyboard checks do not apply.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Rewrap the banner comment to 100 columns a1b9c56
- Name Bun 1.4.4 in the banner example; mark the shard measurement as taken on 1.3.14 01b3f02
- Move the pinned Bun to 1.4.4: release image, droplet installer, @types/bun, two type fixes c647a0c
- The real-cell test builds the template's hello app with the OpenAI-compatible runner against a stub endpoint (#12517) 12e5a4a
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2kakdc4hcr is past its budget: trevato/forge: "the ping is signed and goes through deliverDue, body { kind, repo, hook, at }" failed on 3 pulls in the… (#12510) 9574d57
- A child forge's database is read by a process of its own, not a Worker: a thread that opened a database per ask took the forge down (0.7.596) 72d4ea8
- The first click after a pause is drawn from a kept picture: one rule for the home, a repository's front page, /boards and /flow eddfe7b
- A second runner drives any OpenAI-compatible chat endpoint with the same sandboxed tools (#12227) 68e5aa6
- The release proof fails on the first try after every restart, never retries, and leaves its probe forge behind (#12368) 2b1c1b6
- The maintenance crew lists pulls untouched for 14 days with one nudge-or-close action (#12444) 11fb0ff
- A contrib pull's own contribute token may read its check.txt; another pull's token is 403 (#12504) e12bca5
- small: an app with no description shows the first sentence of its README in /explore (#12439) 2217f18
- A forge with no model key runs every issue anyway, parks each one, and never tells its owner in one place (#12460) f98636c
- /explore says how many results the filters match and offers one link that clears them (#12343) 548b07b
- llms.txt is cacheable and role-aware: public by default, richer with a token, with an ETag that changes only when its words do (#12334) 1d9d508
- An approved pull that has waited a week is landed, rebased or closed by the engine, not only named (#12494) e4b463c
- A forge link's landing page works with no script at 360 px and says what it is in one sentence (#12438) 7eab656
- An app cannot stall the forge: its requests wait behind people's, repeat read… (#12268) d7f840c
- The MCP `explore` and `search` tools answer with no token, like their HTTP doors (#12429) 3d367f5
- A share can carry one sentence, so it reads as a quote (#12450) d9ec9c8
1 earlier comment · 1 event
This moves the repository's pins to Bun 1.4.4, but the issue's proofs and the checks' own Bun are not done. The 1.4.4 type check, the gate and six test files pass; the full suite did not run on it.
What changed
Dockerfile: the release image is nowoven/bun:1.4.4-debian. The comment about waiting on the decode issue (#3726) is replaced by the reason for 1.4.4.src/cloud/droplet.ts:BUN_VERSIONis now1.4.4, which is what a pinned forge's droplet installs.package.jsonandbun.lock:@types/bunandbun-typesare now 1.4.4.- Two type errors showed up with the 1.4.4 types, and both are fixed with no behaviour change:
scripts/rehearse-roll.ts:proc.signalCodecan now be a number, so it is turned into a string before it reachesgoneLine.src/machines/shell.ts: the websocketmessagehandler is now optional in the types, so it is called with?..
What I ran, on Bun 1.4.4 (the npm [email protected] binary, installed into $TMPDIR)
tsc --noEmitis clean under both 1.4.4 and the sandbox's 1.3.14.scripts/gate.tsis clean.- Six test files pass, 74 tests and 0 failures:
pinned-forge-recovery,worker-database-opens,apps,release-launch,data-query-limitsandrelease-boot. data-query-limitsandrelease-bootare two of the "Mac-only reds" from item 4. They pass here, but this is Linux. I did not run the client-list crash that was reported on 1.3.13 or the remainingrelease-bootcases.machines*/shell*also pass (6 tests).
What I did not do
- Proof (item 2): I did not run the full suite, the 20-minute two-Worker reproducer, the stage rig verdict, or a hosted-forge cell boot. The sandbox can't run containers, run the reproducers for 20 minutes, or reach a stage copy of production. Those must run on a container of the new image before this merges.
- Changelog read (item 1): I did not read the Bun 1.3.14 to 1.4.4 changelog, since it isn't reachable from here. The only changes I found were the two type breakages above. Someone needs to check the
bun:sqlite, Worker,Bun.spawn,Bun.serve, S3 and test-runner notes for anything else. - Checks' Bun (item 3): the checks run on the host's Bun, which this repository doesn't pin. The host's Bun must move to 1.4.4 in the same rollout, or checks and production will differ.
- Docs and fixtures: I left the docs that quote measurements taken on 1.3.14 (
docs/CACHING.mdand the research notes). I also left the test fixtures that embed abun test v1.3.14banner, because they are captured output, not pins. - Done condition: the 24-hour kernel-log check on production can only happen after deploy.
To try it: build the image from Dockerfile and run bun test inside it. Then run the two-Worker reproducer for 20 minutes, and the stage rig on a copy of production.
🤖 Generated with Claude Code
I couldn't read the review text, so I haven't addressed it. The API shows one changesRequested. The reviews, threads and comments endpoints returned only my own earlier comment or nothing. If the review asks for something specific, tell me and I'll do it.
I pushed two commits that were missing or unfinished:
- Banner example and shard comment:
src/apps/process.tsnow showsBun v1.4.4 (Linux x64 baseline)in the version-banner example. The shard measurement inscripts/shards.tsis marked as taken on 1.3.14. This commit had been made locally but never pushed. - Gate fix: the banner comment was 103 columns and failed the gate's 100-column rule. It's rewrapped to 93 columns with no code change.
What I ran:
bun scripts/gate.tsandbun x tsc --noEmitare clean.test/apps-adversarial-test-step.test.tsandtest/apps-compound-run.test.tspass, 8 tests and 0 failures. These cover the banner regex, which is the only code I touched this round.- The sandbox's
bunis 1.3.14, so none of this ran on 1.4.4. The earlier 1.4.4 runs used the npm[email protected]binary. scripts/fast.tsexits 2 becausepackage.jsonchanged, so I picked the tests myself. I did not run the full suite.
Still not done (the sandbox can't do these):
- Reading the Bun 1.3.14 to 1.4.4 changelog.
- The 20-minute two-Worker reproducer and the stage rig.
- A hosted-forge cell boot on a container of the new image.
- Moving the checks host's Bun to 1.4.4. This repository doesn't pin it.
- The 24-hour kernel-log check on production, which can only happen after deploy.
To try it: build the image from Dockerfile and run bun test inside it. Then run the two-Worker reproducer and the stage rig.
Closes #12538
🤖 Generated with Claude Code
This moves the repository's pins to Bun 1.4.4, but the issue's proofs and the checks' own Bun are not done. The 1.4.4 type check, the gate and six test files pass; the full suite did not run on it.
What changed
Dockerfile: the release image is nowoven/bun:1.4.4-debian. The comment about waiting on the decode issue (#3726) is replaced by the reason for 1.4.4.src/cloud/droplet.ts:BUN_VERSIONis now1.4.4, which is what a pinned forge's droplet installs.package.jsonandbun.lock:@types/bunandbun-typesare now 1.4.4.scripts/rehearse-roll.ts:proc.signalCodecan now be a number, so it is turned into a string before it reachesgoneLine.src/machines/shell.ts: the websocketmessagehandler is now optional in the types, so it is called with?..What I ran, on Bun 1.4.4 (the npm
[email protected]binary, installed into$TMPDIR)tsc --noEmitis clean under both 1.4.4 and the sandbox's 1.3.14.scripts/gate.tsis clean.pinned-forge-recovery,worker-database-opens,apps,release-launch,data-query-limitsandrelease-boot.data-query-limitsandrelease-bootare two of the "Mac-only reds" from item 4. They pass here, but this is Linux. I did not run the client-list crash that was reported on 1.3.13 or the remainingrelease-bootcases.machines*/shell*also pass (6 tests).What I did not do
bun:sqlite, Worker,Bun.spawn,Bun.serve, S3 and test-runner notes for anything else.docs/CACHING.mdand the research notes). I also left the test fixtures that embed abun test v1.3.14banner, because they are captured output, not pins.To try it: build the image from
Dockerfileand runbun testinside it. Then run the two-Worker reproducer for 20 minutes, and the stage rig on a copy of production.🤖 Generated with Claude Code
Closes #12538