diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a11a7e..5537ecf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ the JSON schema is versioned separately (`schema_version` in round files). ## Unreleased +### Interop with overfull 4.0 + +- `docs/interop.md` records overfull 4.0's exit code `70` for internal errors + (`EX_SOFTWARE`); `2` is now a usage error only in both tools. Still Interop v1: a + new tool-specific code is additive. + ### Maintenance - Dependabot sends one weekly pull request for every ecosystem (GitHub Actions, diff --git a/docs/interop.md b/docs/interop.md index e19e178..ee1b17b 100644 --- a/docs/interop.md +++ b/docs/interop.md @@ -78,7 +78,7 @@ the item's confidence is `exact`, or when the item has no confidence field. |---|---|---|---| | `0` | Success, nothing needs action | Success | Pass | | `1` | The tool found something that needs action | Open items remain (only with `--fail-on-open`) | A check failed, or nothing was checked | -| `2` | Usage error | Usage error | Usage error or internal error | +| `2` | Usage error | Usage error | Usage error | Codes above `2` are specific to one tool: @@ -86,6 +86,7 @@ Codes above `2` are specific to one tool: |---|---|---| | `3` | proofback | Unreadable or invalid input | | `4` | proofback | Refused write (changed anchor, encoding, path outside the project) | +| `70` | overfull | Internal error (`EX_SOFTWARE`), since overfull 4.0 | A consumer treats any code other than `0`, `1` and `2` as a failure of the run, and reads the tool's own documentation for the detail. @@ -143,13 +144,13 @@ Current output of each tool compared with this specification. ### overfull -Tracked in overfull issue 136 (fixed in overfull 3.3.0); listed here so both files agree. +Tracked in overfull issues 136 (fixed in 3.3.0) and 142 (fixed in 4.0); listed here so both files agree. | # | Difference | Kind | Resolution | |---|---|---|---| | O1 | `Problem.location` had no `column`, `end_line`, `end_column` | Additive | Fixed in 3.3.0: the location object has all six fields; `anonymity-link`, `figure-missing-alt` (TikZ) and PDF findings placed by proofback's locator fill the range; SARIF regions carry them | | O2 | The report had no `schema_version` | Additive | Fixed in 3.3.0: every `--json` object starts with `tool`, `version` and `schema_version` (`1`) | -| O3 | Exit code `2` covers both usage and internal errors | Changes an exit code | Recorded; a separate internal-error code waits for v4 (overfull issue 142) | +| O3 | Exit code `2` covered both usage and internal errors | Changes an exit code | Fixed in 4.0: internal errors exit with `70`; `2` is a usage error only | | O4 | SARIF results have no `partialFingerprints` | Allowed by §4 (no stable id) | No change | | O5 | `explain --list --json` prints an array, so it cannot carry the top-level fields | Allowed: §5 covers JSON objects only | No change |