|
27 | 27 | // fake enterprise package, i.e. stubbing the very thing under test. |
28 | 28 | // |
29 | 29 | // `@objectstack/organizations` is SIMULATED absent here, by the same throwing |
30 | | -// factory the twelve packages below get. That is a change: this file used to let |
| 30 | +// factory the twelve OTHER packages in the block below get. That is a change: this file used to let |
31 | 31 | // the REAL dynamic import fail, which it does — ADR-0132's entitlement boundary |
32 | 32 | // forbids any framework package declaring the name |
33 | 33 | // (`no-framework-dependents.pin.test.ts`), so it is genuinely unresolvable from |
|
50 | 50 | // So each walled case drew from an unbounded, machine-load-dependent |
51 | 51 | // distribution, and a 5000ms per-test budget bounded the DRAW rather than any |
52 | 52 | // work this file is about. Under a parallel shard it timed out on a case that |
53 | | -// asserts a back-compat env-var reading. Scaled repro, same command before and |
54 | | -// after, timeout scaled down instead of load scaled up: with the per-test budget |
55 | | -// at 25ms under filesystem contention, 10 runs of this file failed 6 times |
56 | | -// before this change and 0 times after — and every one of those 10 timeouts |
57 | | -// landed on a WALLED case, never on the single-org case, which runs three |
58 | | -// `init()`s and resolves nothing. That control is what names the construct. |
| 53 | +// asserts a back-compat env-var reading. |
| 54 | +// |
| 55 | +// Scaled repro — same command and same filesystem contention on both sides, |
| 56 | +// with the per-test budget scaled DOWN to 25ms rather than the load scaled up, |
| 57 | +// N=10 runs each side: 6 of 10 runs failed before this change, 1 of 10 after. |
| 58 | +// The CASE-level reading is what names the construct: all 10 timeouts before |
| 59 | +// landed on a WALLED case and none on the single-org case; after, the single |
| 60 | +// remaining timeout WAS the single-org case — which resolves nothing and runs |
| 61 | +// three `init()`s, i.e. the scaled harness's own CPU floor at a 25ms budget, |
| 62 | +// not this construct. ⛔ Do not read that residual as a reason to reach for the |
| 63 | +// budget: at the 5000ms CI actually uses, the whole window is now pure |
| 64 | +// in-process CPU measured at 1–9ms. |
59 | 65 | // |
60 | 66 | // ⛔ Nothing about the absence is given up by the SUITE, only by this file: the |
61 | 67 | // real, unmocked resolution failure is still the signal in |
|
0 commit comments