Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions packages/cli/binding/src/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ pub(crate) async fn execute_check(
if fix && lint_enabled {
args.push("--fix".to_string());
}
// `vp check` parses oxlint's human-readable summary output to print
// unified pass/fail lines. When `GITHUB_ACTIONS=true`, oxlint auto-switches
// to the GitHub reporter, which omits that summary on success and makes the
// parser think linting never started. Force the default reporter here so the
// captured output is stable across local and CI environments.
args.push("--format=default".to_string());
if !lint_enabled && type_check_enabled {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve a parseable lint format for agent runs

When vp check runs under an AI agent environment such as Codex or Claude (CODEX_THREAD_ID, CLAUDE_CODE, etc.), removing the forced format lets oxlint choose its default agent formatter; I checked oxlint v1.70 and default_output_format returns OutputFormat::Agent when is_agent() is true, while the Agent reporter is explicitly “no summary”. analyze_lint_output still requires Found ... and Finished ..., so a successful lint phase is reported as Linting could not start and real diagnostics are classified as startup failures in exactly the environments that run vp check from AGENTS.md. Please keep forcing a parseable format outside GitHub Actions, or explicitly request github only when GITHUB_ACTIONS=true.

Useful? React with 👍 / 👎.

args.push("--type-check-only".to_string());
}
Expand Down
Loading