The bug-1367 install test ran install.js without building hooks/dist (a gitignored build artifact). The unit lane's ensureBuiltArtifacts() builds only bin/lib, not hooks — so on a lane without pre-built hooks the installer's verifyInstalled(hooks) found the dir empty and hard-failed 'directory is empty', throwing in before() → hookFailed → L0-L5 cancelledByParent cascade on the Windows CI lane. Build hooks in before() via scripts/build-hooks.js (mirrors golden-install-parity's BUILD_SCRIPT pattern). Self-contained — no lane-ordering dependency. Closes #1926
6 lines
466 B
Markdown
6 lines
466 B
Markdown
---
|
|
type: Fixed
|
|
pr: 1927
|
|
---
|
|
**bug-1367 install test no longer fails on Windows CI when hooks/dist isn't pre-built** — the test ran install.js without building its hooks/dist precondition (a gitignored build artifact the unit lane doesn't build), so on a lane without pre-built hooks the installer hit "Failed to install hooks: directory is empty" and the before-hook threw. The test now builds hooks in its own before() (mirroring golden-install-parity). (#1926)
|