Skip to content

Commit fd00753

Browse files
committed
test(cli): the install-local suites declare their measured spawn budgets
Each file boots `os start` from the tsx source entry two or three times per order of events (one boot to READY is about 20 s), so none can fit the 10 s line. Each declares its budget with the ruled class, from the CI reading where the shape is unchanged and from the local after-reading scaled by the file's own CI-over-local ratio where it changed. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DcLzU9qErDBr5VydWEmHVM
1 parent 1c921cd commit fd00753

7 files changed

Lines changed: 7 additions & 0 deletions

‎packages/cli/test/package-install-local-boot-steps.integration.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 start` boots of the tsx source entry (install, restart on the same home, and the `--artifact` control on its own home, run beside the other two) and one `os package install` run; slowest of three local runs after the control ran beside them 49.1 s, x 1.11 (this file's CI-over-local ratio before: 68.2 s in hourly full battery run 40290659753 over a 61.3 s local median) x 1.25, rounded up; no CI reading of this shape yet
23

34
/**
45
* #21322 — a hot install (`os package install <artifact>` into a RUNNING

‎packages/cli/test/package-install-local-handlers.integration.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: 100 — spawns the real producer once per single-cause fixture: three `os start` boots of the tsx source entry (install and reinstall, restart on the same home, and the `--artifact` control on its own home, run beside the other two) and two `os package install` runs; slowest of three local runs after the control ran beside them 57.5 s, x 1.35 (this file's CI-over-local ratio before: 97.8 s in hourly full battery run 40290659753 over a 72.7 s local median) x 1.25, rounded up; no CI reading of this shape yet
23

34
/**
45
* #21321 — an app installed with `os package install <artifact>` runs its

‎packages/cli/test/package-install-local-hooks.integration.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: 150 — spawns the real producer once per single-cause fixture: two `os start` boots of the tsx source entry on one home (the hot installs, then the rehydrate of an entry an earlier build wrote) and five `os package install` runs, one per package under test; slowest CI reading 114.4 s (hourly full battery run 40290659753, 2026-10-26) x 1.25, rounded up
23

34
/**
45
* #21585 — install-local refuses the code it cannot run: a hook with no `body`,

‎packages/cli/test/package-install-local-jobs-pull.integration.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: 140 — spawns the real producer once per single-cause fixture: two `os start` boots of the tsx source entry on one home (the hot installs, then the rehydrate of an entry an earlier build wrote) and four `os package install` runs, one per package under test; slowest CI reading 107.9 s (run 38335967790, the card's window; the job logs of run 40290659753 read here carry no line for this file) x 1.25, rounded up
23

34
/**
45
* install-local refuses an enabled job whose `pull` cannot bind, as it refuses

‎packages/cli/test/package-install-local-jobs-shared-name.integration.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: 140 — spawns the real producer once per single-cause fixture: two `os start` boots of the tsx source entry on one home (the hot installs and an uninstall, then the rehydrate and a second uninstall) and three `os package install` runs, one per package sharing the job name; slowest CI reading 107.1 s (hourly full battery run 40290659753, 2026-10-26) x 1.25, rounded up
23

34
/**
45
* #21602 — two install-local packages that declare the SAME job name both keep

‎packages/cli/test/package-install-local-jobs.integration.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: 180 — spawns the real producer once per single-cause fixture: three `os start` boots of the tsx source entry (install, restart on the same home, and the `--artifact` control on its own home, run beside the other two) and six `os package install` runs; slowest of three local runs after the control ran beside them 104.4 s, x 1.34 (this file's CI-over-local ratio before: 161.8 s in hourly full battery run 40290659753 over a 120.7 s local median) x 1.25, rounded up; no CI reading of this shape yet
23

34
/**
45
* #21489 — a package's job BODIES run on every door that brings an artifact

‎packages/cli/test/package-install-local-uninstall-cleanups.integration.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: 180 — spawns the real producer once per single-cause fixture: eight `os start` boots of the tsx source entry across four orders of events, each order its own cwd and home and the four run at once, and five `os package install` runs; slowest of three local runs after the orders ran at once 105.5 s, x 1.35 (this file's CI-over-local ratio before: 270.1 s in hourly full battery run 40290659753 over a 200.5 s local median) x 1.25, rounded up; no CI reading of this shape yet
23

34
/**
45
* #21490 — an install-local uninstall (`DELETE /api/v1/marketplace/install-local/:id`)

0 commit comments

Comments
 (0)