Repository navigation
feat: add advisory linter compatibility checks to CI and release - #920
Hangyi (HangyiWang) merged 2 commits into
Conversation
Check the candidate wheel with merged index exclusions, report provenance and lint findings, and keep release approval dependencies unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Whitespace-sensitive parser guards can incorrectly report incomplete or unrecognized lint failures as a clean pass.
Review effort: Balanced
Findings: 1
What changed in this PR
Adds a shared advisory check for candidate-wheel compatibility with the merged extension index, without changing existing CI or release approval gates.
Changes:
- Reuses the built wheel in an isolated compatibility workflow.
- Publishes findings, exclusion differences, logs, and provenance.
- Adds checker tests and contributor guidance.
| File | Description |
|---|---|
| scripts/check_index_compatibility.py | Validates the environment and wheel, runs lint, and produces reports. |
| CONTRIBUTING.md | Documents advisory behavior and release review guidance. |
| azext_iot/tests/test_index_compatibility_unit.py | Tests parsing, isolation, reporting, and workflow wiring. |
| .github/workflows/release_workflow.yml | Adds the advisory release job. |
| .github/workflows/index_compatibility.yml | Defines the shared isolated check and artifact publishing. |
| .github/workflows/ci_workflow.yml | Adds the advisory CI job. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Azure SRE Agent - automated reviewReviewing Adds an advisory Blocking None. Suggestions
Nits
Checked and clean
This is an automated review and may be incomplete. |
54a3e77
into
release/1.1.0-preview

When we add entries to our
linter_exclusions.ymlwithout updating the corresponding exclusions inAzure/azure-cli-extensions, extension-index CI can fail even when our own linter passes.This PR adds an advisory compatibility check to PR CI and the release workflow. It highlights lint findings and local-only exclusions so we can identify whether a separate upstream PR is needed before merging or releasing.
The check remains non-blocking: HIGH findings and tool failures show red, while MEDIUM-only findings produce warnings. Existing required checks and release approval gates are unchanged.
