Skip to content

fix(ci): point the validator test step at the test files - #17

Merged
Paururo merged 1 commit into
mainfrom
fix/validator-test-invocation
Aug 16, 2026
Merged

fix(ci): point the validator test step at the test files#17
Paururo merged 1 commit into
mainfrom
fix/validator-test-invocation

Conversation

@Paururo

@Paururo Paururo commented Aug 16, 2026

Copy link
Copy Markdown
Member

node --test .github/scripts/ treats the directory as a module to execute and dies with MODULE_NOT_FOUND. The step failed for its own reasons on its first real run, before it could check anything, so the marker validation never reached the proposal.

The command was never run in the form the workflow used: it was verified locally as cd .github/scripts && node --test, which discovers test files in the current directory, then written into the workflow as a path argument, which does not.

Naming the files works, and was checked in both directions: exit 0 with the validator intact, exit 1 with the single-character allele bug reintroduced. The step still gates the comment on the tests actually passing.

`node --test .github/scripts/` treats the directory as a module to execute and
dies with MODULE_NOT_FOUND, so the step failed for its own reasons on its first
real run, before it could check anything. The marker validation never got as far
as reading the proposal.

The command was never run in the form the workflow used. It was verified locally
as `cd .github/scripts && node --test`, which discovers test files in the
current directory, and then written into the workflow as a path argument, which
does not.

Naming the files works, and was checked in both directions: it exits 0 with the
validator intact and 1 with the single-character allele bug reintroduced, so the
step still gates the comment on the tests actually passing.
@github-actions github-actions Bot added the area:ci Workflows, checks and repository automation label Aug 16, 2026
@Paururo Paururo added the area:markers Marker panels, their format and their validation label Aug 16, 2026
@Paururo
Paururo merged commit 813a02c into main Aug 16, 2026
4 checks passed
@Paururo
Paururo deleted the fix/validator-test-invocation branch August 16, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Workflows, checks and repository automation area:markers Marker panels, their format and their validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant