Expand description
Exit-code mapping (FR-011, FR-012): 0 clean, 1 policy violation, 2 execution error.
Enums§
- Execution
Outcome - Whether a
checkrun’s execution hit a registry/parse failure independent of any--fail-onpolicy violation.
Constants§
- EXIT_
CLEAN - The process exited cleanly: no finding matched the
--fail-onpolicy. - EXIT_
EXECUTION_ ERROR - A registry required by a non-offline run was unreachable, or another execution error
occurred (a malformed
deps.toml, an unreadable explicitly-given manifest path, …). - EXIT_
POLICY_ VIOLATION - At least one finding matched the
--fail-onpolicy.
Functions§
- exit_
code - Computes the process exit code for a completed
checkrun. - update_
exit_ code - Computes the process exit code for a completed
updaterun (spec §5’s exit-code table, as amended by S3 — see below).