Repository navigation
Conversation
`proofline ci review --junit FILE` writes the retained pull-request review as JUnit XML, the one report format Jenkins, GitLab CI, Buildkite, CircleCI and Azure Pipelines all render as a test report. Each assessment lane is a test suite. An open finding or a blocked check is a failure, an incomplete lane is an error, and a dismissed, accepted or resolved finding passes with its state in the case output. Like SARIF it is a closed projection: no raw API document, no evidence values, no clock. The file does not change the exit code.
Member
|
Codex Closing as out of scope for the CLI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
proofline ci review --junit FILEwrites the retained pull-request review as JUnit XML, next to--sarif FILE, for CI systems that render a test report (Jenkins, GitLab CI and others).environment: <name>), one for the code lane, and areviewsuite only when the review did not complete.SERIOUSorWARNING, with finding ID, domain, citedfile:lineand claim) or aBLOCKEDcheck.state:in its<system-out>.Exit code unchanged:
--fail-onstill decides it, and the file never does.Expiry note: the report reads no clock, so a dismissal or risk acceptance that has expired still passes in the file. The server's
open_itemscount, which--fail-onuses, does honor expiry.Details:
src/junit.rsis a closed projection likesrc/sarif.rsand reuses its subject check andcode_location. A wrong or non-pull-request review is refused before any file is written, also while--timeoutpolls.Findinggains the optionalvalidationfield the API already returns. The claim's first line is the failure message, as the API gives no title.<testcase>carries no<properties>, as in the Jenkinsjunit-10.xsd; review facts are suite properties.Validation: fmt, clippy
-D warnings,cargo test --all-featuresandcargo deny checkpass on 1.98.1.tests/junit.rsruns the binary against a fake console in 10 tests and reads each report with a strict structural reader.