Skip to content

BugFix: Skip azsecpack test for unsupported distros#4345

Merged
LiliDeng merged 1 commit intomainfrom
bugfix/55204211
Mar 17, 2026
Merged

BugFix: Skip azsecpack test for unsupported distros#4345
LiliDeng merged 1 commit intomainfrom
bugfix/55204211

Conversation

@johnsongeorge-w
Copy link
Copy Markdown
Collaborator

The _is_supported() method only rejected known distros with wrong versions but silently allowed distros not in the supported list (e.g. SLES on ARM64). Added early return for valid distro+version and a fallthrough SkippedException for unlisted distros.

The _is_supported() method only rejected known distros with wrong
versions but silently allowed distros not in the supported list
(e.g. SLES on ARM64). Added early return for valid distro+version
and a fallthrough SkippedException for unlisted distros.
Copilot AI review requested due to automatic review settings March 17, 2026 00:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes AzSecPack’s distro support gating so the test is skipped (instead of silently proceeding) when the OS distro isn’t in the supported list (notably impacting unsupported combinations like SLES on ARM64).

Changes:

  • Return early from _is_supported() when the distro+major version is explicitly supported.
  • Add a fallthrough SkippedException(UnsupportedDistroException(...)) when the distro is not in the supported list.

You can also share your feedback on Copilot code review. Take the survey.

@LiliDeng LiliDeng merged commit 0820681 into main Mar 17, 2026
62 checks passed
@LiliDeng LiliDeng deleted the bugfix/55204211 branch March 17, 2026 01:27
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.

3 participants