From 96617bbf72a31c226397028b14d38fc0dffb9e02 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 26 Aug 2026 11:09:41 +0000 Subject: [PATCH] docs(cli-test): scope the production-default header to the pin it describes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `serve-node-env-production-default.e2e.test.ts`'s header states the oclif reroute mechanism generically and then closes unqualified, while two of the file's own three legs reach the gate from `src/commands`. Apply the already-stated mechanism to this file's own legs, and scope the closing sentence to the unset pin it is the conclusion of. The mechanism itself is not restated and no table is added — the file already carries both. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01UjujZN219uFzBhSYfMykCd --- .../cli/test/serve-node-env-production-default.e2e.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/test/serve-node-env-production-default.e2e.test.ts b/packages/cli/test/serve-node-env-production-default.e2e.test.ts index 7cdab640b6..6acd2b1b48 100644 --- a/packages/cli/test/serve-node-env-production-default.e2e.test.ts +++ b/packages/cli/test/serve-node-env-production-default.e2e.test.ts @@ -138,7 +138,9 @@ * answers ` › Error: command serve not found` before `serve.ts` runs a * single line. Measured, deterministic, not load-dependent: unset and * `production` both fail that way, `test` and `development` both resolve - * from `src/`. An earlier revision of this file wrapped the boot in a + * from `src/` — which is why the two explicit-`NODE_ENV` `it()` blocks + * below execute `src/commands`, and only the unset pin measures the built + * `dist/`. An earlier revision of this file wrapped the boot in a * signature-scoped retry on the theory that the failure was a transient * `dist/commands` read under concurrent spawn load; that retry shipped, ran * in the failing job, and changed nothing — which is the measurement that @@ -150,7 +152,7 @@ * before argv is parsed, which makes the unset-`NODE_ENV` input this whole * file exists to measure unreachable — the pin would go green measuring * nothing. `bin/run.js` plus a genuinely built `dist/` is the only shape - * that reaches the gate. + * that reaches the gate for this pin. */ import { describe, it, expect, beforeAll, afterAll } from 'vitest';