Skip to content

Polish impact CLI output#28

Merged
V3RON merged 1 commit into
masterfrom
feat/cli-impact-output
Jul 3, 2026
Merged

Polish impact CLI output#28
V3RON merged 1 commit into
masterfrom
feat/cli-impact-output

Conversation

@V3RON

@V3RON V3RON commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What is this?

This PR makes sniffler impact output easier to scan in a terminal. Instead of printing every changed file, affected module, dependency path, and warning inline, the text reporter now presents selected E2E tests first and follows with a compact summary inspired by Vitest/Jest-style CLI output.

How does it work?

The text renderer now formats each selected test with a status icon and a short reason using depends on affected language. Summary rows report the number of selected tests, changed files, affected modules, and warnings. Warning details stay out of the default text output; when warnings exist, the CLI either suggests rerunning with --diagnostics or shows .sniffler/diagnostics.json when diagnostics were produced. JSON output keeps the existing detailed structure for automation and debugging.

Why is this useful?

The impact command now optimizes for the decision developers need to make first: which E2E tests should run. It still surfaces warning and diagnostics information, but without flooding normal CLI output with low-level graph details. Reviewers and CI users can keep using JSON output for full details, while humans get a cleaner terminal report.

Replace verbose impact text output with a compact reporter-style summary, warning counts, and diagnostics path guidance.
@V3RON V3RON merged commit c5ab941 into master Jul 3, 2026
6 checks passed
@V3RON V3RON deleted the feat/cli-impact-output branch July 3, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant