Skip to content

[azure-iot] Align wait and migration lint exclusions - #10441

Merged
JaysonTaiMicrosoft merged 2 commits into
Azure:mainfrom
HangyiWang:add-azure-iot-wait-lint-exemptions
Oct 8, 2026
Merged

JaysonTaiMicrosoft merged 2 commits into
Azure:mainfrom
HangyiWang:add-azure-iot-wait-lint-exemptions

Conversation

@HangyiWang

@HangyiWang Hangyi (HangyiWang) commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Add six existing azure-iot require_wait_command_if_no_wait exclusions:

  • dt endpoint create: already has parent-level dt endpoint wait.
  • iot dps linked-hub, iot dps policy, and iot hub policy: mutations use parent-resource LROs, not independently provisioned child resources.
  • iot adr ns report: generation uses an LRO; the latest report is not operation-completion status.
  • iot hub: retain the existing wait-by-default / --no-wait interface without adding a standalone waiter.

Add the existing no_ids_for_list_commands exclusion for iot hub topic-group list: --ids identifies the parent IoT Hub whose topic groups are listed.

Correct two rule exclusions keys to rule_exclusions for the origin/destination resource-group options on iot hub state migrate.

Only lint configuration changes; no command or src/index.json changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 22:49
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Auto-Assign Auto assign by bot label Oct 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The narrowly scoped configuration changes match the stated intent and have no identified blocking issues.

Review effort: Balanced
Findings: None

What changed in this PR

Aligns azure-iot lint exclusions with existing command behavior without changing commands or src/index.json.

Changes:

  • Adds six require_wait_command_if_no_wait exclusions.
  • Corrects two rule_exclusions keys for resource-group parameters on iot hub state migrate.
File Description
linter_exclusions.yml Adds wait-rule exclusions and fixes migration parameter exclusion keys.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yonzhan

Copy link
Copy Markdown
Collaborator

azure-iot

Align the existing IoT exemption for listing topic groups within an ARM-identified Hub.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JaysonTaiMicrosoft
JaysonTaiMicrosoft merged commit a2924cf into Azure:main Oct 8, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants