Feature Request: CI/CD non-interactive mode with JSON output and exit codes #95
tailorgunjan93
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Feature Request: CI/CD Non-Interactive Mode
Problem
git-lrc currently requires an interactive terminal and browser. This makes it
impossible to use in automated pipelines (GitHub Actions, GitLab CI, Jenkins).
This has also been requested in the community previously.
Proposed Solution
Add a
--ciflag for fully non-interactive review with structured output:Output Format (JSON)
{ "commit": "a3f9c12", "coverage": 87, "iterations": 1, "issues": [ { "file": "src/auth.go", "line": 42, "severity": "high", "message": "Possible SQL injection via unsanitized input" } ], "verdict": "fail" }Exit Codes
012GitHub Actions Example
Implementation Notes
--cimode: no browser launch, no BubbleTea TUI, stdout onlyreviewdbSQLite store can still log CI results locallydecisionflow.gostate machine works as-is; just skip interactive promptsAll reactions