Repository navigation
test(cli): stop the chDB streak test leaking exit code 78 - #3271
Merged
Merged
Maple Review Bot / Maple / review
succeeded
Dec 4, 2026 in 45s
Confidence 10/10 · No issues found
🟢 Confidence 10/10 · safe to merge. One-line test fix that matches the existing ?? 0 pattern in expected-outcomes.test.ts:38; nothing in production code changes.
no findings · tests not needed · risk low
The streak test now restores process.exitCode to 0 instead of assigning undefined, so the 78 a chDB refusal sets can no longer leak into the CLI test job. Correct and safe to merge.
What was checked
expected-outcomes.test.ts:38already restores withpreviousExitCode ?? 0, so this follows the file's own conventionin-memory-store.test.tssaves and restoresexitCodein exactly one place (:151,:156)- A non-zero saved code is preserved; only the
undefinedcase is coerced to the default0
08f1732 · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading