Skip to content

feat(az): add Azure CLI filter support - #4339

Open
jabular wants to merge 3 commits into
rtk-ai:developfrom
jabular:feat/az-cli-support
Open

jabular wants to merge 3 commits into
rtk-ai:developfrom
jabular:feat/az-cli-support

Conversation

@jabular

@jabular jabular commented Sep 28, 2026

Copy link
Copy Markdown

Ports the az filter work from stale PR #1209 onto current develop. Specialized compact filters for az pipelines build/runs (list/show), az devops invoke --resource timeline|logs, and az account get-access-token (token masked). Unspecialized az subcommands fall back to a value-preserving generic JSON compressor that prunes Azure DevOps noise keys and caps array length, rather than the schema-only extractor the original PR draft had used.

discover/rules.rs had diverged heavily from the PR's branch point, so this reimplements just the az rule/wiring on top of current develop instead of merging the stale branch.

Summary

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected

Important: All PRs must target the develop branch (not master).
See CONTRIBUTING.md for details.

Ports the az filter work from stale PR rtk-ai#1209 onto current develop.
Specialized compact filters for az pipelines build/runs (list/show),
az devops invoke --resource timeline|logs, and az account
get-access-token (token masked). Unspecialized az subcommands fall
back to a value-preserving generic JSON compressor that prunes Azure
DevOps noise keys and caps array length, rather than the schema-only
extractor the original PR draft had used.

discover/rules.rs had diverged heavily from the PR's branch point, so
this reimplements just the az rule/wiring on top of current develop
instead of merging the stale branch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Sep 28, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@rtk-wshm-sync-bot rtk-wshm-sync-bot Bot added feature filter-quality Filter produces incorrect/truncated signal az cloud labels Sep 28, 2026
@rtk-wshm-sync-bot

Copy link
Copy Markdown

wshm · Automated triage by AI

📊 Automated PR Analysis

✨ Type feature
🟡 Risk medium

Summary

Adds Azure CLI (az) support to the codebase's command output compression tool, with specialized filters for az pipelines build/runs, az devops invoke (timeline/logs), and az account get-access-token (token masked), plus a generic value-preserving JSON compressor fallback for other az subcommands. Ports and adapts work from a stale earlier PR (#1209) onto the current develop branch due to divergence in discover/rules.rs, and updates docs/architecture references accordingly.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

az cloud feature filter-quality Filter produces incorrect/truncated signal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants