Skip to content

Make clean-checkout tests build first and cover rollback under root - #18

Merged
jbwinters merged 1 commit into
mainfrom
fix/contributor-test-setup-20261107
Nov 7, 2026
Merged

jbwinters merged 1 commit into
mainfrom
fix/contributor-test-setup-20261107

Conversation

@jbwinters

Copy link
Copy Markdown
Contributor

Running npm test immediately after npm ci previously failed because process and hook tests require compiled dist files. Add pretest build and document that workflow. Replace the chmod-dependent rollback setup with a targeted EACCES write failure, verifying that the plugin is written first and then removed with no adapter/config record left behind; root now exercises the same rollback assertion.

Validation: a worktree starting without dist passed all 470 tests via npm test, plus typecheck, boundary check and all 11 generated plugin files. The rollback case also passed as UID 0 in an isolated Node 22.23.4 container. An independent source review found no blockers. Runtime behavior and the published runtime artifact are unchanged.

@jbwinters
jbwinters merged commit 07e8143 into main Nov 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant