mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-19 08:21:17 -05:00
[PR #3026] fix: make validators test failures exit non-zero #14120
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?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/3026
Author: @immanuwell
Created: 5/7/2026
Status: 🔄 Open
Base:
dev← Head:fix-validator-test-exit📝 Commits (1)
0611cebfix: make validators test failures exit non-zero📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
server/lib/validators.test.ts(+1 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Tiny test cleanup:
validators.test.tslogged failures but still exited0.That can make a broken test look green if someone wires it into a script later. Not ideal, lol. This makes it behave like the nearby test files and exit
1on failure.Related: I did not find a direct issue. #2807 is broader test-suite work, this is just the small papercut.
How to test?
Repro the bug shape:
It prints a failure but exits
0.Fixed behavior:
It exits
1, as expected.Checked locally:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.