You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 24c4208
Browse filesBrowse the repository at this point in the historyBrowse files
test(dogfood): time the package-less tool row pin's reads, not its three installs
The AI-family pin saved two rows and ran three install-locals inside one
`it`, so vitest's default 5 s test clock timed loading: each install
re-syncs the whole showcase (~0.9 s idle), and under queue shard load the
test crossed 5 s. The saves and installs move to a nested describe's
beforeAll with a loading budget; the before/after-hydrator reads become
two its with unchanged assertions.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRabTH2KkTRU4d62Uq
* ~0.9 s apiece on an idle box; the setup was ~2.8 s of a ~3.1 s test, and
386
+
* under merge-queue shard load the single `it` crossed vitest's default 5 s
387
+
* test clock (2.2–4.4 s green, 5.0–5.1 s red). The hook's budget is a
388
+
* loading budget, like the boot hook's above.
380
389
*/
381
-
it('[#31985] a package-less tool row saved before two namespaces\' packages install the name is declined at each holder\'s exact address, both install orders, before and after the hydrator; the bare read refuses naming both',async()=>{
390
+
describe('[#31985] a package-less tool row saved before two namespaces\' packages install the name',()=>{
for(constwhenof['before the hydrator','after the hydrator']){
410
+
411
+
// In declaration order: the second runs the hydrator (`GET /meta/tool`) first.
412
+
it.each(['before the hydrator','after the hydrator'])('%s: it is declined at each holder\'s exact address, both install orders; the bare read refuses naming both',async(when)=>{
398
413
if(when==='after the hydrator')expect((awaitstack.apiAs(admin,'GET','/meta/tool')).status).toBe(200);
0 commit comments