diff --git a/packages/cli/test/artifact-flag-precedence.integration.test.ts b/packages/cli/test/artifact-flag-precedence.integration.test.ts index 54e668ec2cc..f01a6b1d96f 100644 --- a/packages/cli/test/artifact-flag-precedence.integration.test.ts +++ b/packages/cli/test/artifact-flag-precedence.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 260 — spawns the real producer once per single-cause fixture: ten boots in one beforeAll, each a distinct precedence leg: three `os dev`, seven `os start`, each a supervisor plus its `serve` child read through the metadata door; slowest CI reading 206.80 s (run 40424746941) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #21501 — an explicitly named artifact is the stack that is SERVED, even from diff --git a/packages/cli/test/dev-connector-env-parity.integration.test.ts b/packages/cli/test/dev-connector-env-parity.integration.test.ts index e28fd3d39de..c736f1a5142 100644 --- a/packages/cli/test/dev-connector-env-parity.integration.test.ts +++ b/packages/cli/test/dev-connector-env-parity.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 30 — spawns the real producer once per single-cause fixture: three boots in one beforeAll, each a distinct port leg (`os dev -p N`, `os serve --port N`, `os dev -p N` with N held); slowest CI reading 16.35 s (run 40424746941, the first run of its current six-case shape) after the oclif test manifest (PR #26256), x 1.25, rounded up /** * #26130 — on an `os dev` boot, a connector value the config reads from the diff --git a/packages/cli/test/dev-no-watch.pin.test.ts b/packages/cli/test/dev-no-watch.pin.test.ts index 0881d577b04..164623ac315 100644 --- a/packages/cli/test/dev-no-watch.pin.test.ts +++ b/packages/cli/test/dev-no-watch.pin.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 40 — spawns the real producer once per single-cause fixture: three `os dev` spawns in one beforeAll, each a distinct argv and directory on its workspace-orchestration branch; slowest CI reading 24.16 s (run 40392443783) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * PIN (#20681) — `os dev`'s watch opt-out is reachable, and the argv that used diff --git a/packages/cli/test/serve-config-boot-flat-docs.integration.test.ts b/packages/cli/test/serve-config-boot-flat-docs.integration.test.ts index 6ead0686195..4243aad2672 100644 --- a/packages/cli/test/serve-config-boot-flat-docs.integration.test.ts +++ b/packages/cli/test/serve-config-boot-flat-docs.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 60 — spawns the real producer once per single-cause fixture: three `os serve --dev` boots, one per fixture (multi-package, single-package, no owner); slowest CI reading 47.95 s (run 40392443783) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #22405 — a CONFIG boot of a multi-package stack serves the stack's flat diff --git a/packages/cli/test/serve-config-boot-residual.integration.test.ts b/packages/cli/test/serve-config-boot-residual.integration.test.ts index a5cd78f1173..25f41ffd48b 100644 --- a/packages/cli/test/serve-config-boot-residual.integration.test.ts +++ b/packages/cli/test/serve-config-boot-residual.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 240 — spawns the real producer once per single-cause fixture: seventeen spawns of the source CLI in five row beforeAll hooks, each a distinct fixture or flag: eight `os serve` boots read through the metadata and data doors, two refused `os serve` boots, five `os build`, two `os validate`; slowest CI reading 191.07 s (run 40392443783) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #22521 — a CONFIG boot of a multi-package stack answers for the stack's diff --git a/packages/cli/test/serve-host-config-metadata-door.integration.test.ts b/packages/cli/test/serve-host-config-metadata-door.integration.test.ts index a94ecbe521b..4c7e226de65 100644 --- a/packages/cli/test/serve-host-config-metadata-door.integration.test.ts +++ b/packages/cli/test/serve-host-config-metadata-door.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 50 — spawns the real producer once per single-cause fixture: two `os serve` boots of one host config in one beforeAll, the source leg and its compiled twin; slowest CI reading 34.85 s (run 40424746941) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #22989 — `os serve` of a HOST config serves the stack's declared `apis` diff --git a/packages/cli/test/serve-migrate-exit-schema-parity.integration.test.ts b/packages/cli/test/serve-migrate-exit-schema-parity.integration.test.ts index 9d7ef446bad..4063ee846e8 100644 --- a/packages/cli/test/serve-migrate-exit-schema-parity.integration.test.ts +++ b/packages/cli/test/serve-migrate-exit-schema-parity.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 40 — spawns the real producer once per single-cause fixture: two `os serve` migrate-and-exit runs in one beforeAll, the server boot and the --no-server boot whose table sets are compared; slowest CI reading 30.02 s (run 40392443783) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * [#22202] A `--no-server` migrate-and-exit run provisions the SAME table set diff --git a/packages/cli/test/serve-no-auth-secret-refusal.integration.test.ts b/packages/cli/test/serve-no-auth-secret-refusal.integration.test.ts index 9806064922c..e092d807695 100644 --- a/packages/cli/test/serve-no-auth-secret-refusal.integration.test.ts +++ b/packages/cli/test/serve-no-auth-secret-refusal.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 40 — spawns the real producer once per single-cause fixture: ten `os serve` boots, one per case, each a distinct posture (five refused before the kernel starts, five reach ready); slowest CI reading 31.59 s (run 40424746941) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up import { afterAll, beforeAll, describe, expect, it } from 'vitest'; import { spawn, type ChildProcessByStdio } from 'node:child_process'; diff --git a/packages/cli/test/serve-package-declared-capabilities.test.ts b/packages/cli/test/serve-package-declared-capabilities.test.ts index 3d11fdd8a13..8343f915552 100644 --- a/packages/cli/test/serve-package-declared-capabilities.test.ts +++ b/packages/cli/test/serve-package-declared-capabilities.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 90 — spawns the real producer once per single-cause fixture: five `os serve` boots, one per case and per fixture (three reach the banner, two are refused); slowest CI reading 68.81 s (run 40392443783) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #22288 — `os serve` reads a multi-package config's PACKAGE-OWNED keys diff --git a/packages/cli/test/serve-view-container-read.integration.test.ts b/packages/cli/test/serve-view-container-read.integration.test.ts index 7efeb9ec712..280e1b7914a 100644 --- a/packages/cli/test/serve-view-container-read.integration.test.ts +++ b/packages/cli/test/serve-view-container-read.integration.test.ts @@ -1,4 +1,5 @@ // Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. +// test-budget: 50 — spawns the real producer once per single-cause fixture: three spawns in one beforeAll: an `os serve` config boot, the `os build` of its artifact, and the artifact boot; slowest CI reading 36.70 s (run 40424746941) of the two scheduled CI runs after the oclif test manifest (PR #26256: 40392443783, 40424746941), x 1.25, rounded up /** * #22614 — the by-name read of a `defineView` container answers the same on an