Skip to content

Commit dfec981

Browse files
committed
test(cli): declare measured budgets on the eight os verify spawn files
Each of the eight packages/cli/test/verify-*.test.ts files spawns the CLI once per distinct (command, flags, fixture) triple, and no triple repeats within a file, so there is no spawn to share and the floor is the spawns. Each takes the ruled one-line header at line 2: the slowest CI reading of the three scheduled runs after the oclif test manifest, x 1.25, rounded up to 10 s. Comment-only; no assertion, timeout, tier or helper changes. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nuFC67LujGL3Fsyiy
1 parent c91544a commit dfec981

8 files changed

Lines changed: 8 additions & 0 deletions

‎packages/cli/test/verify-author-time-stage.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 50 — spawns the real producer once per single-cause fixture: four spawns, one per (command, flags, fixture) triple, one per case and step (`validate --json`, `verify --json` and `verify` on the planted stack, `verify` on the clean control); slowest CI reading 38.85 s (run 40392443783) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify` runs the author-time rules FIRST, and a stack they refuse

‎packages/cli/test/verify-dashboard-windows.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 70 — spawns the real producer once per single-cause fixture: three `os verify` spawns, one per (flags, fixture) pair, already in one beforeAll (`--json` and `--dashboard-windows --json` on the app, `--dashboard-windows --json` on the control); slowest CI reading 50.49 s (run 40392443783) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --dashboard-windows` runs the dashboard date-window family

‎packages/cli/test/verify-delete-behaviors.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 70 — spawns the real producer once per single-cause fixture: three `os verify` spawns, one per (flags, fixture) pair, already in one beforeAll (`--json` and `--delete-behaviors --json` on the app, `--delete-behaviors --json` on the hook control); slowest CI reading 52.68 s (run 40392443783) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --delete-behaviors` runs the delete-behaviour family and

‎packages/cli/test/verify-host-root.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 20 — spawns the real producer once per single-cause fixture: one `os verify --app` spawn from a foreign cwd, in its beforeAll; slowest CI reading 13.13 s (run 40392443783) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --app <dir>/objectstack.config.mjs`, run from a working

‎packages/cli/test/verify-json-stdout.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 50 — spawns the real producer once per single-cause fixture: two `os verify` spawns, one per face (`--json` and text), already in one beforeAll; slowest CI reading 32.30 s (run 40424746941) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --json` on a stack that REACHES THE RUNTIME STAGE writes

‎packages/cli/test/verify-parent-write-reach.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 70 — spawns the real producer once per single-cause fixture: three `os verify` spawns, one per (flags, fixture) pair, already in one beforeAll (`--json` and `--parent-write-reach --json` on the app, `--parent-write-reach --json` on the hook control); slowest CI reading 55.76 s (run 40392443783) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --parent-write-reach` runs the parent-derived write reach

‎packages/cli/test/verify-reference-shapes.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 60 — spawns the real producer once per single-cause fixture: three `os verify` spawns, one per (flags, posture) pair, already in one beforeAll (`--json`, `--reference-shapes --json`, and `--reference-shapes --json` under OS_ALLOW_LAX_VALUE_SHAPES); slowest CI reading 45.37 s (run 40447801748) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --reference-shapes` runs the reference-value shape family

‎packages/cli/test/verify-unique-scopes.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
// test-budget: 70 — spawns the real producer once per single-cause fixture: three `os verify` spawns, one per (flags, fixture) pair, already in one beforeAll (`--json` and `--unique-scopes --json` on the app, `--unique-scopes --json` on the control); slowest CI reading 49.91 s (run 40424746941) of the three scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941, 40447801748), x 1.25, rounded up
23

34
/**
45
* PIN — `os verify --unique-scopes` runs the unique-scope family and counts

0 commit comments

Comments
 (0)