FORGE-89: non-required CI job running the API database suites on D1 #727
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
gmackie/ForgeGraph!727
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "FORGE-89-d1-ci-lane"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FORGE-89 (D1 Phase 4), step 3 of 5. Stacked on #725 (and #721); review the top commit, a 24-line
ci.ymlchange.What
A new, separate
database-d1job in.forgejo/workflows/ci.yml:pnpm --filter @forgegraph/api test:d1: the API DB-backed suites on an in-process D1 (Miniflare/workerd) with the generated SQLite schema, skipping the files inpackages/api/d1-known-failures.txt. It fails only on a regression outside that list.continue-on-error) runningtest:d1:known, which prints a::warning::for any listed file that now passes, so FORGE-88 (Phase 3) can shrink the list.Not required: the job is not in the
ciaggregate'sneeds, and main's branch protection requires onlyCI / ci (pull_request)andCI / gitleaks (pull_request), so it never gates a merge. The Postgresdatabasejob and its service are untouched.Layout: kept minimal and self-contained for FORGE-68 (thread fca1d249 owns ci.yml's job layout and runner routing). It uses the shared
pnpm-installaction andruns-on: cloudflare, because it needs no services and should not take a forgegraph-worker node slot from required jobs. If the Containers executor can't run workerd, moving it to[forgegraph-ci, forgegraph-worker]is a one-line change.Verification
node scripts/test-workflow-yaml.mjs: all 10 workflow files parse.test:d124 files / 136 passed / 0 failed;test:d1:known20 listed, 0 now passing.database-d1job result on this PR's head.🤖 Generated with Claude Code
52de7d7a06bb0d6ce220