Skip to content

feat(dev): run local PostgreSQL in Apple container per checkout and test run - #42

Merged
jonikanerva merged 4 commits into
mainfrom
feat/local-pg-apple-container
Nov 15, 2026
Merged

jonikanerva merged 4 commits into
mainfrom
feat/local-pg-apple-container

Conversation

@jonikanerva

@jonikanerva jonikanerva commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

The local PostgreSQL servers of development and tests move from one shared Docker container to Apple container (ADR 0006). scripts/caltodo-pg owns the container lifecycle. The mise task names stay.

  • Each checkout (worktree) has its own development container and named volume. The physical checkout path identifies the checkout.
  • Each independent test run (test, test:e2e, sqlx:check, sqlx:prepare, verify) starts its own temporary container (tmpfs, fsync off) and deletes it at the end.
  • test:e2e runs have their own client build, database, server port, and Playwright output directory.
  • New tasks: db:info, db:psql, db:dump, db:restore, db:clone, db:recreate, db:reap. db:restore and db:clone replace the development database, keep a backup of the old one in target/caltodo-pg/, and apply the migrations.
  • contract:export and contract:generate replace a tracked file only when it changes, with an atomic rename, so parallel readers never see a partial file.

Acceptance criteria (from the owner request)

# Criterion Evidence
1 No PostgreSQL server on the Mac; one container tool (Apple container) psql, pg_dump, pg_restore run in containers; no Docker command in mise.toml
2 One persistent development container and volume per checkout; db:stop keeps data Data survived stop and start (canary row, migrations, _sqlx_test rows)
3 One temporary container per independent test run; nested tasks reuse it only explicitly (CALTODO_PG_RUN_*) test log: nextest and test:e2e used run 772f9a9f; a second separate run got its own container
4 Test commands do not inherit a development or remote DATABASE_URL with-test-db unsets DATABASE_URL and E2E_DATABASE_URL; dev ignores DATABASE_URL (CALTODO_DEV_DATABASE_URL overrides)
5 Lock for development container creation; port race retry; 127.0.0.1 only shlock lock; a busy port fails container run (errno 48) and the script tries another port; lsof shows 127.0.0.1 binds
6 Readiness before migrations and tests psql over TCP in the container plus a PostgreSQL SSLRequest through the published port (a plain TCP check passed too early: "connection reset by peer")
7 Each run cleans only its own resources; abandoned resources cleaned later; no prune kill -9 of one run: the next run of the checkout deleted its container; the parallel live run continued
8 Keep a failed environment and logs Failed run writes target/caltodo-pg/runs/<run>/postgres.log; CALTODO_PG_KEEP=failure keeps the container
9 Resource limits and a parallel cap Test 4 CPU / 2 GiB, development 2 CPU / 1 GiB; CALTODO_PG_MAX_TEST_RUNS (default 4)
10 Same-checkout build and SQLx metadata collisions handled scripts/checkout-lock for build and cargo sqlx prepare (it writes target/sqlx-* and touches sources). Generator and export write scratch files and rename only changed files: 8 generate/export runs beside 7 contract-check and 7 typecheck runs gave 0 failures (review round 1 saw 1/7 each before the fix)
11 Data migration with backups and a trial restore See "Data migration"
12 verify passes See "Verification"

Validation

  • Development and tests at the same time: a caltodo serve on the main checkout's development database answered /readyz 200 for 92 of 92 polls while sqlx:check and nextest (198 passed) ran beside it.
  • Two checkouts: a second worktree applied a probe migration 0004; this checkout kept versions 1–3 and no probe table. db:clone copied this checkout's data into the second worktree.
  • Two runs in one checkout: two test:e2e (67 passed) and two sqlx:check ran at the same time; one test:e2e got SIGTERM during Playwright and exited 143; the others passed; no test container or e2e server stayed.
  • Measurements are in ADR 0006. Nextest with container start and delete: Apple tmpfs 14–15 s, Apple disk 17 s, Docker (OrbStack) 18 s.

Data migration

