Skip to content

feat: add cargo, go, ssh, jq/yq processors and multi-processor chaining#30

Merged
ppgranger merged 3 commits intomainfrom
feat/new-processors-and-chaining
Mar 28, 2026
Merged

feat: add cargo, go, ssh, jq/yq processors and multi-processor chaining#30
ppgranger merged 3 commits intomainfrom
feat/new-processors-and-chaining

Conversation

@ppgranger
Copy link
Copy Markdown
Owner

@ppgranger ppgranger commented Mar 27, 2026

  • Cargo processor (priority 22): cargo build/check/doc/update/bench with warning grouping by type and full error preservation
  • Go processor (priority 23): go build/vet/mod/generate/install with download collapsing and error grouping
  • SSH processor (priority 43): non-interactive ssh and scp with progress compression, narrowed hook exclusion to interactive-only
  • JQ/YQ processor (priority 44): JSON structure compression via compress_json_value, YAML heuristic summarization
  • Engine chaining: chain_to attribute on Processor base class, _by_name lookup dict, max depth 1 with self-reference guard

What

Why

How

Checklist

  • ruff check . passes
  • ruff format --check . passes
  • python3 -m pytest tests/ -v passes (all 207+ tests)
  • New code has tests (if applicable)
  • No secrets or credentials in the diff

- Cargo processor (priority 22): cargo build/check/doc/update/bench with
  warning grouping by type and full error preservation
- Go processor (priority 23): go build/vet/mod/generate/install with
  download collapsing and error grouping
- SSH processor (priority 43): non-interactive ssh and scp with progress
  compression, narrowed hook exclusion to interactive-only
- JQ/YQ processor (priority 44): JSON structure compression via
  compress_json_value, YAML heuristic summarization
- Engine chaining: chain_to attribute on Processor base class, _by_name
  lookup dict, max depth 1 with self-reference guard
- E741: rename ambiguous variable l -> line
- SIM114: combine if branches with same body using logical or
- PERF402: use list() instead of append loop
- F841: remove unused variables (array_start_idx, current_file)
- ERA001: remove commented-out code
- B007: remove unused loop variable
- PLR5501: use elif instead of else+if
- PERF203: extract try/except out of loop
- I001: sort imports alphabetically
- F541: remove extraneous f-prefix on strings without placeholders
- E501: wrap long lines
@ppgranger ppgranger merged commit 7fa15f0 into main Mar 28, 2026
5 checks passed
@ppgranger ppgranger deleted the feat/new-processors-and-chaining branch March 28, 2026 08:22
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