Skip to content

docs(audits): RERR_* exit-code full coverage matrix (#2114) - #3917

Merged
oferchen merged 1 commit into
masterfrom
audits/rerr-exit-code-matrix
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
audits/rerr-exit-code-matrix

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Audit of every upstream RERR_* exit code against crates/core/src/exit_code/codes.rs with file:line trigger sites for each variant.
  • Identifies gaps: LogFileAppend (6) is non-upstream and dead; Unsupported, MessageIo, Ipc, Crashed, Terminated, Signal1, CommandRun have no production triggers.
  • Concrete test plan extending tests/exit_codes.rs to drive each unreached RERR_* end-to-end.

Test plan

  • Reviewers confirm trigger-site references match HEAD
  • Follow-up issue tracks dropping LogFileAppend and wiring the listed gap variants

Tabulate every upstream RERR_* code, the matching ExitCode variant,
production trigger sites, gaps, and the end-to-end tests needed in
tests/exit_codes.rs to reach full coverage.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit f20e6e9 into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the audits/rerr-exit-code-matrix branch May 8, 2026 03:50
oferchen added a commit that referenced this pull request May 18, 2026
Tabulate every upstream RERR_* code, the matching ExitCode variant,
production trigger sites, gaps, and the end-to-end tests needed in
tests/exit_codes.rs to reach full coverage.
oferchen added a commit that referenced this pull request Aug 24, 2026
Tabulate every upstream RERR_* code, the matching ExitCode variant,
production trigger sites, gaps, and the end-to-end tests needed in
tests/exit_codes.rs to reach full coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant