Repository navigation
test(layout): drop the stale switchedBuild warm-up left by two crossing merges - #33931
brennanb2025 wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review.
|
|
Main's static analysis and typecheck failed because two crossing test-only merges left a Light-path review: one independent adversarial reviewer checked the complete diff and recent history; no findings, fixes or deferrals. Static imports still load the runtime and RPC registry before test execution, outside each test's timeout, so the cold-import protection is retained. All 25 tests and their assertions remain. Verified on For Brennan's review: the retained static imports preserve the once-per-file runtime load. No visual change. |
|
Closing: #33934 merged the same fix (main's workspace-layout-paired-desktop.test.ts now matches this branch exactly). |
Main's static analysis and typecheck job fails on every PR because
workspace-layout-paired-desktop.test.tscalls a function that no longer exists.What broke. Two test-only changes to this file merged minutes apart and crossed. #33919 replaced the per-test
switchedBuild()helper with static imports that load the runtime and RPC registry once. #33923, written against the older file, added abeforeAllthat warms the runtime by callingswitchedBuild(true). After both merged, that call refers to a deleted function, so typecheck fails.Fix. Remove the stale
beforeAlland its comment. #33919's static imports already pay the runtime graph's cold transform once, at module load and outside any test's timeout, which is what #33923's warm-up was for. Test-only; no shipped file changes.Verified: the file's 25 tests pass locally through the named-test runner.
Author: @BrennanKB5
Plan: remove the obsolete hook while keeping the static runtime and RPC-registry imports, then verify the named tests and exact-head CI.
Light-path classification:
QA classification: only tests change, so the review skill's table gives
qa=none; no running-app QA or screenshot is required.