Skip to content

Commit 88ae576

Browse files
committed
test(cli): the exit-signal pin's floors and header after secret rewrap landed
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GiHYRmLSNWTfbX9gVQkpz
1 parent 68e951b commit 88ae576

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

‎packages/cli/test/json-exit-signal.pin.test.ts‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@
4141
* `options` include `'json'` (`--format json`): the same audience, a
4242
* program reading stdout and the exit status.
4343
*
44-
* There is no roster to update. A command added later — `os secret rewrap`,
45-
* which an open pull request adds, is the next one — is in the population the
44+
* There is no roster to update. A command added later is in the population the
4645
* moment its module declares either flag, and this file goes red if any of its
4746
* `this.exit(…)` calls sits in a `try` whose `catch` does not let the signal
48-
* through.
47+
* through. `os secret rewrap` is the first to have entered that way: it landed
48+
* beside this pin with its `--json` flag and its rethrow already in place, and
49+
* no line here names it.
4950
*
5051
* ## The two halves
5152
*
@@ -381,15 +382,15 @@ const FLOW = new Map(
381382

382383
/**
383384
* Floors, not counts of today: the population and the `this.exit`-in-`try`
384-
* sites this landed over (45 JSON-capable commands: 31 `--json`, 14
385-
* `--format json`; 99 sites, 21 of them `os build`'s through `compile.ts`). A
385+
* sites this landed over (46 JSON-capable commands: 32 `--json`, 14
386+
* `--format json`; 105 sites, 21 of them `os build`'s through `compile.ts`). A
386387
* discovery or analyzer that silently stops finding anything returns zero, and
387388
* zero passes every per-member assertion — these are what notice. A drop below
388389
* them is a broken detector or a deliberate removal; say which when you lower
389390
* one.
390391
*/
391-
const POPULATION_FLOOR = 45;
392-
const SITE_FLOOR = 99;
392+
const POPULATION_FLOOR = 46;
393+
const SITE_FLOOR = 105;
393394

394395
// ---------------------------------------------------------------------------
395396
// 1. The analyzer, against fixtures — it must be able to fail

0 commit comments

Comments
 (0)