Merge claude/starter-gate-refusal: the production full-seed check needs the guard's message
CI / check (push) Canceled after 0s
CI / reference (push) Canceled after 0s
CI / reference-full (push) Canceled after 0s

starter:gate passes the production full-seed check only when the output says
"full seed refused" and the exit is non-zero; a payload run that ends before
Payload initializes (exit 0, no output) is inconclusive and retried, up to 3 times.
Fixes the flaky check found in the 1.15.0 gate.
This commit is contained in:
Radosław Smoliński
2026-10-29 17:03:28 +01:00
2 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -178,7 +178,8 @@ compiled code with source maps, docs — is ~340 KB unpacked (~4 % of 7.96 MB) a
`pnpm starter:gate` (the last step of `prepublishOnly`) blocks the publish unless a site created from the
**packed tarball** works the way it will in Coolify: `dlx` create → frozen install → first seed of a fresh
`_dev` database (MongoDB in its own Docker container) → `pnpm generate:types && pnpm build` →
`SEED_ONLY="pages:kontakt" [SEED_DRY_RUN=1] pnpm seed` in production mode → a full seed in production refused →
`SEED_ONLY="pages:kontakt" [SEED_DRY_RUN=1] pnpm seed` in production mode → a full seed in production refused (the guard's
"full seed refused" message is required; a run where Payload never initialized is inconclusive and retried, up to 3) →
`pnpm start` with `/api/health`, `/pl`, report-only CSP, no `X-Powered-By`, `/llms.txt` → `ipal-doctor --strict`
(when shipped) → with the `nixpacks` CLI on PATH, the same seed inside the Nixpacks image. Each run packs to a new
file name and calls `dlx` with `--config.dlx-cache-max-age=0` (pnpm's dlx cache is keyed by the spec, so a reused path