Skip to content

feat: Make CLI verify more robust - #415

Merged
martin-majlis merged 3 commits into
masterfrom
2026-03-02-make-verify-more-robust
Mar 2, 2026
Merged

martin-majlis merged 3 commits into
masterfrom
2026-03-02-make-verify-more-robust

Conversation

@martin-majlis

@martin-majlis martin-majlis commented Mar 2, 2026 •

Copy link
Copy Markdown
Owner

Make CLI Verify More Robust

Summary

Enhances CLI verification to distinguish between small output differences (<5% word count) and actual test failures, making the system more practical for day-to-day development.

Key Changes

  • Smart mismatch detection: Categorizes output differences as "small mismatches" vs "failed tests"
  • Enhanced GitHub Actions: CLI workflow now tracks metrics and auto-triggers recording when mismatches exceed thresholds
  • Fixed workflows: Code quality and release workflows now run unit tests only (make run-tests-unit)
  • Updated documentation: Added new CLI test commands and improved AGENTS.md

Files Modified

  • .github/workflows/cli-test.yml - Enhanced verification logic
  • .github/workflows/code-quality.yml & release.yml - Fixed test commands
  • tests/cli/test_cli.sh - Smart mismatch detection algorithm
  • AGENTS.md & Makefile - Updated documentation and new targets

This reduces false positives while maintaining test integrity.

@martin-majlis
martin-majlis force-pushed the 2026-03-02-make-verify-more-robust branch from e8822d7 to 915e4af Compare March 2, 2026 19:33
@martin-majlis
martin-majlis force-pushed the 2026-03-02-make-verify-more-robust branch from 915e4af to 734710f Compare March 2, 2026 20:20
@martin-majlis
martin-majlis merged commit eac9bad into master Mar 2, 2026
34 checks passed
@martin-majlis
martin-majlis deleted the 2026-03-02-make-verify-more-robust branch March 2, 2026 20:33
@codecov

codecov Bot commented Mar 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.01%. Comparing base (7a67842) to head (a64aada).
⚠️ Report is 164 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #415   +/-   ##
=======================================
  Coverage   70.01%   70.01%           
=======================================
  Files           2        2           
  Lines         697      697           
=======================================
  Hits          488      488           
  Misses        209      209           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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