Repository navigation
test: read the Node binary before the first unit test worker starts - #1870
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 30, 2026
#1870 reads the Node binary before the first worker starts, which removes the stall the per-file Intl setup worked around: the ICU data lives in that binary, and module loading stalled on the same reads.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs with-hide/hide-private#354
Summary
Windows CI의 web unit suite에서 처음 도는 테스트 파일(MissionMap, PaneHeaderBand, SessionRecord)이 가끔 12-18초 멈춰 5초 timeout으로 실패했습니다.
관측: vitest는 테스트 파일마다 새 Node 프로세스를 띄우고, Windows runner의 Node는 느린 시스템 디스크(C:)에 있습니다. 첫 wave 프로세스들은 Node 실행 파일(83 MB)을 첫 테스트의 시간 제한 안에서 수천 번의 작은 읽기로 디스크에서 읽습니다.
이 PR(완화): vitest 자신의 프로세스가 worker를 띄우기 전에 Node 실행 파일을 한 번 통째로 읽어, 첫 wave의 그 차가운 읽기를 테스트 밖으로 뺍니다(
web/e2e/unit-node-binary.ts). timeout과 retry는 그대로입니다.미확정: 이 차가운 읽기가 12-18초 정지의 원인이라는 인과는 확인하지 못했습니다. 실패한 run의 정지 구간을 trace로 잡은 적이 없어서, #354는 열어 두고 이 PR 뒤 main에서 다시 나오면 trace로 그 구간의 대기를 잡습니다.
범위 밖: C:를 느리게 만드는 runner 자신의 유지보수(Defender 업데이트, Windows Update, VSS)는 with-hide/hide-private#372.
Review
web/vite.config.ts-globalSetup이 web unit suite 전체 앞에 실립니다. desktop suite(desktop/vitest.config.ts)는 그대로입니다.Evidence
bounded-child.unit.ts의lld-link did not end2번(base 1, 고침 1)은 C: 유지보수 폭주로 Observe terminal input and announce Windows fixture readiness #372.windows check는web/vite.config.ts변경으로 이 PR의 계획에 들어갑니다(scripts/ci-plan.py). 같은 커밋에서 다시 돌리려면gh run rerun <run> --job <windows check job id>.Verification record
1e8355e40, headacd3ea806(코드는bf41323a1과 같고 주석과 문서 표현만 바뀜)scripts/verify-web.sh web lint통과,scripts/verify-web.sh web test(MissionMap, PaneHeaderBand, SessionRecord 89 tests) 통과