FORGE-92: regenerate the SQLite schema for resource_locks and deployment_events.seq (unbreaks unit-web) #744

Merged
gmackie merged 1 commit from FORGE-92-sqlite-regen into main 2026-10-12 07:32:51 +00:00
Owner

Kanbanger: FORGE-92 (blocks #743). main fails CI / unit-web in the leaf-packages step: packages/db/src/schema-sqlite/parity.test.ts reports deployment-event.ts, index.ts and resource-lock.ts stale (5 failures, reproduced locally on main 824da2c3 and on 6c3f168b). FORGE-88 (resource_locks) and FORGE-85 (deployment_events.seq unique index) changed the Postgres schema without running db:sqlite:generate after FORGE-89's generated schema and parity test landed.

This PR is only the output of pnpm --filter @forgegraph/db db:sqlite:generate (3 files). Local: packages/db 12 files / 277 tests pass and typecheck; CI's leaf-packages step (pnpm test minus api/web/health/mobile) is 14/14 green.

🤖 Generated with Claude Code

Kanbanger: FORGE-92 (blocks #743). `main` fails `CI / unit-web` in the leaf-packages step: `packages/db/src/schema-sqlite/parity.test.ts` reports `deployment-event.ts`, `index.ts` and `resource-lock.ts` stale (5 failures, reproduced locally on main `824da2c3` and on `6c3f168b`). FORGE-88 (`resource_locks`) and FORGE-85 (`deployment_events.seq` unique index) changed the Postgres schema without running `db:sqlite:generate` after FORGE-89's generated schema and parity test landed. This PR is only the output of `pnpm --filter @forgegraph/db db:sqlite:generate` (3 files). Local: `packages/db` 12 files / 277 tests pass and typecheck; CI's leaf-packages step (`pnpm test` minus api/web/health/mobile) is 14/14 green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
FORGE-92: regenerate the SQLite schema for resource_locks and deployment_events.seq
Some checks failed
CI / superseded (pull_request) Successful in 0s
CI / gitleaks (pull_request) Successful in 15s
CI / storybook (pull_request) Successful in 1m46s
CI / go (pull_request) Successful in 1m42s
CI / checks (pull_request) Successful in 1m53s
CI / web-build (pull_request) Successful in 2m4s
CI / unit-api (pull_request) Successful in 2m10s
CI / database (pull_request) Successful in 2m32s
CI / unit-web (pull_request) Successful in 3m19s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 32s
CI / database-d1 (pull_request) Failing after 13m3s
04d0592c20
main fails CI / unit-web: packages/db's schema-sqlite parity test reports
deployment-event.ts, index.ts and resource-lock.ts stale. FORGE-88
(resource_locks) and FORGE-85 (deployment_events.seq unique index) changed
the Postgres schema without running db:sqlite:generate after FORGE-89's
generated schema and parity test landed. This is the generator's output,
nothing hand-written.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Owner

Preview environment is live: https://pr-744-forgegraph.forgegraf.com

Deployed 04d0592c with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Preview environment is live: https://pr-744-forgegraph.forgegraf.com Deployed `04d0592c` with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.
Sign in to join this conversation.
No description provided.