Skip to content

test: diagnostics edge cases and exit-code reference conformance (#98 #99 #101 #102) - #258

Merged
dDevAhmed merged 1 commit into
DigiNodes:mainfrom
phertyameen:feature/phertyameen-diagnostics-tests
Oct 18, 2026
Merged

dDevAhmed merged 1 commit into
DigiNodes:mainfrom
phertyameen:feature/phertyameen-diagnostics-tests

Conversation

@phertyameen

@phertyameen phertyameen commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds diagnostics edge-case fixtures and an exit-code reference conformance test that keeps the documented policy aligned with EXIT_CODES.

Closes #98
Closes #99
Closes #101
Closes #102

Testing

  • Extended tests/git-diagnostic.test.ts, tests/rust-diagnostics.test.ts, and tests/docker-diagnostic.test.ts.
  • Added tests/exit-code-reference.test.ts which parses docs/reference/exit-codes.md and compares it to the source constants.
  • Run npm test (Vitest) locally before review.

Security

  • Fixtures assert that raw stderr/secrets are never reflected in diagnostic output.
  • No production behavior or shell fallback is changed.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f877ccec-62ab-455f-9bb8-67ab2493170c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dDevAhmed
dDevAhmed merged commit 797e079 into DigiNodes:main Oct 18, 2026
1 check 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

2 participants