chore: script/bootstrap can report success while leaving playwright-core unlinked #263
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On a fresh clone,
script/bootstrapprintedbootstrap completebut the firstmake test-e2edied withCannot find module 'playwright-core'. A plainyarn install --frozen-lockfilefixed it in 0.76s.Observed once and not reproducible on a second attempt, so this is filed as a suspected flake in
install_js_depsrather than a confirmed defect. Recording it rather than dropping it because the failure mode is expensive: bootstrap reports success, so the natural reading of the subsequent error is that the e2e harness itself is broken, not that dependencies are half-installed.Implementation requirements
install_js_depscan exit 0 with an incompletenode_modules— check whether anyyarninvocation's exit status is discarded, and whether the workspace layout matters (/srv/code/package.jsondeclares yarn workspaces, so a clone made inside that tree hoists into a sharednode_modules, which is a plausible source of this).yarn install.Definition of done
script/bootstrapcannot report success while a dependency the test targets need is unresolvable.TODO.mdupdated in the same commit.make checkpasses.