Inventory (2026-11-15): the Docker PG 18.6 caltodo database had no application tables, only the _sqlx_test bookkeeping of test runs (12 rows). The old PG 17.9 volume caltodo-pg had empty or synthetic databases (example.com e2e user). The Homebrew postgresql@18 data directory (the localhost:5432 of .env) held no caltodo database, and its binaries are not installed. No real development data existed.

  • Logical backups (pg_dump custom format and pg_dumpall --globals-only, run in containers) with SHA-256 sums: ~/Backups/caltodo/2026-11-15-pg-migration/.
  • The source container was in use by other checkouts (old mise.toml), which write only _sqlx_test bookkeeping. The final dump came from the live server with pg_dump (one consistent snapshot) instead of stopping their runs.
  • Trial restore into a temporary container, then caltodo migrate: passed.
  • Final restore into the main checkout's new volume caltodo-dev-7c5c590d5372-pg18, then caltodo migrate (versions 1–3).
  • Old Docker containers and volumes stay unchanged as the recovery path.

Recovery: in the main checkout, mise run db:restore -- ~/Backups/caltodo/2026-11-15-pg-migration/final/caltodo.dump. The task replaces the database, keeps a backup of the old one, and applies the migrations. Tested on a development database: the probe row came back, migrations 1–3. The old Docker data stays in the volumes caltodo-pg-18 and caltodo-pg.

