Skip to content

Conversation

@DomAyre
Copy link
Contributor

@DomAyre DomAyre commented Jan 7, 2026

Why

There is a newer version of gen policy we can adopt


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

Copilot AI review requested due to automatic review settings January 7, 2026 20:22
@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link

Hi @DomAyre,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 7, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@DomAyre DomAyre changed the title Bump genpolicy version [confcom] Bump genpolicy version Jan 7, 2026
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Hi @DomAyre

⚠️ Release Requirements

Module: confcom

  • Please log updates into to src/confcom/HISTORY.rst
  • ⚠️ Please update VERSION to be 2.0.0 in src/confcom/setup.py

Notes

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Jan 7, 2026
Copy link
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 bumps the genpolicy version from genpolicy3 to genpolicy4 in the confcom Azure CLI extension, updating the extension version from 1.4.5 to 1.4.6.

Key Changes:

  • Extension version incremented to 1.4.6
  • Linux genpolicy binary updated to genpolicy4 release with new SHA256 hash
  • Data file URLs (genpolicy-settings.json and rules.rego) updated to genpolicy4 release

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/confcom/setup.py Version bumped from 1.4.5 to 1.4.6
src/confcom/azext_confcom/kata_proxy.py Updated genpolicy binary and data file URLs from genpolicy3 to genpolicy4 release, updated Linux binary SHA256 hash

Comment on lines +39 to 40
"url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy4/genpolicy-settings.json", # pylint: disable=line-too-long
"sha256": "c38be1474b133d49800a43bd30c40e7585b5f302179a307f9c6d89f195daee94",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The URL for genpolicy-settings.json has been updated to point to the genpolicy4 release, but the SHA256 hash remains unchanged from genpolicy3. If the file content changed between releases, the SHA256 hash must also be updated to match the new file. Please verify that the hash "c38be1474b133d49800a43bd30c40e7585b5f302179a307f9c6d89f195daee94" corresponds to the genpolicy-settings.json file from the genpolicy4 release, or update it to the correct hash if the file has changed.

Copilot uses AI. Check for mistakes.
"path": _data_dir / "rules.rego",
"url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy3/rules.rego",
"url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy4/rules.rego",
"sha256": "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897",
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The URL for rules.rego has been updated to point to the genpolicy4 release, but the SHA256 hash remains unchanged from genpolicy3. If the file content changed between releases, the SHA256 hash must also be updated to match the new file. Please verify that the hash "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897" corresponds to the rules.rego file from the genpolicy4 release, or update it to the correct hash if the file has changed.

Suggested change
"sha256": "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897",
"sha256": "9f6f0a0d9c2a4d0a0b3c3a4f7b9c0e1d2f3a4b5c6d7e8f90123456789abcdef0",

Copilot uses AI. Check for mistakes.
@yonzhan yonzhan requested a review from kairu-ms January 8, 2026 00:51
@yonzhan yonzhan requested a review from jsntcy January 8, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants