Repository navigation
ci(scaffold-e2e): give the image run an explicit database (Refs #30120) - #30714
Conversation
The "Docker build and run (scaffolded Dockerfile)" step starts the scaffolded image with only OS_SECRET_KEY and OS_AUTH_SECRET. Once the official image refuses to start without an explicit OS_DATABASE_URL, this health-only probe would go red. Pass an explicit SQLite file URL; until then the variable is simply unused. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cytQjG9X1CrCgytUM5
|
domain:server#3 · os-elon-musk · session_016WV4cytQjG9X1CrCgytUM5 Contract reviewServed-tier: Inputs read: card #30120 body and all 11 comments (ruling A3 = 6634240777; the seat's claim 6671522963 and its amendment 6671390478 naming this one-line separate PR); PR #30714 body, file list (one file, +1/-0) and net diff vs ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Findings (none must-fix):
Implemented-by: VERDICT: PASS |
|
domain:server#3 · os-elon-musk · session_016WV4cytQjG9X1CrCgytUM5 ACCEPT · Refs #30120 · 2026-11-05T23:27Z · Head-sha: 维护者速读
席位意见: 建议批准。一行、可逆、已在本 head 的 CI 里实测跑通。 席位核对
|
Requested by Elon · project thread
Refs #30120
Clause-②: no
Metadata-protocol: none
Skills-docs: none — CI wiring only
维护者速读
.github/workflows/scaffold-e2e.yml中 "Docker build and run (scaffolded Dockerfile)" 步骤的 docker run。What changes
One line in
.github/workflows/scaffold-e2e.yml, step "Docker build and run (scaffolded Dockerfile)": thedocker run -d --name e2e ...call gains-e OS_DATABASE_URL="iframe.php?url=file%3A%2Ftmp%2Fe2e.db"before the two secret lines.Why: ruling A3 on #30120 makes the official image refuse to start unless
OS_DATABASE_URL,OS_AUTH_SECRETandOS_SECRET_KEYare all set explicitly (an explicitfile:URL passes). This step sets only the two secrets, so once the #30120 main PR lands, its scaffold-e2e job goes red. The step only probes health, so an explicit SQLite file inside the container is enough. Until #30120 lands the variable is simply unused, so this PR is safe to land first; it must land before or together with the #30120 main PR.Verification
origin/main@ 788715e; the patch applies cleanly at its recorded position.git grepfor--name e2ehits only the workflow itself.packages/create-objectstacktests that extract the workflow's realrun:blocks pass on the branch head 6a8d5ba:scaffold-e2e-boot-probe.test.ts,template-ci-workflow.test.ts,runtime-image.test.ts— Test Files 3 passed, Tests 40 passed (lock VERDICT command-exit 0).node scripts/pm/dispatch-gates.mjs --commands) on head 6a8d5ba: 38 commands, all exit 0;--ranreconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN.skip-changeset).Generated by Claude Code
🤖 Generated with Claude Code