Skip to content

Commit b9dfc83

Browse files
committed
test(scripts): the built-CLI census counts the durability pin
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cyhB3ePno23ywn1PQd
1 parent 6735ac8 commit b9dfc83

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎scripts/check-cli-test-child-env.mjs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,7 @@ export function selfTest() {
26352635
.filter((abs) => builtEntrypointSpawns(abs, readFileSync(abs, 'utf8')).spawns > 0)
26362636
.map((abs) => relative(REPO_ROOT, abs).split(sep).join('/'))
26372637
.sort();
2638-
t('the built-entrypoint population is exactly the nineteen files that spawn bin/run.js',
2638+
t('the built-entrypoint population is exactly the twenty files that spawn bin/run.js',
26392639
JSON.stringify(builtFiles) === JSON.stringify([
26402640
// [#26130] Joined the population deliberately: its subject is a plain
26412641
// `os dev` boot that compiles before it serves, measured on the BUILT
@@ -2714,6 +2714,13 @@ export function selfTest() {
27142714
// so the tsx shim every `runServe()` caller uses cannot reach it at all.
27152715
'packages/cli/test/serve-ready-degraded-boot.e2e.test.ts',
27162716
'packages/cli/test/serve-stdio-stdout-purity.e2e.test.ts',
2717+
// [#30120] Joined the population deliberately: its subject is the
2718+
// official image's refusal and the production boot block of a plain
2719+
// `os start` (start forces a production `serve` child unless `NODE_ENV`
2720+
// is set), measured on the BUILT packages, and `bin/run-dev.js` sets
2721+
// `NODE_ENV=development` before argv is parsed, where neither exists.
2722+
// Every spawn hands its child `NODE_ENV: undefined`.
2723+
'packages/cli/test/start-deployment-durability.integration.test.ts',
27172724
// [#24002] Joined the population deliberately: its subject is the
27182725
// documented stdio invocation, `os start` in PRODUCTION posture (start
27192726
// forces a production `serve` child unless `NODE_ENV` is set), and

0 commit comments

Comments
 (0)