Skip to content

fix(tooling): exit non-zero when refresh-stdlib or the test suite fails (#122) - #125

Merged
skydread1 merged 1 commit into
developfrom
fix/refresh-stdlib-exit-code
Aug 4, 2026
Merged

fix(tooling): exit non-zero when refresh-stdlib or the test suite fails (#122)#125
skydread1 merged 1 commit into
developfrom
fix/refresh-stdlib-exit-code

Conversation

@skydread1

@skydread1 skydread1 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Closes #122

  • refresh-stdlib collects compile failures and throws before the copy step, so the committed DLLs stay untouched.
  • test/all and test/run throw when the summary reports failures, so a red suite now fails bb test.

…ls (#122)

Nostrand.Main is void and never sets an exit code, so a task can only fail by
throwing. refresh-stdlib caught each compile failure and carried on, and
test/all just returned the run-tests summary, so both exited 0 and the CI test
step could not fail. check-drift misses a failed refresh too, since a namespace
that was never recompiled produces no byte difference.

refresh-stdlib now throws before the copy step, leaving the committed DLLs
untouched.
@skydread1 skydread1 self-assigned this Aug 4, 2026
@skydread1
skydread1 merged commit eb2d274 into develop Aug 4, 2026
1 check passed
@skydread1
skydread1 deleted the fix/refresh-stdlib-exit-code branch August 4, 2026 06:50
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.

refresh-stdlib exits 0 when namespaces fail to compile

1 participant