Skip to content

Commit 0ad4dc8

Browse files
chore(scripts): admit the degraded-boot e2e to the built-entrypoint census
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QE8qk46e5CHJxyQEUjbf8
1 parent 786cffa commit 0ad4dc8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2601,11 +2601,16 @@ export function selfTest() {
26012601
.filter((abs) => builtEntrypointSpawns(abs, readFileSync(abs, 'utf8')).spawns > 0)
26022602
.map((abs) => relative(REPO_ROOT, abs).split(sep).join('/'))
26032603
.sort();
2604-
t('the built-entrypoint population is exactly the four files that spawn bin/run.js',
2604+
t('the built-entrypoint population is exactly the five files that spawn bin/run.js',
26052605
JSON.stringify(builtFiles) === JSON.stringify([
26062606
'packages/cli/test/serve-mcp-capability-collision.e2e.test.ts',
26072607
'packages/cli/test/serve-mcp-stdio-answers.e2e.test.ts',
26082608
'packages/cli/test/serve-node-env-production-default.e2e.test.ts',
2609+
// [#16630] Joined the population deliberately: the degraded-boot the
2610+
// ready line has to report is only reachable in PRODUCTION posture, and
2611+
// `bin/run-dev.js` sets `NODE_ENV=development` before argv is parsed —
2612+
// so the tsx shim every `runServe()` caller uses cannot reach it at all.
2613+
'packages/cli/test/serve-ready-degraded-boot.e2e.test.ts',
26092614
'packages/cli/test/serve-stdio-stdout-purity.e2e.test.ts',
26102615
]), JSON.stringify(builtFiles));
26112616

0 commit comments

Comments
 (0)