Repository navigation
fix(ci): launch isolation gate waits for the V2 database - #171
Conversation
The orchestrator-V2 sync moved the server's database to statev2.sqlite; state.sqlite is now only a V1 import source. The release gate still waited for the old name, so v0.1.41's build timed out after 180s with the fork state fully in place. Wait for statev2.sqlite and pin it in the guard. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
No major structural issues.
The gate still waits for the file the server child owns — that is the proof the packaged process derived ~/.t3-fork. After the orchestrator-V2 sync that file is statev2.sqlite. On a fresh scratch HOME, initializeV2Database no-ops and layerFromPath creates dbPath; same readiness signal, new name. The guard pin tracks the executable path literal. A shared constant, *.sqlite glob, or a cross-file pin from config.ts would add machinery, not delete it.
Sent by Cursor Automation: Thermo nuke 4.6
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |


The fork release gate (
launch-isolation-check.sh) waits for the packaged app's server child to create~/.t3-fork/userdata/state.sqlitebefore running its isolation sweep. The orchestrator-V2 sync (#167) moved the server's database tostatev2.sqlite(apps/server/src/config.ts);state.sqliteis now only read as a V1 import source. The v0.1.41 release run therefore timed out after 180s with.t3-fork/userdata/statev2.sqlitealready on disk and no upstream-named path anywhere, which is the condition the gate exists to prove.Waits for
statev2.sqliteinstead and pins the name inforkDesktopRelease.test.ts.Verified: the guard passes (6 tests). The real proof is the next
fork-release.ymldispatch, which runs this gate against the built DMG.Claude Fable 5.1 via Claude Code.
🤖 Generated with Claude Code