starter:gate: the production full-seed check needs the guard's message; an early exit is retried
payload run can end with exit 0 and no output before Payload initializes (its bin does `void start()`; when the script's top-level await is left without live handles, Node exits). Such a run proved nothing but passed or failed the `refused !== 0` check at random. Now only "full seed refused" with a non-zero exit counts; a run without "[ipal] Plugin initialized" is inconclusive and retried up to 3 times; all three inconclusive fails the gate with that reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
40925f9331
commit
7e1f09c95a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user