Skip to content

feat(zeph-tools): expand declarative filter coverage to 25 rules#736

Merged
bug-ops merged 2 commits intomainfrom
feat/expand-filter-coverage
Feb 21, 2026
Merged

feat(zeph-tools): expand declarative filter coverage to 25 rules#736
bug-ops merged 2 commits intomainfrom
feat/expand-filter-coverage

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 21, 2026

Summary

  • Add 6 new TOML filter rules: find, grep/rg, curl/wget, du/df/ps, jest/mocha/vitest, eslint/ruff/mypy/pylint/flake8
  • Add behavior tests for all 13 previously untested rules (git-log, git-push, ls, docker-build, docker-compose, npm-install, pip-install, make, pytest, go-test, terraform-plan, kubectl-get, brew-install)
  • Add 3 edge case tests (truncate at threshold, dedup cap hit, strip_annotated missing summary)
  • Total: 25 rules, 2306 tests passing

Test plan

  • cargo +nightly fmt --check
  • cargo clippy --workspace -- -D warnings
  • cargo nextest run --workspace --lib --bins (2306 passed)
  • All 25 rules have dedicated behavior tests

Closes #722, closes #725, closes #726, closes #727, closes #732, closes #733
Part of #717

@github-actions github-actions bot added documentation Improvements or additions to documentation rust enhancement New feature or request size/XL labels Feb 21, 2026
…t, linter

Expand declarative filter coverage from 19 to 25 rules:
- find: truncate(100, head=20, tail=10)
- grep/rg: truncate(80, head=30, tail=10)
- curl/wget: strip_noise (progress bars, connection info)
- du/df/ps: truncate(50, head=20, tail=5)
- jest/mocha/vitest: truncate(100, head=20, tail=30)
- eslint/ruff/mypy/pylint/flake8: truncate(80, head=20, tail=15)

Closes #722, closes #725, closes #726, closes #727, closes #732, closes #733
Cover 13 previously untested TOML rules (git-log, git-push, ls,
docker-build, docker-compose, npm-install, pip-install, make, pytest,
go-test, terraform-plan, kubectl-get, brew-install) with matcher
verification and filter behavior assertions.

Add 3 edge case tests: truncate at exact threshold returns Fallback,
dedup cap hit reports capped state, strip_annotated with missing
summary line handles gracefully.
@bug-ops bug-ops force-pushed the feat/expand-filter-coverage branch from b5577d2 to 99e3efa Compare February 21, 2026 16:24
@bug-ops bug-ops linked an issue Feb 21, 2026 that may be closed by this pull request
6 tasks
@bug-ops bug-ops enabled auto-merge (squash) February 21, 2026 16:26
@bug-ops bug-ops merged commit db4c078 into main Feb 21, 2026
20 checks passed
@bug-ops bug-ops deleted the feat/expand-filter-coverage branch February 21, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request rust size/XL

Projects

None yet

1 participant