Limitations

  • The container CLI fails inside a command sandbox; agents run the database and test tasks outside it.
  • Google sign-in in development needs ports 5000 and 5001, so one checkout at a time runs mise run dev.
  • A run that ends with SIGKILL leaves its container until the next run of the checkout or db:reap.
  • Main's .env has a DATABASE_URL to the removed Homebrew server and lacks ACTION_TOKEN_SECRET and TOKEN_ENCRYPTION_KEY. dev now ignores the DATABASE_URL; the owner adds the two secrets.
  • Dependency freshness check: skipped on owner instruction (updates were done today: chore(deps): update @hookform/resolvers to 7.0.6 #38, chore(deps): update jsdom to 31.0.1 #39, chore(deps): update tower-http to 0.7.1 #41).
  • Railpack plan (railpack info ., Railpack 0.43.0): unchanged. Rust provider, Node 26.13.1, pnpm 12.21.0, Rust 1.100.0, the same build steps and start command.
  • Development containers of removed checkouts: db:reap -- --all reports them and never deletes them.
  • Coordination with the spot-price agent: neither project changes the shared container install or runs a prune. caltodo uses host ports 20000–47999; spot-price uses 48000–53999.

Verification

mise run verify on d4d2040 (the head, which merges base origin/main 8b4f11d): exit 0 in 403 s. Nextest 208 passed, Vitest 19 + 4 passed, Playwright 67 passed; no tracked file changed; no test container left.

Review round 1 (FAIL on 8f10462): the restore path and the generator read race are fixed in f986c0d; the lint fix is d4d2040.

🤖 Generated with Claude Code

…est run

The old setup used one Docker container for every checkout. Checkouts
shared the development database. Parallel test runs shared the e2e
database, the e2e port, the Playwright output, and the SQLx database name.

scripts/caltodo-pg now owns the local PostgreSQL containers (ADR 0006):
- Each checkout has its own development container and named volume.
  The physical checkout path identifies the checkout.
- Each independent test run starts a temporary container on tmpfs.
  Nested tasks reuse it only through the CALTODO_PG_RUN_* variables.
- Labels and the run process id let a later run delete the containers
  of dead runs of the checkout. No task runs a general prune.
- A busy port fails the start, and the script tries another port.
- The readiness check sends a PostgreSQL SSLRequest through the
  published port. The port forwarder accepts TCP before the server is
  reachable, so a plain TCP check passed too early.

test:e2e gives each run its own client build, database, port, and
output directory, and stops its test server at exit. build and the
SQLx prepare step use a checkout lock. dev ignores DATABASE_URL from
.env; CALTODO_DEV_DATABASE_URL overrides it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@jonikanerva jonikanerva left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FAIL

Independent review in a separate context. The full mise run verify passes on the integrated result. Two implementation defects block acceptance. Both are small to fix. Neither defect gives a false pass.

Reviewed version

  • PR head: 8f104620e1e56e6ef685c4513545a4109a892c00
  • Base: origin/main 8b4f11d7e196840819c2f06e9d81341812369491. The base moved after the PR body was written (PR #41, tower-http 0.7). The PR body cites 2478fca and a verify run on 1686f3c. Both are stale.
  • Integration: a local synthetic merge commit 396fd1aa125b84cbd861308582f8305731afe96e (tree c778a10c55e6262defef04e42e788e2297ac25e8). The merge was automatic with no conflicts. The commit was not published.
  • Environment: Apple silicon Mac, Darwin 27.2.0, Apple container 1.0.0 (ee848e3), image postgres:18, mise toolchain pins from the integrated tree. An isolated git worktree was used in a temporary directory, outside the command sandbox (the container CLI needs XPC). Other agents used the same Mac.

Reviewer verification

Command Result
mise run verify on 396fd1a exit 0, 295 s (14:20:22Z to 14:25:17Z). nextest 208 passed, doctests ok, Vitest 19 + 4 passed, Playwright 67 passed. git status clean after the run. No test container left.
db:start, db:migrate, insert a canary row, db:stop, db:start The canary row survived stop and start.
db:dump, then db:reset, then db:restore Fails: "the development database is not empty; run 'mise run db:reset' first" (finding 1).
scripts/caltodo-pg reset (no migrate), then db:restore, then db:migrate The canary row is restored.
Stop the dev container, bind its port 40170 with a listener, then db:start Fails loudly (errno 48) and names db:recreate. db:recreate takes port 39654. The data stays.
Three parallel test:e2e runs in one checkout: A runs normally, B gets SIGTERM on its mise process, C gets SIGKILL on its caltodo-pg wrapper A: 67 passed, exit 0. B: exit 143, its container is deleted, and the PostgreSQL log is written. C: the orphan container stays, and db:reap deletes it ("process 69385 ended"). No e2e_server process stays. The global start lock serialised the starts.
Loop contract:generate (15 times) against contract-check and the api-client typecheck (8 times each), in one checkout contract-check: 6 ok, 1 failed ("client.gen.ts: missing from the committed tree"). typecheck: 6 ok, 1 failed (TS2307 "Cannot find module './generated/sdk.gen.js'"). This is an amplified test (finding 2).
shasum -a 256 -c for both SHA256SUMS files in ~/Backups/caltodo/2026-11-15-pg-migration/ All 9 files OK. final/source-inventory.txt shows PG 18.6 and only the _sqlx_test tables (12 rows). This agrees with the inventory in the PR body.
git grep for 55473, 47411, CALTODO_PG_URL, CALTODO_PG_VOLUME, CALTODO_PG_CONTAINER, test-results, docker Only the history in ADR 0006 and the image reference docker.io/library/ remain. Two stale entries remain: /e2e/test-results in .gitignore and e2e/test-results/** in .oxlintrc.json. The new output directory is target/e2e/<run>.

The reviewer deleted its own dev container and volume (caltodo-dev-00aa163bd52a, caltodo-dev-00aa163bd52a-pg18). The reviewer did not touch other containers or volumes.

Blocking findings

1. The documented restore path cannot succeed

  • Location: mise.toml [tasks."db:reset"] (it runs scripts/caltodo-pg reset and then db:migrate). scripts/caltodo-pg dev_restore (line 335: it refuses a database with any table, and its message says "run 'mise run db:reset' first"). The PR body "Recovery" section has the same steps.
  • Evidence: mise run db:reset followed by mise run db:restore -- FILE fails with "the development database is not empty". db:reset applies the migrations, so the database is never empty. The script's own error message sends the user to the same dead end.
  • Impact: the owner asked for a restore path of the development data. The PR records this procedure as the recovery path of the migration (criterion 11). The procedure fails. db:clone works because it calls the unmigrated dev_reset directly.
  • Minimum fix: give the user a supported way to get an empty database before a restore. For example, let db:restore drop and create the database itself (like clone does), or add a task that resets without migrating. Then make the error text, README, STACK §1, and the PR body name the working sequence. Restore, then run db:migrate.
  • Verify: run db:start, db:migrate, db:dump -- F, then the documented reset, then db:restore -- F. The restore must pass and keep a canary row. db:migrate must apply nothing new.

2. Same-checkout build writes collide with unlocked readers (criterion 10)

  • Location: mise.toml build / build:steps. scripts/checkout-lock serialises only build against build. packages/api-client/scripts/generator-config.mjs sets clean: true, so contract:generate deletes and rewrites packages/api-client/src/generated/. contract:export rewrites contract/openapi.json. The readers take no lock. Readers of src/generated/: contract:check; the typecheck of lint (the api-client and web, which imports @caltodo/api-client); Oxlint on packages/api-client/src; the api-client and web Vitest; and the per-run e2e Vite build in scripts/e2e-run. contract.rs does not read contract/openapi.json at run time (grep).
  • Evidence: in the amplified loop above, both readers failed once while the generator ran. Two verify runs in one checkout reach this overlap when one run is in build and the other is in lint, contract:check, or Vitest.
  • Impact: the owner asked to check same-worktree build write collisions and to use per-run targets or narrow locks. The owner listed verify among the runs that get their own isolated environment. The PR says criterion 10 is handled. The Limitations section does not mention this collision. The failure is a spurious verify failure, not a false pass. Under the doctrine, flaky gates still need a fix.
  • Minimum fix: one of these options:
    • Make the readers and the generator writer share a narrow checkout lock, for example generated around contract:export/contract:generate and around contract:check, the api-client typecheck, and Vitest.
    • Make build generate into a scratch directory and replace the tracked files only when they differ. In verify they never differ, because verify must not change tracked files.
    • Serialise verify per checkout. The owner said "do not serialize everything", so this option needs an owner decision. A reviewed exception is not enough.
  • Verify: repeat the loop from the table, with the generator against contract-check and typecheck. Expect 0 failures.

Non-blocking observations

  • scripts/caltodo-pg cleanup runs rm -f "$global_lock" at the end of every run. At that time the lock can belong to another run in its count-and-create step. A third run can then get past CALTODO_PG_MAX_TEST_RUNS in a race. The cap is soft, but the removal should depend on ownership.
  • random_port gives 20000–39999. The dev fallback port therefore falls in the range that the comment reserves for tests (observed: 39654). Either the comment is wrong or a dev range is missing.
  • No task finds the dev containers and volumes of removed worktrees. They stay until somebody deletes them by hand. The data is kept by design. db:info shows only its own checkout.
  • target/e2e/<run>/results and target/caltodo-pg/runs/<run>/ accumulate without a cleanup.
  • db:psql uses --interactive without --tty, so an interactive psql session has no prompt or line editing.
  • README: the new "Local databases" heading splits the Commands list. The contract:* and start bullets now sit under "Local databases".

Criteria traceability (owner request to evidence)

  • Reviewer ran: no Docker in the tasks; PostgreSQL tools in containers; dev container and volume per checkout; stop keeps data; a separate container per test run; busy port fails and recovers; readiness check (verify and the challenges did not start early); own-resource cleanup and later reap after SIGKILL; interrupt of one run does not break another; global start lock (observed "waiting for the lock"); per-run e2e port, database, build, output, and auth state; full verify passes; backups exist and match their checksums.
  • Code read only: nested reuse only through CALTODO_PG_RUN_* (one container for all verify steps); DATABASE_URL and E2E_DATABASE_URL removed for test runs; 127.0.0.1 binds; the CALTODO_PG_MAX_TEST_RUNS cap (three runs against the default 4 did not reach it; see the lock-ownership observation).
  • Narrative only (not repeated by the reviewer): the old Docker containers and volumes are unchanged; trial restore and the final restore into the main checkout's volume; independent migrations in two worktrees; /readyz 92/92 while tests ran; start-time and memory measurements in ADR 0006; "keep keys" (no encrypted tokens existed in the inventoried data).
  • Pending owner action: main's .env lacks ACTION_TOKEN_SECRET and TOKEN_ENCRYPTION_KEY (PR Limitations). So "the app works with the migrated dev data" stays unverified until the owner adds them. The reviewer did not read .env.
  • Dependency freshness skip: the lead relayed the owner instruction to the reviewer. The deps PRs #38, #39, and #41, merged today, support it. The reviewer did not see the owner instruction directly.
  • Record: the PR body's Verification section binds to 1686f3c / 2478fca. Update it to the final head and the current base.

Other required evidence

  • CI: the repository has no CI pipeline (STACK §14). The PR has no status checks. Nothing is pending there.
  • Release (STACK §14, P7): the PR has no Railpack plan (railpack info . with the latest Railpack release). The diff changes mise.toml ([env] and tasks; [tools] is unchanged). The diff does not change railpack.json, the Rust sources, or the web sources. Record the plan in round 2, or record why it does not apply.
  • Owner-only: the .env secrets above. No other owner test is required before merge.

Approved exceptions

None proposed, none approved.

Reviewed: PR #42 @ 8f10462 (base 8b4f11d, round 1)

jonikanerva and others added 3 commits November 15, 2026 16:35
Review of PR #42 found two defects.

db:reset runs the migrations, so db:restore always found tables and
refused. db:restore and db:clone now replace the development database.
They first write the old database to target/caltodo-pg, and then they
apply the migrations.

contract:generate deleted and rewrote src/generated while a parallel
type check or contract:check read it. The generator and the OpenAPI
export now write to scratch files and replace a tracked file only when
it changes, with an atomic rename.

Smaller fixes: the test start lock is released only by its holder, a
development container falls back to the development port range, db:psql
uses a TTY when one exists, and db:reap --all reports the development
containers of removed checkouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Oxlint requires the explicit node:process import, like contract-check.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@jonikanerva jonikanerva left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: PASS

Independent review, round 2, in a separate context. The two blocking findings of round 1 are fixed. The full mise run verify passes on the integrated result. No new blocking finding.

Reviewed version

  • PR head: d4d20400e5478e57edffee94263fcc76fb36e088
  • Base: origin/main 8b4f11d7e196840819c2f06e9d81341812369491
  • Integration: the base is an ancestor of the head (merge commit cebde13). The head is the tested integration commit. No synthetic merge was necessary.
  • Environment: Apple silicon Mac, Darwin 27.2.0, Apple container 1.0.0 (ee848e3), image postgres:18, mise 2026.11.8 with the pins of the head. A fresh detached git worktree in a temporary directory (checkout id d27daf7801b1), run outside the command sandbox (the container CLI needs XPC).

Reviewer verification

Command Result
mise run setup, then mise run verify on d4d2040 exit 0. Setup ended 14:44:11Z; verify (with scan:deps) ran from then to 14:53:56Z. nextest 208 passed (0 skipped), doctests ok, Vitest 19 + 4 passed, Playwright 67 passed. git status --porcelain empty after the run. No test container left.
Round-1 repro: db:migrate, canary row, db:dump -- FILE, db:reset, then db:restore -- FILE exit 0. The task wrote target/caltodo-pg/before-restore-<time>.dump, restored FILE, and ran db:migrate. Canary row back. _sqlx_migrations = 1,2,3. Round-1 finding 1 is fixed.
Undo: db:restore of the before-restore dump exit 0. The state before the restore came back (no canary table, 3 migrations). Then db:restore of FILE again: canary back.
db:restore of a non-empty garbage file exit 1. A backup was written first. pg_restore failed: "input file does not appear to be a valid archive (too short?)". The db:migrate step did not run. The database was empty after the failure. db:restore of the new backup gave the canary row back.
db:restore without a file; with a missing file exit 1 each ("restore FILE"; "no dump at …"). No change to the data.
db:clone -- DIR from a second reviewer worktree (its own dev container, a table without migrations) Success output ("restored …", migrate "applied":3). Backup written. Source table present. Old data replaced. Migrations 1,2,3 applied. The temporary clone dump was deleted. db:clone of the same checkout is refused (exit 1).
Argument passing of a mise run array ["script", { task = "x" }] (mise 2026.11.8, toy project) mise run t -- '/a b/c.dump' appends the quoted argument to the script step only. The task step gets no argument. A failed script step stops the array (exit 3).
Race loop in one checkout with the committed contract (no file changes), all at the same time: 40 × contract:export, 40 × contract:generate, 25 × contract:check, 25 × api-client typecheck 0 failures in each group. git status clean. Round 1 saw 1/7 failures each.
Generator write path, functional (second worktree): append a line to types.gen.ts, delete sdk.gen.ts, add stray.ts and sub/deep.ts, then contract:generate Tracked tree restored (git status clean), no *.tmp left. Only the empty directory sub/ stayed.
Generator write path, concurrent: 30 × (append a comment to types.gen.ts and zod.gen.ts, then contract:generate) beside 30 × api-client typecheck and 15 × api-client Vitest 0 failures in each group. So every generate replaced two files with the temporary file and rename path. Round-1 finding 2 is fixed. (A first variant of this loop also deleted client.gen.ts in the test itself; its reader failures came from that test deletion, not from the generator.)
db:restore -- ~/Backups/caltodo/2026-11-15-pg-migration/final/caltodo.dump (the recovery command of the PR body) into a new empty dev container of a reviewer worktree; shasum -a 256 -c SHA256SUMS before Checksums OK. exit 0. No backup (the database was empty). Tables users, user_settings, action_tokens, app_sessions, _sqlx_migrations, _sqlx_test.databases (12 rows). Migrations 1,2,3.
railpack info . --format json with Railpack 0.43.0, on base 8b4f11d and head d4d2040 The two plans are identical (the same steps, the start command ./bin/caltodo migrate && exec ./bin/caltodo serve, and runtime image railpack-runtime:mise-2026.10.14).
git grep for docker, 55473, caltodo-pg-18, CALTODO_PG_VOLUME Only the intended mentions remain: the "never use docker" rules in AGENTS.md and STACK.md, the default docker.io/library/ registry prefix in scripts/caltodo-pg, and the digits 55473 inside a timestamp of find_slot.golden.json.

Cleanup: the reviewer deleted only its own containers and volumes caltodo-dev-d27daf7801b1 and caltodo-dev-157369d358a3 (with the -pg18 volumes), and caltodo-dev-e7537f6148eb of a third worktree (each with its -pg18 volume), and removed the three worktrees. No other container was touched.

Round-1 non-blocking items

  • The start lock is now released only by its holder (holding flag).
  • Development ports fall back inside 40000–47999.
  • db:psql adds --tty only for a terminal. The non-terminal use in the test above works.
  • db:reap -- --all reports the dev containers of removed checkouts and never deletes them.
  • README: the contract:* and start lines moved from "Local databases" to the command list.
  • Still open (non-blocking): /e2e/test-results in .gitignore and e2e/test-results/** in .oxlintrc.json are stale; target/e2e/<run>/results and target/caltodo-pg/runs/<run>/ still accumulate without a cleanup.
  • The Railpack plan is now recorded and reproduced (see above).

Non-blocking observations (no change required for this PR)

  1. contract:export writes contract/openapi.json.<pid>.tmp inside contract/ on each run. contract-check.mjs compares the whole contract/ tree, so a check that lists the files in the few milliseconds between the write and the rename or delete reports drift. The race loop above did not hit this window. Minimum fix: write the temporary file outside contract/ on the same volume (for example under target/). generate.mjs has the same pattern in src/generated, but only when a file changes.
  2. db:restore validates the dump only through pg_restore after the database is dropped. A bad file leaves an empty database until the backup is restored, as the test above shows. pg_restore --list before dev_reset would reject the file without a drop.
  3. The backups stay under target/, so cargo clean deletes them. The backup name has one-second resolution, so two restores in the same second overwrite one backup. In practice a restore with its migration step takes longer than one second.
  4. mise run db:restore -- FILE resolves a relative FILE against the repository root, not against the current directory of the caller.

Evidence and authority notes

  • Dependency freshness: this task PR does not run its own check. The PR body states an owner instruction to the lead to skip it. The reviewer cannot verify that owner instruction. Recorded facts: PR #36 (merged 2026-11-15T11:15Z) records the §3 freshness check of 2026-11-15 on main 2f14d8c and lists the retained majors. The follow-up deps PRs #38, #39, and #41 merged today, and each PR body refers to that check. STACK.md §14 accepts the check result in the task PR through links to the deps PRs. Suggestion: link #36 in the PR body.
  • The repository has no CI pipeline and no required checks (statusCheckRollup is empty).
  • No owner-only test is required for this change. The data migration on the main checkout and the backups in ~/Backups/caltodo/2026-11-15-pg-migration/ were checked in round 1. This round repeated the checksum of final/ and the restore of final/caltodo.dump (above). The old Docker volumes were not inspected.
  • This PASS is not owner approval. The lead owns acceptance and merge.

Reviewed: PR #42 @ d4d2040 (base 8b4f11d, round 2)

@jonikanerva
jonikanerva merged commit 7f88026 into main Nov 15, 2026
@jonikanerva

Copy link
Copy Markdown
Owner Author

Release check for merge commit 7f88026 (2026-11-15):

  • Railway deployment daca2f3f: SUCCESS. Railpack 0.43.0, runtime image ghcr.io/railwayapp/railpack-runtime:mise-2026.10.14. The build log shows transient BuildKit cache errors (blob ... not found); the build retried and passed.
  • /version reports 7f8802636413230b9f92ef226b843c14c74ee040.
  • /healthz 200, /readyz 200, / 200, deep links /settings, /privacy, /tos with Accept: text/html 200, /api/auth/user 401, unknown /api path 404.
  • Security headers present: CSP, X-Frame-Options: DENY, nosniff, Referrer-Policy: no-referrer, HSTS.
  • Not repeated: a sign-in, the task list, a task creation, and an action link. They need a real Google account. This change touches no server runtime code (only a test comment in crates/).
  • Follow-up: the STACK.md §15 infrastructure table still records Railpack 0.41.0 and mise-2026.10.8.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant