Skip to content

Commit ccb64dc

Browse files
committed
test(spec): four ruled-class test files declare their measured CI budget
Each file carries one `// test-budget: SECONDS — CLASS: REASON` header line (ruling record 6181973363, letter B): the slowest CI reading of the three hourly full-battery runs that executed @objectstack/spec after the liveness read memo landed, x 1.25, rounded up to the next 10 s. - scripts/build-schemas-check-mode.test.ts: 940 s (749.9 s, run 38657693085) - scripts/liveness/check-liveness.test.ts: 410 s (320.4 s, run 38657693085) - src/shared/alias-integrity.test.ts: 50 s (34.9 s, run 38651452634) - src/eager-entry-import.test.ts: 30 s (19.9 s, run 38657693085) No other line changes. Claude-Session: https://claude.ai/code/session_01LFqdRsuM5nkqoJdHd5ztVk Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8d05456 commit ccb64dc

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/spec/scripts/build-schemas-check-mode.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: 940 — spawns the real producer once per single-cause fixture: every case runs the real schema generator (build-schemas.ts --check) in its own sandbox git tree, one fixture per cause; slowest CI reading 749.9 s (hourly run 38657693085) x 1.25, rounded up
23
//
34
// Pins that `build-schemas.ts --check` — the script behind
45
// `check:authorable-surface`, one of the eight generated-artifact gates

‎packages/spec/scripts/liveness/check-liveness.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: 410 — spawns the real producer once per single-cause fixture: each case spawns the real liveness gate (check-liveness.mts) on a ledger copy with exactly one cause for its verdict; slowest CI reading 320.4 s (hourly run 38657693085) x 1.25, rounded up
23
//
34
// Self-test for the liveness gate's EVIDENCE guard (#5623).
45
//

‎packages/spec/src/eager-entry-import.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: 30 — whole-package import: every published entry of the package is imported first in its own fresh tsx child process, eagerly, plus two unflagged controls; slowest CI reading 19.9 s (hourly run 38657693085) x 1.25, rounded up
23

34
/**
45
* Every published entry of `@objectstack/spec` imports cleanly as a process's

‎packages/spec/src/shared/alias-integrity.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 — whole-package import: the walk imports every module of this package's src tree so the strictObject registry is complete, and its floor is vitest's transform of the whole package; slowest CI reading 34.9 s (hourly run 38651452634) x 1.25, rounded up
23

34
/**
45
* #5013 — repo-wide alias-table integrity for every `strictObject(` authoring

0 commit comments

Comments
 (0)