instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
AzureAD__microsoft-authentication-library-for-python__315
AzureAD/microsoft-authentication-library-for-python
315
defect
78e9ccfab7c16154ba38c0de78c495ba2ee58849
32d524a03055ae5a7268f4bf393286c74479d18c
Keep RT even during invalid_grant
This should help in the scenarios when only some of the scope or tenant requires MFA. This would resolve #314
diff --git a/msal/application.py b/msal/application.py index 9fcad59a..e61ace98 100644 --- a/msal/application.py +++ b/msal/application.py @@ -918,11 +918,15 @@ def _acquire_token_silent_by_finding_specific_refresh_token( client = self._build_client(self.client_credential, authority) response = None...
2
1
1
[{"id": "G0", "claim": "The PR could additionally store tenant ID in the RT entry and select a refresh token by best match instead of iterating over entries.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This PR should implement a last_modification_time f...
null
AzureAD__microsoft-authentication-library-for-python__395
AzureAD/microsoft-authentication-library-for-python
395
defect
e969e646a2844c403193c525f9e1093e9e45d81a
a3f3c9156bb8cccea93080b9077e342d0d545ef5
Implementing CCS Routing info
The implementation is based on a follow-up conversation in this [internal design PR](https://identitydivision.visualstudio.com/DevEx/_git/AuthLibrariesApiReview/pullrequest/3304). This PR will resolve #376.
diff --git a/msal/application.py b/msal/application.py index d6fb131a..c3bd3e7e 100644 --- a/msal/application.py +++ b/msal/application.py @@ -590,6 +590,8 @@ def initiate_auth_code_flow( self._client_capabilities, claims_challenge), ) flow["claims_challenge"] = claims_challenge +...
3
1
1
[{"id": "G0", "claim": "The CCS routing header prefixes should be lowercase (\"upn:\" and \"oid:\" instead of \"UPN:\" and \"Oid:\") in the implementation and its test expectations.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CCS routing head...
null
AzureAD__microsoft-authentication-library-for-python__420
AzureAD/microsoft-authentication-library-for-python
420
defect
45499ff5a4ba1afbb71ed95aa5491f924f39dbba
f82a447dd2c0e226503b6d172c230d20e51ec502
acquire_token_interactive(..., prompt="none") acquires token via Cloud Shell's IMDS-like interface
The changes in this proof-of-concept is to allow a typical [3-step pattern](https://github.com/AzureAD/microsoft-authentication-library-for-python#usage) MSAL app to automatically utilize the IMDS-like interface when that app happens to be running inside Cloud Shell. Note to target audience (@jiasli ): * Starting...
diff --git a/msal/application.py b/msal/application.py index 3651d216..36be233b 100644 --- a/msal/application.py +++ b/msal/application.py @@ -29,6 +29,7 @@ __version__ = "1.15.0" logger = logging.getLogger(__name__) +_CLOUD_SHELL_USER = "current_cloud_shell_user" def extract_certs(public_cert_content): @@ -11...
3
2
1
[{"id": "G0", "claim": "MSAL detects Cloud Shell via AZUREPS_HOST_ENVIRONMENT while Azure CLI uses ACC_CLOUD; is there a best practice for detecting Cloud Shell (implying MSAL should use the standard env var)?", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ...
null
AzureAD__microsoft-authentication-library-for-python__511
AzureAD/microsoft-authentication-library-for-python
511
defect
545e856124985da4758530ab811d2c137fa8e333
f36991a77d4e201cecd5cfc4b7cea3a85214e574
AT POP for Public Client based on broker
This is the implementation of the [internal work item](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1791492), and [this internal design doc](https://identitydivision.visualstudio.com/DevEx/_git/AuthLibrariesApiReview?path=/PoPTokensProtocol/PoP_API_In_MSAL.md&_a=preview). Currently, this PR pr...
diff --git a/msal/application.py b/msal/application.py index 916f7170..b2bd9fd1 100644 --- a/msal/application.py +++ b/msal/application.py @@ -1204,6 +1204,7 @@ def acquire_token_silent( authority=None, # See get_authorization_request_url() force_refresh=False, # type: Optional[boolean] ...
6
4
2
[{"id": "G0", "claim": "The ValueError raised when auth_scheme is passed without a broker should include more details, such as how to enable the broker and add a redirect uri, or an aka.ms link.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If a ...
null
AzureAD__microsoft-authentication-library-for-python__596
AzureAD/microsoft-authentication-library-for-python
596
defect
a8476fbe665356aae60e65296337d9eff86d0d66
51b6ec1b82347acc6a29a0a0fbd40a662dca3853
Integration with Broker-on-Mac
This PR has been tested by an internal bug bash. ~It will remain as a draft until the dependency `PyMsalRuntime 0.14` is released on PyPI.~ This PR depends on [`PyMsalRuntime 0.17`](https://pypi.org/project/pymsalruntime/0.17.0/) for its full support for SSH Cert and ROPC.
diff --git a/msal/__main__.py b/msal/__main__.py index ca8b9a87..30242d75 100644 --- a/msal/__main__.py +++ b/msal/__main__.py @@ -185,13 +185,15 @@ def _main(): {"client_id": _AZURE_CLI, "name": "Azure CLI (Correctly configured for MSA-PT)"}, {"client_id": _VISUAL_STUDIO, "name": "Visual Studio (Corr...
2
2
1
[{"id": "G0", "claim": "The PR should opt in to the broker through OS-explicit flags (enable on Windows, enable on Mac, etc.) rather than one platform-agnostic flag, and should ensure an app using the Windows broker today is not broken when run on Mac.", "category": "design", "verdict": "supported", "priority": "P1", "...
null
AzureAD__microsoft-authentication-library-for-python__666
AzureAD/microsoft-authentication-library-for-python
666
defect
b28654038fbaf684bb633b456db618a32372e1f7
3b96de605ff4898aaf1f19c919c9574616b3dbed
Implement remove_tokens_for_client()
Based on [this understanding](https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/650#issuecomment-1935768909), here comes this ([evil?](https://en.wikipedia.org/wiki/Number_of_the_beast)) PR, which will resolve #640 and resolve #650
diff --git a/msal/application.py b/msal/application.py index f82ea2e3..0f86be5b 100644 --- a/msal/application.py +++ b/msal/application.py @@ -2178,6 +2178,19 @@ def _acquire_token_for_client( telemetry_context.update_telemetry(response) return response + def remove_tokens_for_client(self): + ...
4
1
1
[{"id": "G0", "claim": "remove_tokens_for_client() may have an impact on MSI (Managed Identity) tokens, and that interaction is untested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After running remove_tokens_for_client(), the service principal'...
null
AzureAD__microsoft-authentication-library-for-python__71
AzureAD/microsoft-authentication-library-for-python
71
defect
4c5245836452bc9331b1a992ebe70ecdf9afd737
c8f199c6bb6a470c0578474b15fd696676f40ccb
Subject Name and Issuer Authentication
- This PR closes #60 - Adds support for Subject Name Issuer Authentication which is to support cert auto rolls. - We have tested the end to end scenario by creating our own Test Environment. We will work with the lab team for creating test environment and then integrating in Test automation. - Note: This type of ...
diff --git a/msal/application.py b/msal/application.py index b5911c98..9fc0ecd9 100644 --- a/msal/application.py +++ b/msal/application.py @@ -59,7 +59,7 @@ def __init__( verify=True, proxies=None, timeout=None): """Create an instance of application. - :param client_id: Your app has a cli...
4
4
0
[{"id": "G0", "claim": "The certificate-parsing regex should be wrapped into its own helper function (e.g. _extract_certs) with unit tests covering a bare cert, one tag-enclosed cert, and multiple tag-enclosed certs — the current regex may not support the bare-cert and multi-cert cases.", "category": "testing", "verdic...
null
AzureAD__microsoft-authentication-library-for-python__717
AzureAD/microsoft-authentication-library-for-python
717
defect
c1ead1caece73b81f7cb168ca22f8741504ec5bd
c1fedad05fc87a01253c8b8b0d048b3867b7fe4d
Bugfix for token cache search
The `self._get_access_token()` uses token key to find a token in `O(1)` time complexity. However, previously we forgot to also use `self._is_matching()` to double check the other criteria such as scopes and - in this bugfix's case - the `key_id` claim. This PR refactors the implementation to call `self._is_matching()` ...
diff --git a/msal/token_cache.py b/msal/token_cache.py index ffa0090a..a067fcd2 100644 --- a/msal/token_cache.py +++ b/msal/token_cache.py @@ -118,6 +118,12 @@ def _get(self, credential_type, key, default=None): # O(1) with self._lock: return self._cache.get(credential_type, {}).get(key, default)...
1
1
0
[{"id": "G0", "claim": "The embedded `if` statements in the O(n) search loop can be combined into a single `if` using `and`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
AzureAD__microsoft-authentication-library-for-python__756
AzureAD/microsoft-authentication-library-for-python
756
defect
95a63a7fe97d91b99979e5bf78e03f6acf40a286
02dd5b76a580be0c8f3de363a4af7a44479c8e0f
MSAL will use env var MSAL_FORCE_REGION by default
This pull request updates the `msal/application.py` file to include a new feature that allows MSAL to use the `MSAL_FORCE_REGION` environment variable by default. This closes #748 Docs are also updated and [staged here](https://msal-python.readthedocs.io/en/docs-staging/#msal.ClientApplication.params.azure_region)....
diff --git a/msal/application.py b/msal/application.py index 5cf7e32a..f090e534 100644 --- a/msal/application.py +++ b/msal/application.py @@ -5,6 +5,7 @@ import sys import warnings from threading import Lock +from typing import Optional # Needed in Python 3.7 & 3.8 import os from .oauth2cli import Client, JwtA...
2
1
1
[{"id": "G0", "claim": "The rewritten azure_region docstring is not as per spec, and the reviewer asks that it be kept as per spec.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The opt-out value for the MSAL_FORCE_REGION feature should use the s...
null
AzureAD__microsoft-authentication-library-for-python__772
AzureAD/microsoft-authentication-library-for-python
772
defect
7b3175631c03c5b5476aaf29239c31878ab80b23
f39c57fca480a1690421dde468ed248f9465a31a
Supports dSTS by ClientApplication(..., authority="https://...example.com/dstsv2/...")
Feature request #767 calls for support for dSTS authority. The understanding was that: * (a) The dSTS authority behaves similarly to an `oidc_authority` (i.e. no Instance Discovery, no "/v2.0" hardcoded string within its endpoint), so, it should just work if the caller would choose to put a dSTS url into the `oid...
diff --git a/msal/application.py b/msal/application.py index e46d7484..89b9b91a 100644 --- a/msal/application.py +++ b/msal/application.py @@ -6,6 +6,7 @@ import warnings from threading import Lock from typing import Optional # Needed in Python 3.7 & 3.8 +from urllib.parse import urlparse import os from .oauth2...
2
1
0
[{"id": "G0", "claim": "The reviewer asks how MSAL Python handles changing the tenant at the request level when the authority is dSTS (Azure SDK relies on per-request tenant changes while staying authority-agnostic), and suggests that withTenantId should do nothing for dSTS, with a unit test.", "category": "design", "v...
null
AzureAD__microsoft-authentication-library-for-python__820
AzureAD/microsoft-authentication-library-for-python
820
defect
5a1a0ff6570137e18ac8f3ed6f1e5d21d9fbf2e9
3390e8c90780894c74020294e94ad52d15b2ca0c
Properly throw MsalServiceError exception
MSAL Python defined a `MsalServiceError` exception for years but did not actually use/throw it, until recently. This PR refactors the usage of this exception so that it is used properly. Comes with test cases.
diff --git a/msal/exceptions.py b/msal/exceptions.py index 5e9ee151..664b7c05 100644 --- a/msal/exceptions.py +++ b/msal/exceptions.py @@ -27,12 +27,18 @@ class MsalError(Exception): # Define the template in Unicode to accommodate possible Unicode variables - msg = u'An unspecified error' + msg = u'An uns...
1
1
0
[{"id": "G0", "claim": "The comments the PR adds saying the backward-compatible required error/error_description parameters are kept only \"for now\" do not say whether there is any plan or backlog item to remove them or whether they might be needed again, and the reviewer asks whether such a plan exists.", "category":...
null
AzureAD__microsoft-authentication-library-for-python__831
AzureAD/microsoft-authentication-library-for-python
831
defect
d49296c1b2a929a6ab11380e237daa89a5298512
ad317f4bea07bcad7d31c0a8f05a175e99f37366
Use lowercase environment value during searching
Context: The "environment" field in the token cache contains an authority's domain name, which is stored as lowercase in cache. We did that right. But we noticed that when performing a search in the token cache, we were not converting the "environment" field to lowercase. This is usually not a problem, because the doma...
diff --git a/msal/token_cache.py b/msal/token_cache.py index 66be5c9f..caf34c8c 100644 --- a/msal/token_cache.py +++ b/msal/token_cache.py @@ -126,7 +126,13 @@ def _get(self, credential_type, key, default=None): # O(1) @staticmethod def _is_matching(entry: dict, query: dict, target_set: set = None) -> bool...
2
2
1
[{"id": "G0", "claim": "The query value `v` passed to `v.lower()` in `_is_matching` could be null/None, so the new lowercase-environment comprehension could fail on non-string values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unit tests should ...
null
AzureAD__microsoft-authentication-library-for-python__835
AzureAD/microsoft-authentication-library-for-python
835
defect
b1d8cd71145a8b1889b490f9b0dfbe4b1ac3a7f1
915a51ded1acab676e5c9bbe21008f73fd634f23
Thumbprint for certificate made optional
As per request not to use SHA-1 algorithm for calculation of SHA-1 certificate thumbprint, this parameter is now optional and if not passed, is calculated inside the library itself.
diff --git a/msal/application.py b/msal/application.py index 24ef91d7..06a14f2b 100644 --- a/msal/application.py +++ b/msal/application.py @@ -66,10 +66,19 @@ def _str2bytes(raw): except: return raw +def _extract_cert_and_thumbprints(private_key, cert): + # Cert concepts https://security.stackexchang...
4
4
1
[{"id": "G0", "claim": "The docstring example should mark the thumbprint parameter as deprecated and direct users to provide the public certificate instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also update the doc...
null
AzureAD__microsoft-authentication-library-for-python__840
AzureAD/microsoft-authentication-library-for-python
840
defect
70fd4d1599fc15c876c8eaccd29b9f7ae73fecd6
7af382835a5a7bc438f8fce4e3c24aa77c4345f2
Add OIDC issuer validation
Adds new validation according to: https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3268768 The issuer returned by the call to the OIDC endpoint (.well-known/openid-configuration) is valid if one of the following is true: - It exactly matches the authority URL - It has a known Microsoft host (e...
diff --git a/msal/authority.py b/msal/authority.py index faf11603..201c55ca 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -67,6 +67,7 @@ def __init__( performed. """ self._http_client = http_client + self._oidc_authority_url = oidc_authority_url if oidc_authori...
1
1
0
[{"id": "G0", "claim": "The OIDC issuer-mismatch error message should include a note telling users that for Entra authorities they should use the regular authority_url parameter instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AzureAD__microsoft-authentication-library-for-python__896
AzureAD/microsoft-authentication-library-for-python
896
defect
1f71ede35133ed2a2fa707928e60de6d4f067566
c04af8d4fe183d08dc23402248098950d99c1886
Fix OIDC issuer domain spoofing in B2C host validation
## Problem The OIDC issuer validation in `has_valid_issuer()` used `endswith(domain)` to check B2C hosts, which allows malicious domains to pass validation #891: ```python # Before: fakeb2clogin.com passes because it endswith("b2clogin.com") issuer_host.endswith(h) # h = "b2clogin.com" ``` ### Fix Require a d...
diff --git a/msal/authority.py b/msal/authority.py index 1b6fefa7..78efb094 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -251,7 +251,7 @@ def has_valid_issuer(self): return True # Case 5: Check if issuer host ends with any well-known B2C host (e.g., tenant.b2clogin.com) - ...
1
1
0
[{"id": "G0", "claim": "The Case 5 inline comment still says the issuer host 'ends with' a well-known B2C host while the implementation now requires a dot-separated subdomain match, so update the comment wording to reflect the stricter matching.", "category": "documentation", "verdict": "supported", "priority": "P2", "...
null
Azure__AgentBaker__6688
Azure/AgentBaker
6,688
defect
63b9d9b9702d71d04b139885906edd96be8b575c
c48c722998f8af791dba57d3bef04d5b5e175691
Cache refactoring for E2E tests
**What type of PR is this?** /kind test /kind cleanup - Remove `*testing.T` parameter from cached functions to prevent cross-test contamination from assertions (the main reason for logging changes) - Unified caching logic: Replace duplicated cache handling code with a single cachedFunc implementation - Better ...
diff --git a/e2e/aks_model.go b/e2e/aks_model.go index ff6bee8599f..f98454bd8eb 100644 --- a/e2e/aks_model.go +++ b/e2e/aks_model.go @@ -8,7 +8,6 @@ import ( "os" "path/filepath" "strings" - "testing" "github.com/Azure/agentbaker/e2e/config" "github.com/Azure/agentbaker/pkg/agent" @@ -21,7 +20,7 @@ import (...
4
3
0
[{"id": "G0", "claim": "For clarity/consistency, a CreateClusterRequest type with a Location field could be added.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "ContextWithLog could be renamed to ContextWithT since it stores *testing.T in the context.", "...
null
Azure__AgentBaker__7349
Azure/AgentBaker
7,349
defect
c4ddd55f7dd72bfb541313fe586f586dfa7bd114
39a0ccccc44fa5761821e317d70a810392b5178e
test: Add forward and backward compatibility tests to aks-node-controller config file
**What type of PR is this?** <!-- /kind test --> **What this PR does / why we need it**: Maintaing configuration file compatible is tricky and can be broken in unexpected ways. Some people may not be aware of such contract. The code is mostly AI generated, but it seems to catch issues. Add tests preve...
diff --git a/aks-node-controller/pkg/nodeconfigutils/compatibility_test.go b/aks-node-controller/pkg/nodeconfigutils/compatibility_test.go new file mode 100644 index 00000000000..4eb6f0ea4dd --- /dev/null +++ b/aks-node-controller/pkg/nodeconfigutils/compatibility_test.go @@ -0,0 +1,148 @@ +package nodeconfigutils + +i...
1
1
1
[{"id": "G0", "claim": "The new compatibility tests fail in CI (Build VHD) because the pinned target commits are absent from the shallow CI clone, so `git worktree add` fails with 'fatal: invalid reference'.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Azure__AgentBaker__7814
Azure/AgentBaker
7,814
defect
7cbbaa71681d47732b3ed648e41cf0bcd0a9a9bb
2a207ee7af62cb5dece75aa010c59b86726b111a
feat: add TL FIPS SIG image config and e2e
**What this PR does / why we need it**: Adds SIG image config and E2E for TrustedLaunch FIPS 22.04 VHD **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes #
diff --git a/e2e/config/vhd.go b/e2e/config/vhd.go index 52064224183..f4ea993e83e 100644 --- a/e2e/config/vhd.go +++ b/e2e/config/vhd.go @@ -84,6 +84,16 @@ var ( // Secure TLS Bootstrapping isn't currently supported on FIPS-enabled VHDs UnsupportedSecureTLSBootstrapping: true, } + VHDUbuntu2204Gen2FIPSTLContain...
2
1
1
[{"id": "G0", "claim": "The new SIG image definition strings \"2204gen2fipstlcontainerd\" (in SIGUbuntuFipsTLContainerd2204Gen2ImageConfigTemplate.Definition and the e2e VHD image Name) use lowercase \"tl\" where existing TrustedLaunch definitions use an uppercase \"TL\" segment, and since SIG image definition names ar...
null
Azure__AgentBaker__7881
Azure/AgentBaker
7,881
defect
34833a672dac7d5d812f6458b701a6270a1fc330
7790e2771b0f3e4def6886dd2734a314eacc13ca
fix: cni-plugins backward compatibility - continue
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/parts/linux/cloud-init/artifacts/cse_install.sh b/parts/linux/cloud-init/artifacts/cse_install.sh index bc21d85fae9..9df76a1d77e 100755 --- a/parts/linux/cloud-init/artifacts/cse_install.sh +++ b/parts/linux/cloud-init/artifacts/cse_install.sh @@ -138,7 +138,7 @@ installContainerRuntime() { installFixedCN...
1
1
0
[{"id": "G0", "claim": "The fallback warning message should be updated to reflect that the condition now checks for both \"containernetworking-plugins\" and \"cni-plugins\" component names.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__AgentBaker__7885
Azure/AgentBaker
7,885
defect
05d9af972639fe68953452db4fbe7cd4e3eb84cf
6c1353cfdc32366902d11a612f5186caceed177d
test: refactor network isolated cluster e2e
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/e2e/aks_model.go b/e2e/aks_model.go index 9a20c201acd..fbfe3c010e6 100644 --- a/e2e/aks_model.go +++ b/e2e/aks_model.go @@ -471,8 +471,36 @@ func addFirewallRules( return nil } -func addAirgapNetworkSettings(ctx context.Context, clusterModel *armcontainerservice.ManagedCluster, privateACRName, locatio...
12
7
3
[{"id": "G0", "claim": "The new test name uses \"NonAnonymousAcr\" while the rest of the suite consistently uses \"ACR\" in identifiers, so it should be renamed to Test_AzureLinuxV3_NetworkIsolatedCluster_NonAnonymousACR for consistency and searchability.", "category": "maintainability", "verdict": "supported", "priori...
null
Azure__AgentBaker__7888
Azure/AgentBaker
7,888
defect
05d9af972639fe68953452db4fbe7cd4e3eb84cf
0209e1a8c1fefa44fd322a0f9cc7b6d698b24d81
fix: cache repo metadata immediately after setting up repodepot for azurelinux to help accepting a new key
**What this PR does / why we need it**: Add -y to dnf commands for Azure Linux **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes #
diff --git a/parts/linux/cloud-init/artifacts/mariner/cse_helpers_mariner.sh b/parts/linux/cloud-init/artifacts/mariner/cse_helpers_mariner.sh index f36069ff0f8..0855c81b4a5 100755 --- a/parts/linux/cloud-init/artifacts/mariner/cse_helpers_mariner.sh +++ b/parts/linux/cloud-init/artifacts/mariner/cse_helpers_mariner.sh...
5
2
2
[{"id": "G0", "claim": "The final 'echo Executed dnf download ...' line in dnf_download still omits -y although the command now runs with it; update the echoed command string so logs accurately reflect what was executed.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"...
null
Azure__AgentBaker__8018
Azure/AgentBaker
8,018
defect
ca8a90e8872694e070a9199b99df7e4a6ee4bd6a
5a45e4688e3279aa395331d91e6b2a1b3ff79a0d
feat: add cloud provider configs into aks-node-config
**What this PR does / why we need it**: add cloud provider configs into aks-node-config **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Fixes #
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 00000000000..25f726ff315 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,2 @@ +[safe] + directory = /home/devin/git/AgentBakerNew/.git diff --git a/aks-node-controller/parser/parser.go b/aks-node-controller/parser/parser.go index 5d2b1e086cb..2f2745c9992 100644 ...
2
2
1
[{"id": "G0", "claim": "The accidentally committed .gitconfig, which hardcodes a personal path in safe.directory, should be removed from the PR and added to .gitignore.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment in cluster_config.pro...
null
Azure__AgentBaker__8038
Azure/AgentBaker
8,038
defect
e6135399904ee60892f2d17abc7554891d2c53fa
6bd6d3b8c9648f0c6e3970b448f96bef955d5983
feat: oras pull pause image if not cached for windows network isolated cluster
**What this PR does / why we need it**: containerd cannot implement credential provider to pull the pause image if not exists. Thus for network isolated cluster, whose pause image neeeds to pull from private acr, it needs to ensure the pause image always cached. **Which issue(s) this PR fixes**: <!-- *Automatical...
diff --git a/e2e/scenario_win_test.go b/e2e/scenario_win_test.go index fd0e4063705..76c67e4f095 100644 --- a/e2e/scenario_win_test.go +++ b/e2e/scenario_win_test.go @@ -565,7 +565,7 @@ func Test_NetworkIsolatedCluster_Windows_WithEgress(t *testing.T) { nbc.ContainerService.Properties.SecurityProfile = &datamodel.S...
11
8
4
[{"id": "G0", "claim": "The e2e test validator only checks hosts.toml and does not validate the PR's new behavior that the pause image is pulled and cached in containerd with the io.cri-containerd.pinned=pinned label, so a validator running `ctr -n k8s.io images list -q` on the node should be added.", "category": "test...
null
Azure__AgentBaker__8095
Azure/AgentBaker
8,095
defect
a6007841c1650b7dce53fd7a9b1bfc4fb56e4a7c
805afd8a67f0e60d5f0b9a6e0dac1394fae3cd3a
chore(windows): update e2e tests to check dotnet deprecation
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/vhdbuilder/packer/test/windows-vhd-content-test.ps1 b/vhdbuilder/packer/test/windows-vhd-content-test.ps1 index e45df60183c..06444a5913f 100644 --- a/vhdbuilder/packer/test/windows-vhd-content-test.ps1 +++ b/vhdbuilder/packer/test/windows-vhd-content-test.ps1 @@ -750,6 +750,22 @@ function Test-SSHDConfig ...
5
4
2
[{"id": "G0", "claim": "The comment above Test-DotnetNotInstalled is a copy/paste from Test-ValidateImageBinarySignature and no longer describes the function; update or remove it so the test intent is clear.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
Azure__AgentBaker__8142
Azure/AgentBaker
8,142
defect
5acbc4d39a8ed2c000aefd3d0768a8011447f2d8
d88f6352f7b373b32d16d98b79d3a526ce3ae42e
fix(windows): move add kubelet failure restart code
This code has to run *after* the kubelet, kubeproxy, and containerd services have been configured. Which doesn't happen until nodeprep. Discovered this while adding comprehensive error handling to the windows provisioning scripts. **What this PR does / why we need it**: So kubelet, kubeproxy, and containerd ...
diff --git a/parts/windows/kuberneteswindowssetup.ps1 b/parts/windows/kuberneteswindowssetup.ps1 index 5d6d61c4a09..d5f919474c2 100644 --- a/parts/windows/kuberneteswindowssetup.ps1 +++ b/parts/windows/kuberneteswindowssetup.ps1 @@ -471,7 +471,6 @@ function BasePrep { Adjust-PageFileSize Logs-To-Event -TaskNa...
1
1
1
[{"id": "G0", "claim": "Update-ServiceFailureActions is invoked in NodePrep only after Start-ScheduledTask has run windowsnodereset.ps1 and started kubelet/kubeproxy, so the failure actions may not be in place yet and SCM won't restart the services if they fail on their first start, potentially leaving the node broken ...
null
Azure__AgentBaker__8148
Azure/AgentBaker
8,148
defect
89a89993885258706d95db6a38974fd193f86dea
3578166876303a72d5a022f03d1e5c8cef6f2c16
test: add hotfix e2e test for scriptless CSE command scripts hotfix delivery mechanism
**What this PR does / why we need it**: test: add hotfix e2e test for scriptless CSE command scripts hotfix delivery mechanism
diff --git a/e2e/scenario_test.go b/e2e/scenario_test.go index 39eaa07b0f0..d88cd04a0ae 100644 --- a/e2e/scenario_test.go +++ b/e2e/scenario_test.go @@ -506,6 +506,36 @@ func Test_Ubuntu2404_Scriptless(t *testing.T) { }) } +// Test_Ubuntu2204_ScriptlessCSECmd_Hotfix tests the EnableScriptlessCSECmd path in +// nod...
3
2
2
[{"id": "G0", "claim": "In injectWriteFilesEntry, reader.Close() and gw.Close() are called without checking their errors and are not deferred, so a failed gzip-writer Close can silently produce corrupt customData and the closes may not run if earlier code fails; use defer right after creation and assert the errors.", "...
null
Azure__AgentBaker__8149
Azure/AgentBaker
8,149
defect
5a6b409156555a9b51e32cbd0bc0355cf04c1d9e
4ad379a20a47b4e1960ad59eaf506438faff281c
refactor(e2e): add DAG-based concurrent task execution for cluster setup
**What this PR does / why we need it**: Adds a new `e2e/dag` package that provides a lightweight, type-safe DAG execution library using closures and generics, then refactors `prepareCluster` to use it for concurrent cluster setup.
diff --git a/e2e/aks_model.go b/e2e/aks_model.go index 7498d92c0d1..648cd732954 100644 --- a/e2e/aks_model.go +++ b/e2e/aks_model.go @@ -299,8 +299,8 @@ func getFirewall(ctx context.Context, location, firewallSubnetID, publicIPID str func addFirewallRules( ctx context.Context, clusterModel *armcontainerservice.Man...
12
6
2
[{"id": "G0", "claim": "The package comment tells users to register tasks with [Spawn]/[Then]/[Do]/[ThenDo], APIs that do not exist in the package (the actual API is Go/Go1-Go3 and Run/Run1-Run3), making the docs misleading; update the comment to match the real function names.", "category": "documentation", "verdict": ...
null
Azure__AgentBaker__8151
Azure/AgentBaker
8,151
defect
81684c994f7e68c2c510c9299da11c3bfd0bf343
51b64318245a169959a698e3541300265346038c
feat: download containerd with oras in network isolated windows cluster
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/e2e/scenario_win_test.go b/e2e/scenario_win_test.go index 4cfdfc62b78..c455168e100 100644 --- a/e2e/scenario_win_test.go +++ b/e2e/scenario_win_test.go @@ -604,3 +604,32 @@ func Test_NetworkIsolatedCluster_Windows_OrasKubeletDownload(t *testing.T) { }, }) } + +func Test_NetworkIsolatedCluster_Windows...
4
3
2
[{"id": "G0", "claim": "Sanitize $global:BootstrapProfileContainerRegistryServer (strip '^https?://', trim trailing '/', preserve any repo prefix) before constructing $orasReference, because a scheme or trailing slash in the value can produce an invalid ORAS reference like 'https://<acr>/...'.", "category": "correctnes...
null
Azure__AgentBaker__8218
Azure/AgentBaker
8,218
defect
78c64576dd657af64eaffa4ea8fca93e3e5bda65
6668e1193aad2acef4d129b6ceaaf70d91a0ba6f
feat: log collector updates
* Add the aks-windows-exporter logs to the list of files that might be locked * Add an e2e test to check the log collection script can be run **What this PR does / why we need it**: Because the log collection script was failing. **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue whe...
diff --git a/e2e/scenario_win_test.go b/e2e/scenario_win_test.go index 4cfdfc62b78..387f7f1eef7 100644 --- a/e2e/scenario_win_test.go +++ b/e2e/scenario_win_test.go @@ -68,6 +68,7 @@ func Test_Windows2022_AzureNetwork(t *testing.T) { ValidateCiliumIsNotRunningWindows(ctx, s) ValidateDotnetNotInstalledWindows(...
5
1
1
[{"id": "G0", "claim": "The zip validation can be a false positive and/or flaky because it accepts any pre-existing *_logs.zip in the working directory and the working directory of the SSH-launched script is not explicitly set; use a known writable dir, remove pre-existing matching zips before execution (or capture a s...
null
Azure__AgentBaker__8252
Azure/AgentBaker
8,252
defect
a61b49a7cc100f1d26a1f064d0cb34f8287da102
22b3cc213f5bbd7a94269cf8a039c18945fa3069
feat: add OSSKU-based IsCgroupV2 detection and CustomizedImageTrustedLaunch distro
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/pkg/agent/baker.go b/pkg/agent/baker.go index 4f3d0e6364c..ead88bb3739 100644 --- a/pkg/agent/baker.go +++ b/pkg/agent/baker.go @@ -621,7 +621,9 @@ func getContainerServiceFuncMap(config *datamodel.NodeBootstrappingConfiguration return config.GetOrderedKubeproxyConfigStringForPowershell() }, "IsC...
3
2
0
[{"id": "G0", "claim": "The IsCgroupV2 check should not mix profile.IsAzureLinuxCgroupV2VHDDistro() with a direct config.OSSKU == datamodel.OSSKUAzureLinux comparison; a single OSSKU-style config.IsAzureLinux helper should be created and used instead.", "category": "maintainability", "verdict": "supported", "priority":...
null
Azure__AgentBaker__8257
Azure/AgentBaker
8,257
defect
c766ba5a522969797bba56cfcefdb70bd17cc6b1
08fdf9a51cd19b5b7bdcdbe04b95b95ff0e889f2
feat: aks-node-controller self-update mechanism and version command support
**What this PR does / why we need it**: Feat: aks-node-controller self-update mechanism and version command support This is needed for hot fixing aks-node-controller **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (paste link...
diff --git a/aks-node-controller/app.go b/aks-node-controller/app.go index 936b5790b11..4befd4c951c 100644 --- a/aks-node-controller/app.go +++ b/aks-node-controller/app.go @@ -111,11 +111,23 @@ func (a *App) run(ctx context.Context, args []string) error { return errors.New("missing command argument") } + if com...
13
9
6
[{"id": "G0", "claim": "selfUpdate treats any readHotfixVersion error the same as 'no hotfix', so a hotfix file that exists but cannot be read silently disables hotfixing with no log; log a warning for non-NotExist errors and treat only os.IsNotExist as a no-op.", "category": "correctness", "verdict": "supported", "pri...
null
Azure__AgentBaker__8261
Azure/AgentBaker
8,261
defect
0a3ff4ea97cf96e7afec51574bb418535839dcfa
a966490a24a3da47c5802c7a54f326cab8bc7421
feat: add configuration support for secure TLS bootstrap client RPC timeouts
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/parts/linux/cloud-init/artifacts/cse_cmd.sh b/parts/linux/cloud-init/artifacts/cse_cmd.sh index bc48088a3b8..2cbc9bb6ade 100644 --- a/parts/linux/cloud-init/artifacts/cse_cmd.sh +++ b/parts/linux/cloud-init/artifacts/cse_cmd.sh @@ -130,9 +130,15 @@ HTTPS_PROXY_URLS="{{GetHTTPSProxy}}" NO_PROXY_URLS="{{Get...
6
3
0
[{"id": "G0", "claim": "The new timeout fields' JSON tags lack `omitempty` (unlike AADResource/UserAssignedIdentityID), so if the struct is marshaled, empty strings are emitted and can look like explicit config; add `omitempty` to the new string fields for consistency and optional semantics.", "category": "correctness"...
null
Azure__AgentBaker__8284
Azure/AgentBaker
8,284
defect
4e093e026e346a92e681b93dd3bccf2d09216bb6
a7b9d5757fbb3538c39299c6ad6eb2d60d906f73
feat: add CSE timing regression tests for all Linux VHDs (Ubuntu 22.04/24.04, Azure Linux V3)
## Summary Adds **CSE (Custom Script Extension) timing regression tests** for all supported Linux VHD builds, with thresholds derived from **production telemetry** (`GuestAgentGenericLogs`, FA database on azcore cluster). Each CSE task runs as a `t.Run()` sub-test, so ADO pipeline analytics can **individually track p...
diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index 1c95d0804dd..63ec772d3fd 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -65,7 +65,7 @@ jobs: # Delete previous lint failure comments if linting succeeded. - name: Delete previous lint ...
18
11
6
[{"id": "G0", "claim": "In the fallback path apt-mark hold/unhold is invoked without calling wait_for_apt_locks, which can race with other apt/dpkg users and reintroduce lock contention or failures; consider calling wait_for_apt_locks before the apt-mark retry.", "category": "correctness", "verdict": "uncertain", "prio...
null
Azure__AgentBaker__8291
Azure/AgentBaker
8,291
defect
cbbe1e87fa379ced8f474a13f84877dcfb8c8759
9284e78ed807ceb6b02d949eaef5f47f4de330cd
feat: pass cse cmd generated from nbc to node controller
## Summary This change adds support for passing the CSE command generated from the node bootstrapping config directly into aks-node-controller for scriptless phase 2 provisioning. It updates Linux bootstrapping/custom data generation and the node-controller startup path so provisioning can run from either the existi...
diff --git a/.pipelines/.vsts-vhd-builder.yaml b/.pipelines/.vsts-vhd-builder.yaml index a255a5dba0a..f6b1b129682 100644 --- a/.pipelines/.vsts-vhd-builder.yaml +++ b/.pipelines/.vsts-vhd-builder.yaml @@ -246,22 +246,34 @@ stages: artifactName: acl-arm64-tl-gen2 - stage: e2e + dependsOn: build + ...
17
7
3
[{"id": "G0", "claim": "The run-aks-node-controller-hack.sh script constructs command as a single string and executes it as \"$command\", which bash treats as a literal executable name (including spaces) and fails, and it uses CONFIG_PATH and log, which are not defined in the script; fix by invoking the binary directly...
null
Azure__AgentBaker__8296
Azure/AgentBaker
8,296
defect
2ad563b9375685572c18d575e50e5345366d98f8
b8b4eefdca215d0170b5b9b2267df1a7ce2d0e8e
test: add blobfuse related content tests
**What this PR does / why we need it**: Add blobfuse related content tests for next step, which is to centralize the blobfuse* components versions control in components.json **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: `Fixes #<issue number>`, or `Fixes (pas...
diff --git a/e2e/scenario_test.go b/e2e/scenario_test.go index 0e578193353..dcf4eed9d2c 100644 --- a/e2e/scenario_test.go +++ b/e2e/scenario_test.go @@ -648,6 +648,7 @@ func Test_Ubuntu2204(t *testing.T) { Validator: func(ctx context.Context, s *Scenario) { ValidateInstalledPackageVersion(ctx, s, "moby-contain...
6
4
2
[{"id": "G0", "claim": "Because parts/common/components.json has no blobfuse2 entry, indexing GetExpectedPackageVersions(\"blobfuse2\", ...)[0] on the added lines in the Ubuntu 22.04 and Ubuntu 24.04 Gen2 validators will panic and fail those scenarios; either add blobfuse2 to components.json in this PR or guard against...
null
Azure__AgentBaker__8312
Azure/AgentBaker
8,312
defect
d92017c5cf323beb9ff9f0b8d8bec7adcaefc91e
9cf5c93bd4c82ce4d54e6e66a4f4114a02f74e0a
fix: use the script file directly instead of bash -c
Followup PR to use the script file directly to avoid expanding shell scripts
diff --git a/aks-node-controller/app.go b/aks-node-controller/app.go index ba48b0a7e55..72cdb2391f8 100644 --- a/aks-node-controller/app.go +++ b/aks-node-controller/app.go @@ -179,15 +179,21 @@ func (a *App) Provision(ctx context.Context, flags ProvisionFlags) (*ProvisionRe } if flags.NBCCmd != "" { - nbcCmdCon...
2
1
1
[{"id": "G0", "claim": "The new os.Open/Close pre-check does not verify that flags.NBCCmd is a regular file, so a directory path passes the pre-check and fails later in bash with a different error and exit code than the previous ReadFile-based behavior; replace it with os.Stat / IsRegular validation (and add a director...
null
Azure__AgentBaker__8332
Azure/AgentBaker
8,332
defect
21c9d22094b14f5d7d50ec22e02da7825e90a237
fd9127455e5a270bdf0b8b0a2aa912b09a37ab16
chore: add agentbaker artifact streaming combo e2es
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/e2e/config/vhd.go b/e2e/config/vhd.go index 43d71f4c281..9991bc1789b 100644 --- a/e2e/config/vhd.go +++ b/e2e/config/vhd.go @@ -60,6 +60,13 @@ var ( Distro: datamodel.AKSUbuntuContainerd2204Gen2, Gallery: imageGalleryLinux, } + VHDUbuntu2204Gen2TLContainerd = &Image{ + Name: "2204gen2TLcontain...
7
3
2
[{"id": "G0", "claim": "The new target region should use `Name: to.Ptr(location)` instead of taking the address of the local variable, for consistency with the rest of the file and to avoid subtle pointer-lifetime concerns.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existin...
null
Azure__AgentBaker__8357
Azure/AgentBaker
8,357
defect
45408f022cfd067049b428c512566c647ed8bdfa
8d8798d1aa2a6020ece272090130790b08a6bd6f
feat: implement rendering nodecustomdata in aks-node-controller to support hotfixing scripts
## Summary Restore nodecustomdata.yml hotfix behavior for the Linux scriptless NBC path. When aks-node-controller was moved to start from cloud-boothook, the EnableScriptlessNBCCSECmd flow stopped going through the normal nodecustomdata.yml processing path. As a result, write_files overrides from nodecustomdata...
diff --git a/aks-node-controller/app.go b/aks-node-controller/app.go index 6f2c6e9a12a..9e7767f6cc8 100644 --- a/aks-node-controller/app.go +++ b/aks-node-controller/app.go @@ -32,6 +32,8 @@ type App struct { hotfixVersionPath string // aptSourcesDir overrides the default APT sources directory for testing. aptSou...
4
2
2
[{"id": "G0", "claim": "ValidateScriptlessCSECmd no longer checks nbc.EnableScriptlessCSECmd and will fail scenarios that intentionally set EnableScriptlessCSECmd=false, so the validation should be gated on the scriptless mode flags (EnableScriptlessCSECmd || EnableScriptlessNBCCSECmd).", "category": "correctness", "ve...
null
Azure__AgentBaker__8368
Azure/AgentBaker
8,368
defect
12e23eb03977f323e0672cbcd272edc889c09ab9
c40fead21ae796a8e1f7e110bb68a6138bd0c2ae
test(ci): add `dcgm-exporter` compatibility unit test to `validate-components` workflow
**What this PR does / why we need it**: Adds a `TestDCGMExporterCompatibility` unit test that validates `dcgm-exporter` package dependencies (`datacenter-gpu-manager-4-core` and `datacenter-gpu-manager-4-proprietary`) match the versions pinned in `components.json` — without requiring GPU VMs or any infrastructure. ...
diff --git a/.github/workflows/validate-components.yml b/.github/workflows/validate-components.yml index 5a6be9dc683..d48e4c4b2a6 100644 --- a/.github/workflows/validate-components.yml +++ b/.github/workflows/validate-components.yml @@ -53,3 +53,17 @@ jobs: set -ex go test -v -run ^Test_Version_Consis...
3
2
2
[{"id": "G0", "claim": "The test downloads packages with plain http.Get on the default client, which has no request timeout and can hang indefinitely in CI; use an http.Client with a reasonable Timeout and a context-aware request (and a small retry loop) so failures are deterministic.", "category": "correctness", "verd...
null
Azure__AgentBaker__8440
Azure/AgentBaker
8,440
defect
143abce77b6dd54e8fea4ed21576eccd29a64437
e77eecd816d69388e1aa03b4ea9d0c961ac2ee56
fix: dont run scriptless phase2 if preprovision is turned on
Disable phase 2 provisioning if preprovision is on
diff --git a/e2e/vmss.go b/e2e/vmss.go index e84fe77a6fc..d9260bf6407 100644 --- a/e2e/vmss.go +++ b/e2e/vmss.go @@ -355,7 +355,7 @@ func createVMSSModel(ctx context.Context, s *Scenario) armcompute.VirtualMachine require.NoError(s.T, err) cse = nodeBootstrapping.CSE customData = nodeBootstrapping.CustomData -...
2
2
2
[{"id": "G0", "claim": "getNodeBootstrappingCmd still returns the scriptless-NBC `aks-node-controller provision-wait` whenever EnableScriptlessNBCCSECmd is true, so a pre-provision node can end up with a normal customData paired with a scriptless NBC CSE command; the reviewer asks to gate getNodeBootstrappingCmd with !...
null
Azure__AgentBaker__8463
Azure/AgentBaker
8,463
defect
a6d5c4fb45ca48409ab8601cfc0eafd1f9aae6a4
f85e7695fe35ab7f7aa0c5f7e051eed914fee8d8
feat(acl): add FIPS image builds for Azure Container Linux
<!-- Pull Request Requirements - PLEASE READ BEFORE CREATING A PR AGAINST Azure/AgentBaker: 1. Pull requests MUST NOT come from personal forks. PRs will only be accepted from branches created directly off Azure/AgentBaker. You'll need to gain write access to Azure/AgentBaker by requesting membership to the GitHub...
diff --git a/.pipelines/.vsts-vhd-builder-release.yaml b/.pipelines/.vsts-vhd-builder-release.yaml index 36b823cee5e..c5f0721e0d2 100644 --- a/.pipelines/.vsts-vhd-builder-release.yaml +++ b/.pipelines/.vsts-vhd-builder-release.yaml @@ -141,6 +141,14 @@ parameters: displayName: Build Azure Container Linux ARM64 TL...
3
2
1
[{"id": "G0", "claim": "installFIPS does not check that /boot/acl/uki-addons/fips.addon.efi exists and does not make a failed install step fatal, so with ENABLE_FIPS=True a missing addon file could silently produce a non-FIPS image.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd...
null
Azure__AgentBaker__8470
Azure/AgentBaker
8,470
defect
a6d5c4fb45ca48409ab8601cfc0eafd1f9aae6a4
3c5c0719380fdc81ebc50c1a22d67b8d12e4274d
feat(e2e): add HTTPS_PROXY + private DNS test scenario
## Summary Add E2E test for node bootstrapping with HTTPS_PROXY configured and private DNS zone for the API server FQDN. Regression coverage for IcM 603699115 / ADO#31707996. ## Changes ### New test: `Test_Ubuntu2204_HTTPSProxy_PrivateDNS` Validates that a node bootstraps successfully when `HTTPS_PROXY` is set and t...
diff --git a/e2e/cluster.go b/e2e/cluster.go index 238b8f7f544..5710c1a677e 100644 --- a/e2e/cluster.go +++ b/e2e/cluster.go @@ -7,6 +7,7 @@ import ( "encoding/json" "errors" "fmt" + "net" "net/http" "net/netip" "strings" @@ -21,6 +22,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/co...
6
4
1
[{"id": "G0", "claim": "GetProxyURL swallows the pod list error and keeps polling, so real failures (RBAC/connection issues) surface only as a misleading timeout; return the error when List fails.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "proxy...
null
Azure__autorest.typescript__3558
Azure/autorest.typescript
3,558
defect
09452f5b521a4f48fccfea171dc0ce173db58135
cb444b5b5a298fdd9a129e5c1bc649f5ce7a0bec
Add Azure Alternate Type spector case and fix numeric type generation bug
Adds spector test case for Azure Client Generator Core alternate-type spec. During implementation, discovered and fixed bugs in the TypeSpec-TS emitter that caused issues when generating code for array types. ## Bug Fixes **modelUtils.ts**: 1.**Added numeric scalar type support**: TypeSpec's numeric scalar ty...
diff --git a/packages/typespec-ts/src/utils/modelUtils.ts b/packages/typespec-ts/src/utils/modelUtils.ts index 3f0773e819..9405da95c3 100644 --- a/packages/typespec-ts/src/utils/modelUtils.ts +++ b/packages/typespec-ts/src/utils/modelUtils.ts @@ -1184,9 +1184,9 @@ function getSchemaForArrayModel( .join("...
4
4
2
[{"id": "G0", "claim": "The initial implementation does not follow the issue description and should be re-implemented.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The implementation still does not satisfy the issue after the upstream merges and s...
null
Azure__autorest.typescript__3576
Azure/autorest.typescript
3,576
defect
7c5a2be0d72735c345f5a2d791558690271fe7de
595b278ea8b4aded60c23de654c60f1c4063ab2c
Fix the non-any type argument error
This PR is to fix the second error mentioned in #3452. The "Argument 'xxx' should be typed with a non-any type" lint errors are basically triggered by the deserializer functions in the generated models.ts files. Since these functions will not be exported, we would like to suppress the errors by disabling the `explicit-...
diff --git a/packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models/models.ts b/packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models/models.ts index 04d3246a5e..c11428202b 100644 --- a/packages/typespec-test/test/N...
1
1
0
[{"id": "G0", "claim": "The comment string contains inconsistent indentation with extra leading spaces on lines 117-120, which will result in poorly formatted comments in the generated code; the template literal should use consistent indentation as in the suggestion block.", "category": "correctness", "verdict": "suppo...
null
Azure__autorest.typescript__3593
Azure/autorest.typescript
3,593
defect
02904f9e4811db546c52fb036dcf7f13651e533a
caa101dc533234e5cb82eab8ff9a83cbcaa1f353
Support the legacy LRO methods with feature flag
When `compatibility-lro` is set as true, we would generate the legacy LRO methods including beginXXX and beginXXXAndWait and return the legacy `SimplePollerLike` interfaces.
diff --git a/packages/rlc-common/src/interfaces.ts b/packages/rlc-common/src/interfaces.ts index f796c2b35d..551763e2a9 100644 --- a/packages/rlc-common/src/interfaces.ts +++ b/packages/rlc-common/src/interfaces.ts @@ -254,6 +254,7 @@ export interface RLCOptions { compatibilityQueryMultiFormat?: boolean; typespec...
2
2
0
[{"id": "G0", "claim": "Add \"[deprecated]\" to the description of the new \"compatibility-lro\" option in RLCOptionsSchema.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprecation notes on the generated legacy LRO members should link to th...
null
Azure__autorest.typescript__3613
Azure/autorest.typescript
3,613
defect
1ae1229bca51bcf32490eabcbd94bd72b92d4e0e
07decfa0e71a869013014d9b2eb039217f51cf8d
Add Dictionary Deserialization Support and Improve Test Coverage for Edge Cases
### **Codegen Changes** * Added missing support for correct **Dictionary** deserialization. ### **Test Fixes** * **ArrayItem**: Fixed a false negative in `deepEqual` where `children: undefined` was treated as different from `children` not present. These should be considered equivalent. * **DictionaryDat...
diff --git a/packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models/models.ts b/packages/typespec-test/test/NetworkAnalytics.Management/generated/typespec-ts/sdk/test/arm-test/src/models/models.ts index 6cf45361e2..1159923522 100644 --- a/packages/typespec-test/test/N...
4
2
0
[{"id": "G0", "claim": "The newly added model test data should not carry explicit `children: undefined`, and MaryGao asks whether there is a fix relevant to handling undefined in arrays.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The decimal128 verif...
null
Azure__autorest.typescript__3654
Azure/autorest.typescript
3,654
defect
9f59aee56aaa9532b9230219e957a8bdd797c371
2025882c8cbfa4a825065640fc6bde426c377374
Remove cjs config for azure sdk js repository
As we completed the ESM migration for SDK packages. No more CJS packages to be generated for the Azure SDK JS monorepo
diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json index 4fa5864a6d..d27023ca7a 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.j...
2
1
1
[{"id": "G0", "claim": "Remove the remaining cjs-related code that this PR missed, specifically the cjs handling in packages/typespec-ts/src/lib.ts.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cjs support left in packages/rlc-common/test/inte...
null
Azure__autorest.typescript__3675
Azure/autorest.typescript
3,675
defect
3e41dc9e615e3b8fb851e7b223251cf5990d67fb
c2671e23f8352f81c905da901055626295467118
Generate `PlainDate` as a Date instead of as a string
fixes #3672
diff --git a/packages/typespec-test/test/authoring/generated/typespec-ts/review/authoring.api.md b/packages/typespec-test/test/authoring/generated/typespec-ts/review/authoring.api.md index bb255e88db..a0e5b2db19 100644 --- a/packages/typespec-test/test/authoring/generated/typespec-ts/review/authoring.api.md +++ b/packa...
2
2
1
[{"id": "G0", "claim": "The RLC does not support serializer/deserializer, so the PR's change setting the schema typeName/outputTypeName to \"Date\" does not work there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `case \"plainDate...
null
Azure__autorest.typescript__3706
Azure/autorest.typescript
3,706
defect
90710b9ab0292dceff4b5009daf659134c7c89d2
0f9d7a7b1c351f0a2141ccbfa4c76bb893f3ad6f
Ignore null for nullable optional properties
## Implementation Complete ✅ This PR successfully implements the `ignore-nullable-on-optional` option for the Modular SDK, aligning with HLC behavior for handling nullable optional properties in Azure services. ### Summary of Changes - [x] Added `ignore-nullable-on-optional` option to EmitterOptions with schema ...
diff --git a/packages/rlc-common/src/interfaces.ts b/packages/rlc-common/src/interfaces.ts index 690d999ae9..67f83c6d48 100644 --- a/packages/rlc-common/src/interfaces.ts +++ b/packages/rlc-common/src/interfaces.ts @@ -255,6 +255,7 @@ export interface RLCOptions { typespecTitleMap?: Record<string, string>; hasSub...
4
3
2
[{"id": "G0", "claim": "The smoke-test pipeline fails at `npm run check:tree` because the PR's regenerated *.api.md baselines (ai-client, openai-generic, openai_modular) were changed but not committed; run the smoke tests again and commit only the modified *.api.md.", "category": "correctness", "verdict": "supported", ...
null
Azure__autorest.typescript__3721
Azure/autorest.typescript
3,721
defect
bfa73f40e450f8096fdf6fd8399b8d9fafa02aba
a3293b46e4a577c8c404f868dcb1861ddb04dd4b
Add type-safe clientDefaultValue support for optional parameters in Modular SDK
## Type-Safe Client Default Value Implementation 126 services specify default values via `@Azure.ClientGenerator.Core.Legacy.clientDefaultValue`, but Modular SDK was not applying them. This adds type-safe support for optional query, header, and body parameters. ### Implementation **Query and Header Parameters** - Mo...
diff --git a/packages/typespec-ts/src/modular/helpers/operationHelpers.ts b/packages/typespec-ts/src/modular/helpers/operationHelpers.ts index 118e5b1e5a..08b6b0424a 100644 --- a/packages/typespec-ts/src/modular/helpers/operationHelpers.ts +++ b/packages/typespec-ts/src/modular/helpers/operationHelpers.ts @@ -1073,14 +...
7
5
3
[{"id": "G0", "claim": "Body parameters with primitive types carrying a clientDefaultValue may not be supported by the PR; check whether they are supported and support them (or create an issue if supporting this is expensive).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
Azure__autorest.typescript__3728
Azure/autorest.typescript
3,728
defect
b1280c7246fb94cf169e05a1cf6c93ae417c62f1
df4005e8b2af50be50264955c526035044ffab16
Response Headers
This PR adds response header support under the feature flag `include-headers-in-response`.
diff --git a/packages/rlc-common/src/interfaces.ts b/packages/rlc-common/src/interfaces.ts index 6f5e83b4dc..af096855ec 100644 --- a/packages/rlc-common/src/interfaces.ts +++ b/packages/rlc-common/src/interfaces.ts @@ -202,6 +202,10 @@ export interface OperationLroDetail { export type PackageFlavor = "azure" | undefin...
10
5
5
[{"id": "G0", "claim": "There is no modularUnit scenario covering responses with a non-model body (string, bytes, arrays) plus headers under include-headers-in-response; at least one such scenario should be added to lock in the return shape and catch regressions.", "category": "testing", "verdict": "uncertain", "priori...
null
Azure__autorest.typescript__3734
Azure/autorest.typescript
3,734
defect
4e6c0e225bfb5643c3728c3cfd7f54a306938172
0b809ca4fe76d255870078a76024469cc6d77a5d
Generate index files for nested clients
## Fix nested client index file generation ### Changes Made - **Modified condition in `packages/typespec-ts/src/index.ts`**: Extended `buildSubClientIndexFile` invocation to include clients with non-empty subfolders (nested clients) - Removed unused `isMultiClients` variable ### Testing - ✅ All 473 unit tests ...
diff --git a/packages/typespec-test/test/nestedClient/generated/typespec-ts/package.json b/packages/typespec-test/test/nestedClient/generated/typespec-ts/package.json index b53ff0634e..c804444bde 100644 --- a/packages/typespec-test/test/nestedClient/generated/typespec-ts/package.json +++ b/packages/typespec-test/test/n...
3
3
2
[{"id": "G0", "claim": "Asked whether `subfolder` can be an empty string in multi-client scenarios and, if not, requested the conditional `if (isMultiClients || subfolder)` be simplified to just `if (subfolder)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
Azure__autorest.typescript__3737
Azure/autorest.typescript
3,737
defect
37ae257330820e16b5f81cc6eba9f112ed887b1e
2a8532f010e1bddd8c5901bec191c951916ab9b4
Fix naming conflict when model is named `Client`
Hardcoded import aliasing to `Client` in operation files caused naming conflicts when TypeSpec models were named `Client`: ```typescript import { EventGridContext as Client } from "../index.js"; import { Client } from "../../models/models.js"; // Duplicate identifier ``` ## Changes - **binder.ts**: Modified `genera...
diff --git a/packages/typespec-ts/src/framework/hooks/binder.ts b/packages/typespec-ts/src/framework/hooks/binder.ts index f4528c149c..bc83a53739 100644 --- a/packages/typespec-ts/src/framework/hooks/binder.ts +++ b/packages/typespec-ts/src/framework/hooks/binder.ts @@ -114,11 +114,19 @@ class BinderImp implements Bind...
3
2
1
[{"id": "G0", "claim": "The generated operations file should keep the context import aliased as `Client` (e.g. `import { EventGridContext as Client } from \"../index.js\";`) and instead import a conflicting model named `Client` as `Client_1`, preserving the pre-existing public shape.", "category": "correctness", "verdi...
null
Azure__autorest.typescript__3763
Azure/autorest.typescript
3,763
defect
bf5c302764d338b1366645ad94adcbefb8f1c96a
6f51ba8ef90a029402af1b5813e3b3ce179211ab
Honor bytes encoding in XML and fix deserialization of nested text-only elements
- Honor base64 encoding when serializing - Fix XML deserialization for nested objects with text-only content. When an XML element maps to a complex type but only contains text (e.g., `<Name>value</Name>`), the deserializer is now correctly invoked.
diff --git a/packages/typespec-ts/src/modular/serialization/buildXmlSerializerFunction.ts b/packages/typespec-ts/src/modular/serialization/buildXmlSerializerFunction.ts index 36f902adec7..5bf2d8ddc97 100644 --- a/packages/typespec-ts/src/modular/serialization/buildXmlSerializerFunction.ts +++ b/packages/typespec-ts/src...
2
2
0
[{"id": "G0", "claim": "The hand-rolled base64 encode/decode helpers this PR adds to xml-helpers.ts should be replaced with @azure/core-util's uint8ArrayToString and stringToUint8Array.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ternarie...
null
Azure__autorest.typescript__3764
Azure/autorest.typescript
3,764
defect
37ae257330820e16b5f81cc6eba9f112ed887b1e
9053cad4a8f96c040b73d2537af7a17321aa9d59
re-generation, the metadata files should be update
fixes https://github.com/Azure/autorest.typescript/issues/3750 <img width="1038" height="981" alt="image" src="https://github.com/user-attachments/assets/f0113040-d56b-40ab-950f-75da34181ea2" /> <img width="961" height="737" alt="image" src="https://github.com/user-attachments/assets/f1da3624-165d-4a2e-acfb-8bf990e...
diff --git a/packages/rlc-common/src/metadata/buildPackageFile.ts b/packages/rlc-common/src/metadata/buildPackageFile.ts index fe24339f22..8e9d6f7f4e 100644 --- a/packages/rlc-common/src/metadata/buildPackageFile.ts +++ b/packages/rlc-common/src/metadata/buildPackageFile.ts @@ -91,15 +91,17 @@ export function buildPack...
2
2
2
[{"id": "G0", "claim": "The snippet regeneration should not be gated on option.generateTest, which conflicts with hasTestFolder and is the wrong signal for snippets.spec.ts; the reviewer asked for a check and suggested option.azureSdkForJs instead.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
Azure__autorest.typescript__3802
Azure/autorest.typescript
3,802
defect
2541cb57066183b37ec817fc104e46563232debc
8e77a1a715cb50dbb8f3b6d08a1682d2bf985e48
feat: emit warp config instead of tshy for Azure monorepo packages
Replace tshy build configuration with [warp](https://github.com/Azure/azure-sdk-for-js/pull/37328) for packages generated with azureSdkForJs=true. This generates a warp.config.yml file and resolved dist-level exports in package.json instead of inline tshy config. Changes: - Add buildWarpConfig.ts to generate warp.c...
diff --git a/packages/autorest.typescript/package.json b/packages/autorest.typescript/package.json index da8758ba6f..1a7906d122 100644 --- a/packages/autorest.typescript/package.json +++ b/packages/autorest.typescript/package.json @@ -3,9 +3,9 @@ "version": "6.0.59", "scripts": { "build": "tsc -p . && npm ru...
2
2
2
[{"id": "G0", "claim": "The warp.config.yml generation logic should only apply when warp.config.yml does not already exist, so that existing warp.config.yml files are not overwritten.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A package generate...
null
Azure__autorest.typescript__3810
Azure/autorest.typescript
3,810
defect
fbbf51f3cd0bd44264813c1e47965015a7be295b
af47e44d923174e95b59539bd76bd7f6144e8e78
Report TCGC diagnostics and consolidate diagnostics tests
1. Report error and warning diagnostics from dpgContext if any. 2. Consolidate all diagnostics tests into diagnostics.spec.ts.
diff --git a/packages/typespec-ts/src/index.ts b/packages/typespec-ts/src/index.ts index a98f3547a8..71c8f14fe3 100644 --- a/packages/typespec-ts/src/index.ts +++ b/packages/typespec-ts/src/index.ts @@ -120,6 +120,12 @@ export async function $onEmit(context: EmitContext) { const program: Program = context.program; ...
1
1
1
[{"id": "G0", "claim": "Add a small unit test covering the TCGC diagnostics reporting, for example with duplicated models, to ensure the diagnostics are triggered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__autorest.typescript__3851
Azure/autorest.typescript
3,851
defect
b442a919d72a320d4e9baf9a351e925ad5ababbc
9e9adfa0a62a7f3305c03bd16f60c7d543b2a117
Fix Nighly CI error
fixes https://github.com/Azure/autorest.typescript/issues/3849
diff --git a/packages/typespec-ts/src/utils/clientUtils.ts b/packages/typespec-ts/src/utils/clientUtils.ts index f646b40195..28ddd87e89 100644 --- a/packages/typespec-ts/src/utils/clientUtils.ts +++ b/packages/typespec-ts/src/utils/clientUtils.ts @@ -30,16 +30,7 @@ export function getRLCClients( // For one client ...
3
2
1
[{"id": "G0", "claim": "Removing the lines that set crossLanguageDefinitionId on single-client Modular clients may affect anything.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use describe.skip to skip the tests instead of commenting the whole sp...
null
Azure__autorest.typescript__3852
Azure/autorest.typescript
3,852
defect
b442a919d72a320d4e9baf9a351e925ad5ababbc
2ee958a5cbbaaa9e94e26e29f4161e11f11245ac
Fix: Restore full error.details handling for binary wrap-non-model-return deserializers
### Problem Commit `49500efaa` introduced the `wrap-non-model-return` feature which defaults to `true` for all Azure-flavored clients. The **binary wrap** path had two regressions: 1. **Deserializer skipped `error.details` extraction** — `if (!(shouldWrap && isBinary))` completely bypassed `getExceptionThrowState...
diff --git a/packages/typespec-ts/src/modular/helpers/operationHelpers.ts b/packages/typespec-ts/src/modular/helpers/operationHelpers.ts index f9165b99d1..85bb6f7228 100644 --- a/packages/typespec-ts/src/modular/helpers/operationHelpers.ts +++ b/packages/typespec-ts/src/modular/helpers/operationHelpers.ts @@ -191,14 +1...
4
3
1
[{"id": "G0", "claim": "The pull request should remove (or justify keeping) the two existing getBinaryResponseBody helpers (get-binary-response-body.ts and its browser variant) now that the new getBinaryStream helper exists.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
Azure__autorest.typescript__3869
Azure/autorest.typescript
3,869
defect
3e68f57c3eef3ab4c8f35b0d1c4ea4498b464635
9d3a94fd38f57cd062390d4e9c4b877e9d4cf0c1
Add `treat-unknown-as-record` feature flag to map TypeSpec `unknown` to `Record<string, unknown>` in Modular SDK
When migrating from HLC to TypeSpec-generated Modular SDKs, TypeSpec `unknown` emits as `any`, but HLC mapped the equivalent swagger type to `Record<string, unknown>`. This breaks public API compatibility for migrating services. ## Changes - **New emitter option** `treat-unknown-as-record` (boolean, Modular only, def...
diff --git a/packages/rlc-common/src/interfaces.ts b/packages/rlc-common/src/interfaces.ts index 44eef151b9..8a9d978d29 100644 --- a/packages/rlc-common/src/interfaces.ts +++ b/packages/rlc-common/src/interfaces.ts @@ -272,6 +272,12 @@ export interface RLCOptions { * `_response` property containing `rawResponse`, `...
2
2
2
[{"id": "G0", "claim": "When treatUnknownAsRecord is enabled, the emitter should generate noWrap for the unknown type (e.g. as a return type) instead of wrapping it in a body wrapper.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a unit test fo...
null
Azure__autorest.typescript__3911
Azure/autorest.typescript
3,911
defect
35f6dafcf2c4d580acbec47f3592e7aef5fde751
13d98a37903fc960f7e5d543fcc2b4f1113cfb30
Fix arm resource model property filtering for specific cases
See issue description in #3910. To fix the gap of `@Http.Private.includeInapplicableMetadataInPayload(false)` and `@key` handling in TypeSpec for ARM resource models after supporting generating metadata parameters in models (#3848 ), the workaround here is to filter out metadata properties that are **required** and ...
diff --git a/packages/typespec-test/test/compute/generated/typespec-ts/review/compute.api.md b/packages/typespec-test/test/compute/generated/typespec-ts/review/compute.api.md index 489730a4ef..b5b7e76552 100644 --- a/packages/typespec-test/test/compute/generated/typespec-ts/review/compute.api.md +++ b/packages/typespec...
2
2
1
[{"id": "G0", "claim": "The new ARM filter skips only required metadata properties with Read visibility; the reviewer asks why optional ones are not filtered out too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "No description is given of why the ...
null
Azure__autorest.typescript__3914
Azure/autorest.typescript
3,914
defect
641a3b71408ea564e78e8c2b4299b391f23e64fe
87ab316c736d67b990bff97bcb72a18f8e0512f2
chore: bump TypeSpec dependencies to latest stable
Updates TypeSpec-related dependencies in `packages/typespec-ts` and `packages/typespec-test` to their latest available versions. ## Version updates **`next`-tagged packages** (spector/spec tooling): - `@azure-tools/azure-http-specs`: `0.1.0-alpha.40-dev.0` → `0.1.0-alpha.40-dev.4` **`latest`-tagged packages** (minim...
diff --git a/packages/typespec-test/package.json b/packages/typespec-test/package.json index 734f0992c8..57cee7befc 100644 --- a/packages/typespec-test/package.json +++ b/packages/typespec-test/package.json @@ -8,8 +8,8 @@ "@azure-tools/typespec-autorest": "^0.67.0", "@typespec/openapi3": "^1.11.0", "@az...
3
3
2
[{"id": "G0", "claim": "Fix the integration test CI error the pull request was causing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Revert the version bumps of @typespec/spector and @typespec/spec-api in packages/typespec-ts/package.json.", "cate...
null
Azure__autorest.typescript__3959
Azure/autorest.typescript
3,959
defect
9d0d184cdb18536b11e0d888135246ec84945e86
8ae74873b3195840c6d9469972c638f70846a8d3
chore: bump TypeSpec dependencies to latest stable
Upgrades all TypeSpec and Azure TypeSpec dependencies to their latest stable releases in `packages/typespec-ts` and `packages/typespec-test`. ## Version bumps | Package | From | To | |---|---|---| | `@typespec/compiler` / `http` / `openapi` / `openapi3` / `json-schema` | `^1.11.0` | `^1.12.0` | | `@typespec/rest` / `...
diff --git a/packages/typespec-test/package.json b/packages/typespec-test/package.json index d20dc2c05f..8bda102959 100644 --- a/packages/typespec-test/package.json +++ b/packages/typespec-test/package.json @@ -4,18 +4,21 @@ "type": "module", "dependencies": { "@azure-tools/typespec-ts": "workspace:^0.52.3",...
4
3
1
[{"id": "G0", "claim": "The pull request's smoke test CI and other case tests were failing, and the reviewer asked the author to fix them.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Remove the newly added @typespec/sse, @typespec/events and @typespe...
null
Azure__azqr__128
Azure/azqr
128
defect
75645ef3c45188be6ecf58ee30400b682103312e
2a68c61b5b50e55a7917387222f242355ffeca05
adding adx #99
# Description adding adx support ## Issue reference We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation. Please reference the issue this PR will close: #99 ## Checklist Please make sure you've completed the relevant tasks fo...
diff --git a/README.md b/README.md index 3601a7fc..a652609f 100644 --- a/README.md +++ b/README.md @@ -40,37 +40,38 @@ To learn more about the rules used by **Azure Quick Review (azqr)** for generati **Azure Quick Review (azqr)** currently supports the following Azure services: +* Azure API Management +* Azure App...
1
1
1
[{"id": "G0", "claim": "Please add DataExplorerScanner to the services list in cmd/azqr/scan.go and cmd/azqr/rules.go.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azqr__137
Azure/azqr
137
defect
82bdc80529ffd9d89d6ac5ff71e610baa7e5215a
f5ff8c11ec8ea08d9fc495143b81ad2819d3016a
Add MariaDB Scanner
# Description Adding Azure Database for MariaDB support. ## Issue reference We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation. Please reference the issue this PR will close: #106 ## Checklist Please make sure you've completed the rele...
diff --git a/README.md b/README.md index 14211d0f..de4ffdb7 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ To learn more about the rules used by **Azure Quick Review (azqr)** for generati * Azure Cosmos DB * Azure Data Explorer * Azure Data Factory +* Azure Database for MariaDB * Azure Database for MySQL ...
2
2
2
[{"id": "G0", "claim": "The MariaDB scanner should include an SLA rule (the reviewer asked to add one).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Private Endpoint rule should not use the scan context to decide the result.", "category": "cor...
null
Azure__azqr__204
Azure/azqr
204
defect
ccf3c671fc0e10550aeab0d23832076ab98cfd71
f60cbe6029506b6b9591e2429b66fabef1ec433f
feature: add synapse workspace & synapse spark pool cmd's
# Description Added a scanner for - Synapse Analytics Workspaces - Synapse Spark Pools - Synapse Dedicated SQL Pools ## Issue reference We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation. Please reference the issue this PR ...
diff --git a/README.md b/README.md index 0fe41b09..f7623402 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,9 @@ To learn more about the recommendations used by **Azure Quick Review (azqr)**, y * Azure SignalR Service * Azure SQL Database * Azure Storage Account +* Azure Synapse Analytics Workspace +* Azure Syna...
1
1
1
[{"id": "G0", "claim": "The pull request registers three separate synapse scanners (synw, synsp, syndp), so a scan without subcommands potentially scans workspaces three times; to avoid this, centralize all synapse scanning under the synw subcommand and remove the other two, with the synw scan running both the workspac...
null
Azure__azqr__215
Azure/azqr
215
defect
177378b521e83bf223709846ac5f8a90bb02a3b2
3fe07e63557f32a55aa8150b7880abaf1d731485
feature: fix minor false positives and wrong behavior
# Description - Removed check for SQLDB diagnostic settings - Added a to lower for SKU of APPCS - Updated documentation link for AKS ## Issue reference We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation. Please reference the is...
diff --git a/docs/content/en/docs/Recommendations/_index.md b/docs/content/en/docs/Recommendations/_index.md index 42f58e5d..ac9a4919 100644 --- a/docs/content/en/docs/Recommendations/_index.md +++ b/docs/content/en/docs/Recommendations/_index.md @@ -49,7 +49,7 @@ Azure Quick Review checks the following recommendations...
1
1
0
[{"id": "G0", "claim": "The recommendations table in the docs should be regenerated by running `go run .\\cmd\\main.go rules > rules.txt` and copying the results into docs/content/en/docs/Recommendations/_index.md instead of being edited by hand.", "category": "documentation", "verdict": "supported", "priority": "P2", ...
null
Azure__azqr__233
Azure/azqr
233
defect
b24e7cb3403ba8805886b4ee26fd89ce75d41f0e
c9800b25469629445743ffdcb87db3d4db2238e9
feature: Managed Grafana scanner
# Description Add Managed Grafana Scanner ## Issue reference We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation. Please reference the issue this PR will close: #232 ## Checklist Please make sure you've completed the releva...
diff --git a/README.md b/README.md index 6915810a..8ada7b7e 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ To learn more about the recommendations used by **Azure Quick Review (azqr)**, y * Azure Kubernetes Service * Azure Load Balancer * Azure Logic Apps +* Azure Managed Grafana * Azure Service Bus * Az...
2
2
0
[{"id": "G0", "claim": "The amg-005 rule's documentation link (https://learn.microsoft.com/en-us/azure/aks/availability-zones) may not be the correct page for Azure Managed Grafana availability zones.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
Azure__azure-cli__28019
Azure/azure-cli
28,019
defect
c05c81c1576785aec856abe1e3ac6dda9c816eeb
342731477ffc740879323f2e6b84dede815b1139
[Monitor] `az monitor log-analytics workspace`: Add `list-link-target` and `list-available-service-tier`
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> az monitor log-analytics workspace **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description c...
diff --git a/src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/__init__.py b/src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/__init__.py index 5757aea3175..f6acc11aa4e 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/aaz/latest/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/mo...
4
4
2
[{"id": "G0", "claim": "The workspace command group description was changed to the lowercased command string \"monitor log-analytics workspace\", and the reviewer asks why this change from \"Manage Azure log analytics workspace\" was made.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr...
null
Azure__azure-cli__29953
Azure/azure-cli
29,953
defect
e9d2a537db9c59864196ee2469f554e06d7f711a
8d78a5aca0f04072bb365db168b0a1c0ff1a05f7
[Core] `aaz`: Support managed identity
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli-core/azure/cli/core/aaz/__init__.py b/src/azure-cli-core/azure/cli/core/aaz/__init__.py index 96587ebc7a7..192e0bf3c09 100644 --- a/src/azure-cli-core/azure/cli/core/aaz/__init__.py +++ b/src/azure-cli-core/azure/cli/core/aaz/__init__.py @@ -22,7 +22,7 @@ from ._command import AAZCommand, AA...
8
5
1
[{"id": "G0", "claim": "Move the AAZIdentityObject const values (miUserAssigned, userAssigned, miSystemAssigned, systemAssigned) out of the class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the public build_identity helper to the private _buil...
null
Azure__azure-cli__30143
Azure/azure-cli
30,143
defect
c2f8ede19ae79486aba131f7fe87a3ec061c24b4
33bc06beef70e6d411abddd97b62c1edf28c9d8a
{aks} Fix bug related to updating DCR when non monitoring add enabled through az aks enable-addons
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/custom.py b/src/azure-cli/azure/cli/command_modules/acs/custom.py index 062c8004c88..2294339a1a2 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/acs/custom.py @@ -1152,8 +1152,7 @@ def aks_enable_ad...
2
2
1
[{"id": "G0", "claim": "Inside the new is_monitoring_addon_enabled helper, the local variable is_monitoring_addon_enabled redefines the name from outer scope (pylint W0621) and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
Azure__azure-cli__30569
Azure/azure-cli
30,569
defect
3c540dfba300d58b140e415897438649b0e4f9bc
a8a27eca27b7a452ac0ce51b0a2224d2d50de5c7
[Storage] Fix #29929: `az storage copy`: Fix when wildcard `*` is in `--source-file-path`
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli/azure/cli/command_modules/storage/operations/fileshare.py b/src/azure-cli/azure/cli/command_modules/storage/operations/fileshare.py index 3b4aa5d2655..7f4a6712cf4 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/operations/fileshare.py +++ b/src/azure-cli/azure/cli/command_modules...
1
1
1
[{"id": "G0", "claim": "The wildcard handling should also cover a `*` inside `directory_path` (not just `file_name`), and that case should be tested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-cli__30633
Azure/azure-cli
30,633
defect
3bbd156b0e3ecd0f516df62ab0f1d6563bb36065
015780bf21546bd2be69e9160939fb8fb296512b
[DevTest Labs] Add Hibernation Support
**Related command** az lab vm hibernate **Description**<!--Mandatory--> Add hibernate command to DTL CLI **Testing Guide** az lab vm hibernate --id resource_id **History Notes** <!--If your PR is not customer-facing, use {Component Name} in the PR title. Otherwise, use [Component Name] to allow our pipeli...
diff --git a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/__init__.py b/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/__init__.py index 6e656f6ba74..8c351a78181 100644 --- a/src/azure-cli/azure/cli/command_modules/lab/aaz/latest/lab/vm/__init__.py +++ b/src/azure-cli/azure/cli/command_m...
1
1
1
[{"id": "G0", "claim": "Please add tests for the new commands.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-cli__30886
Azure/azure-cli
30,886
defect
0052ebfbeb374246a8dfdb907f93a80fd23cc21d
4ffeb612e166d30f774502594c4081633f334982
[AKS] `az aks`: Fix outbound type validation error msg
**Related command** 'az aks create/update' **Description** Fix error message when outbound type validation failed. **Testing Guide** <!--Example commands with explanations.--> update cluster and set vnet_subnet_id with outbound type loadbalancer. **History Notes** <!--If your PR is not customer-facing, u...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py b/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py index b4e24e8fe57..8eca3b45c34 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/managed_cluster_decorator.py +++ b/src/azure-cli/azure/cli/command_modu...
2
1
1
[{"id": "G0", "claim": "The new ctx_9 test case pairs a managed-cluster context in DecoratorMode.UPDATE with an agent-pool context in DecoratorMode.CREATE, a combination the reviewer says cannot occur because the two modes should always be consistent.", "category": "testing", "verdict": "supported", "priority": "P1", "...
null
Azure__azure-cli__31718
Azure/azure-cli
31,718
defect
730f77bb3360b7d7f3c274387615d2dc15f32e05
8deb28fd2d8b67a2c7dd7be3fd84f15f911989d1
{afd}`afd origin-group` probe bug fix
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py index f3ea12b7277..0f02b3b3674 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom...
2
1
0
[{"id": "G0", "claim": "The debug print statement appears to be leftover from development; remove it to avoid unnecessary console output in production (suggested replacement: logger.debug('health_probe_settings: %s', args.health_probe_settings)).", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
Azure__azure-cli__31783
Azure/azure-cli
31,783
defect
9de7b98edcf02c92f8e85842193ed90e05fbcca9
9dd7e03068c30bc638f485129cb0155b994c7656
[ACR] `az acr create`: Fix domain name label suffix validation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli/azure/cli/command_modules/acr/_validators.py b/src/azure-cli/azure/cli/command_modules/acr/_validators.py index 3f2c6c8422e..a9901424d5e 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/acr/_validators.py @@ -120,7 +120,7 @@...
1
1
1
[{"id": "G0", "claim": "The `ends_with` call returns a boolean (and is not a str method) rather than the starting index of the suffix, breaking the subsequent slice logic; use Python's built-in `str.endswith` with a computed slice position, and fix the same suffix handling in the first dash-based check.", "category": "...
null
Azure__azure-cli__31858
Azure/azure-cli
31,858
defect
efa4945ff1c7ecc00dbf86e15a359d9e63d50492
d28cce4644fb7326dbebaee14eb7055b20a464fc
[Compute] `az compute-recommender spot-placement-score`: Add new command to replace original command `az compute-recommender spot-placement-recommender`
**Related command** az compute-recommender spot-placement-score **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> Changing the command from az compute-recommender spot-placement-recommender to az compute-reco...
diff --git a/src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/__init__.py b/src/azure-cli/azure/cli/command_modules/compute_recommender/aaz/latest/compute_recommender/__init__.py index c54c216e0fc..43a7f0c7584 100644 --- a/src/azure-cli/azure/cli/command_modules/compute_recomme...
3
2
2
[{"id": "G0", "claim": "The new `spot-placement-score` command is registered with `is_preview=True` even though it targets the stable 2025-06-05 API version; the comment asks to remove the preview flag or verify that marking it preview is intentional.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
Azure__azure-cli__32115
Azure/azure-cli
32,115
defect
f7c9331821c1b8ba88a4d90cf77b5e1fa78d2fc2
a3c6585ae30822692af1d308c2425fa1f6188461
[ACS] `az aks create`: Make `--no-ssh-key` default behaviour
**Related command** aks **Description**<!--Mandatory--> * Previously when the `aks create` command was run without any ssh related parameters, the command would fail * This change defaults the `aks create` command to operate under the pretense that --no-ssh-key was provided as a parameter * Resolves feature requ...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index 4aa9f5a08a5..18e73d6ef55 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -95,6 +95,10 @@ - name: --ssh-key-val...
7
4
2
[{"id": "G0", "claim": "The walrus-operator assignment in validate_ssh_key is hard to read; the variable assignment should be separated from the os.path.exists call for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The nested if statem...
null
Azure__azure-cli__32488
Azure/azure-cli
32,488
defect
58844de4dc71df4e83f45f563ce8953bbc7c4edd
8c445fe7265f63cb8963f2089a122758d54ffd9e
[Network] `az network application-gateway waf-policy managed-rule rule-set`: Support disabled rules by default
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az network application-gateway waf-policy managed-rule rule-set add` `az network application-gateway waf-policy managed-rule rule-set update` `az network app...
diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_policy_compute_disabled_rule.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_policy_compute_disabled_rule.yaml new file mode 100644 index 00000000...
4
4
0
[{"id": "G0", "claim": "Add a space after the colon in 'policy_name':self.create_random_name('waf', 15) for PEP 8 consistency.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use a consistent command prefix within the test by dropping the 'az ' p...
null
Azure__azure-cli__32518
Azure/azure-cli
32,518
defect
4ef98981a2a015f7430e1e60e074b026f286bf24
f6e769b1ae39f0c53e548223ca52c00dffe25466
{Core} using threads to build command table for performance
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index ae0f253caee..29eda72fc27 100644 --- a/src/azure-cli-core/azure/cli/core/__init__.py +++ b/src/azure-cli-core/azure/cli/core/__init__.py @@ -9,6 +9,8 @@ import os import sys import timeit +import concurren...
10
7
1
[{"id": "G0", "claim": "traceback.format_exc() in _handle_module_load_error runs on the main thread where no exception is active, so it can log an empty or incorrect traceback; the traceback should be captured where the exception is caught in _load_single_module and stored in ModuleLoadResult.", "category": "correctnes...
null
Azure__azure-cli__32536
Azure/azure-cli
32,536
defect
3b4fab9f7c78239e24f97fe5e9f0f7e2936cf29d
ec9539e619127d15257e231d5954a89907907ff6
[AKS] Fix #15932: `az aks install-cli`: Add `--gh-token` parameter to allow authentication when downloading kubelogin
**Related command** `az aks install-cli` **Description**<!--Mandatory--> [AKS] `az aks install-cli`: Add `--gh-token` option to allow authentication when downloading kubelogin binaries from GitHub releases, helping to prevent rate limiting. This helps resolve issue #15932 **Testing Guide** <!--Example commands...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/_params.py b/src/azure-cli/azure/cli/command_modules/acs/_params.py index a5713886026..fd8aec6ebe2 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_params.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_params.py @@ -877,6 +877,7 @@ def load_argume...
3
1
1
[{"id": "G0", "claim": "The docstring of k8s_install_kubelogin should be updated to document the new gh_token parameter, explaining its purpose and when it should be used (e.g., avoiding GitHub API rate limiting).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
Azure__azure-cli__32616
Azure/azure-cli
32,616
defect
2e2dc73409654f5c4b64d20114f5f9c7b15d749e
c12f9647b6e55acba87852afb7e6a0916c297f15
{Core} Top-level tab completion performance improvements
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> This PR aims to improve the performance of top-level tab-completion, (i.e., `az [TAB]`). Local testing has shown signific...
diff --git a/.vscode/launch.json b/.vscode/launch.json index e7ed7a11353..5d00ab3b09d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -38,6 +38,26 @@ "--help" ], "console": "integratedTerminal", + }, + { + "name": "Azure CLI Debug Tab Com...
4
2
2
[{"id": "G0", "claim": "The stub command handler `lambda: None` does not match the expected signature of command handlers, which typically accept `*args, **kwargs`; use a signature-compatible no-op handler as suggested.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
Azure__azure-cli__32619
Azure/azure-cli
32,619
defect
70c3eb6bc1bd6a21a7319f0bc8ebf5cd4e09ca2a
9c4d41bf7cec296d6b2455a786b70b5e7e27eaaa
[Storage] `az storage account file-service-properties update`: Add `--require-smb-encryption-in-transit` and `--require-nfs-encryption-in-transit`
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index 4b9928ccc86..dccc7b2eb03 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -762,6 +762,12 @...
4
3
1
[{"id": "G0", "claim": "Using `elif` means that when `instance.protocol_settings` exists but `smb` is missing, `nfs` is never initialized; the two settings should be initialized independently with separate `if` statements.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
Azure__azure-cli__32634
Azure/azure-cli
32,634
defect
ad78421590e6a416b44bd008d4108e207424a11c
8af4199d139d8688fe65b0ffd6d362fa65cda7f3
[App Service] `az webapp create`: Update this and similar commands to use new Site-level outboundVnetRouting property
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> az webapp create az webapp config set az webapp vnet-integration add az functionapp create az functionapp vnet-integration add **Description**<!--Mandato...
diff --git a/src/azure-cli/azure/cli/command_modules/appservice/custom.py b/src/azure-cli/azure/cli/command_modules/appservice/custom.py index 5b53d219c6f..ba1fa0cc296 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/custom.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/custom.py @@ -127,7 +...
2
1
1
[{"id": "G0", "claim": "The new Site-level update via begin_create_or_update runs before the SiteConfig update, so if both vnet_route_all_enabled and other config parameters are given in the same command the SiteConfig update could overwrite or conflict with the Site update; the behavior should be documented or the ord...
null
Azure__azure-cli__32637
Azure/azure-cli
32,637
defect
69461faefd7a436074cc472814ebd57a8149b75e
f8053478744cf26a0487b1363e3f0c052e2e92b8
{Core} Use commandIndex caching to improve performance of top-level `help` commands
**Related command** `az help` / `az --help` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ADO Item: https://msazure.visualstudio.com/One/_workitems/edit/35870312 **Testing Guide** <!--Example comman...
diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index 16396007d95..e94db29e0bc 100644 --- a/src/azure-cli-core/azure/cli/core/__init__.py +++ b/src/azure-cli-core/azure/cli/core/__init__.py @@ -452,6 +452,7 @@ def _get_extension_suppressions(mod_loaders): ...
7
7
3
[{"id": "G0", "claim": "The top-level-help detection has a flaw: matching args[-1] == 'help' also matches 'az vm help', and the follow-up loop that filters it out creates unnecessary processing — consider checking the position of 'help' more carefully or documenting why the two-step approach is needed (a concrete rewri...
null
Azure__azure-cli__32700
Azure/azure-cli
32,700
defect
7979d030c51976eb22c3871b689cd6f8e0c5a513
bd8bba3abb9c85781144dd3b296ba3dfca3e928e
[AKS] `az aks create/update`: Add `--enable-container-network-logs` parameter
**Related command** az aks create az aks update **Description** Add support for enabling and disabling Container Network Logs on AKS clusters with Advanced Container Networking Services (ACNS). New parameters: - `az aks create --enable-container-network-logs`: Enable container network logs during cluster crea...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index 092b9eb8d52..97c939b9b87 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -329,7 +329,7 @@ short-summary: Res...
3
3
2
[{"id": "G0", "claim": "The error message for enabling container network logs is redundant and unclear because it lists '--enable-acns' and 'advanced networking' as separate requirements, and it should be reworded as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
Azure__azure-cli__32711
Azure/azure-cli
32,711
defect
c1906171202b73f6c478f4313ff6c4f1ae840d14
2fea4bad617f0de65a422571de1b018e5892f031
[Maps] `az maps account create`: Add default value for `--sku`
**Related command** az maps account create **Description**<!--Mandatory--> Azure Maps now only supports one `--sku` (`G2`) for new accounts. The CLI should not require users to provide a --sku when creating new accounts. **Testing Guide** Manually verified default value used when --sku is omitted. No change t...
diff --git a/src/azure-cli/azure/cli/command_modules/maps/_params.py b/src/azure-cli/azure/cli/command_modules/maps/_params.py index b8ac8fd97b5..6fdbc19ad32 100644 --- a/src/azure-cli/azure/cli/command_modules/maps/_params.py +++ b/src/azure-cli/azure/cli/command_modules/maps/_params.py @@ -40,7 +40,7 @@ def load_argu...
1
1
1
[{"id": "G0", "claim": "A test case should be added to cover the new default --sku ('G2') behaviour in 'az maps account create'.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__azure-cli__32730
Azure/azure-cli
32,730
defect
74ac43dc5b3e1872b2768b815e976641db1aa3d7
850b6d55b9f86f7ab377bc319b4bfae8666cc48b
{Core} Use multi-threading to build command index to improve performance
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index 0a2c2bf418e..e0dea7192ee 100644 --- a/src/azure-cli-core/azure/cli/core/__init__.py +++ b/src/azure-cli-core/azure/cli/core/__init__.py @@ -9,6 +9,8 @@ import os import sys import timeit +import concurren...
2
2
2
[{"id": "G0", "claim": "MODULE_LOAD_TIMEOUT_SECONDS is ineffective because future.result(timeout=...) is called on futures already completed by as_completed, so a hung module load blocks indefinitely and never raises TimeoutError; the timeout must be enforced at the as_completed/wait level.", "category": "correctness",...
null
Azure__azure-cli__32750
Azure/azure-cli
32,750
defect
5352ca83cfeca436b8fa5dc16a06831bf61bff2c
0a2bff4188ebef5ea540bd2f1b6d5a6c008e4e04
{ARM} `az deployment`: Support `using none` in .bicepparam parameter files
**Related command** `az deployment group create`, `az deployment group validate`, `az deployment group what-if`, `az deployment sub create`, `az deployment mg create`, `az deployment tenant create` Description Bicep now supports `using none` in .bicepparam files, allowing a single parameters file to be reused ...
diff --git a/src/azure-cli/azure/cli/command_modules/resource/_bicep.py b/src/azure-cli/azure/cli/command_modules/resource/_bicep.py index 351e561a951..c63bf87cba4 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_bicep.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_bicep.py @@ -177,6 +177,22 @...
6
6
3
[{"id": "G0", "claim": "The new function opens the .bicepparam file without specifying encoding='utf-8', which is less robust and may behave inconsistently across platforms and locales.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Exact string mat...
null
Azure__azure-cli__32752
Azure/azure-cli
32,752
defect
8bfa87ae40f5a6f3adc34f05e5d1fdff58f2cb6b
fcf0e565e4aea2fab6bbabbcd63c7d817d020f0f
[CosmosDB] Fix #32608: `az cosmosdb restore`: Fix "Database Account does not exist" error during polling
**Related command** `az cosmosdb restore` **Description** This PR fixes a known issue (GitHub Issue #32608) where `az cosmosdb restore` command fails with a `(Forbidden) Database Account <account-name>-<location> does not exist` error. The Azure backend service occasionally appends the location name to the acco...
diff --git a/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py b/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py index 23c00ad47db..cdbc1847c7a 100644 --- a/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py +++ b/src/azure-cli/azure/cli/command_modules/cosmosdb/custom.py @@ -409,7 +409,13 @...
10
6
2
[{"id": "G0", "claim": "The mocked-import block in the test setUp has extra leading spaces and its indentation should be aligned with the surrounding code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `_create_database_account(` call in te...
null
Azure__azure-cli__32763
Azure/azure-cli
32,763
defect
2bc85ae2fd87d278f1cb6ef5aa609f990ab5b9ea
e80a4b5b76868137e8eae6e7d6636a269aa4c2d8
{Compute} `az vm install-patches`: Migrate command to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vm install-patches` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 8d6e77a6af2..881bca82374 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -29,6 +29,7 @@ from azure.cli.com...
3
3
1
[{"id": "G0", "claim": "Remove the unused import of `resource_privatelinksassociation_sdk` from custom.py, which triggers unused-import linting and adds unnecessary coupling to the resource module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Azure__azure-cli__32783
Azure/azure-cli
32,783
defect
3ec79b5613b7a2a6dbec4889ba045fc2e628952b
42a78f86628842fa29df023ed41ddae21f6c376f
{Compute} `az vmss application`: Migrate command group to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vmss application set` `az vmss application list` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-qual...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/commands.py b/src/azure-cli/azure/cli/command_modules/vm/commands.py index 460a952f4d7..e4fd55ac059 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/commands.py @@ -401,9 +401,11 @@ def load_comma...
3
3
2
[{"id": "G0", "claim": "Use the operations.vmss.VMSSShow wrapper (or the existing get_vmss_by_aaz helper) instead of importing Show directly from .aaz.latest.vmss, so the standard VMSS show output normalization is applied.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
Azure__azure-cli__32785
Azure/azure-cli
32,785
defect
3ec79b5613b7a2a6dbec4889ba045fc2e628952b
c6971f36e2908491ece8c9240cebcd505190480c
{Compute} `az vmss deallocate`: Migrate command to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vmss deallocate` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate th...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py index 06ac4aa5ab4..9079d870e3d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/vm...
2
2
0
[{"id": "G0", "claim": "The comment misspells \"walkaround\" where it should say \"workaround\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The `if hibernate is not None` / `else` branches both return the same `VmssDeallocate(...)` call, so ...
null
Azure__azure-cli__32794
Azure/azure-cli
32,794
defect
c92c01cf9f4c8f2fd61bf6e390b270b5312ff421
1899c9e8d9b2479ee47ffafb672936dad57ba66c
{Compute} `az vmss restart`: Migrate command to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vmss restart` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the r...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py index 06ac4aa5ab4..19ec466feb6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/vm...
1
1
1
[{"id": "G0", "claim": "restart_vmss forces instance_ids to ['*'] when the user omits --instance-ids, needlessly diverging from the AAZ contract where omitting instanceIds means apply to all VMs; it should leave instance_ids as None so the request body can omit instanceIds (and optionally translate an explicit '*' to o...
null
Azure__azure-cli__32799
Azure/azure-cli
32,799
defect
625c3f89a23f1a5327ec8e41671520b0701172dd
1c595a1b8bc9598391a7de352b093bd7e75cfaf5
{Compute} `az vmss stop`: Migrate command to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vmss stop` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the revi...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py index 06ac4aa5ab4..7794bda7b1d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/vm...
1
1
1
[{"id": "G0", "claim": "The rewritten stop_vmss drops the legacy default of sending instanceIds=['*'] when --instance-ids is omitted (omitting the field entirely instead), which can change the CLI contract and break existing recorded tests; the comment suggests restoring instance_ids=['*'] when instance_ids is None (or...
null
Azure__azure-cli__32839
Azure/azure-cli
32,839
defect
7ddc82cd64fc6d1441f306b15841b604e0023e2b
c37f43954deca4fe87163ec51c2319a1767beac0
{Compute} `az vmss set-orchestration-service-state`: Migrate command to aaz-based implementation
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az vmss set-orchestration-service-state` **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality descript...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 881bca82374..002c0e37d79 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -29,7 +29,8 @@ from azure.cli.com...
1
1
1
[{"id": "G0", "claim": "The OrchestrationServiceNames enum includes DUMMY_ORCHESTRATION_SERVICE_NAME, a value the AAZ command does not accept (only 'AutomaticRepairs' is valid), so it should be removed from the enum or added to the AAZ specification.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
Azure__azure-cli__32851
Azure/azure-cli
32,851
defect
d01027d24174a819c801343be8a8404ccff24ef2
2522929a527aafd6ede03e8c5f9aec49d95f7751
{Compute} migrate `vmss update-instances` to aaz
**Related command** `vmss update-instances` **Description** Migrate `az vmss update-instances` commands from hand written sdk to aaz. aaz: https://github.com/Azure/aaz/pull/951 **Testing Guide** **History Notes** --- This checklist is used to make sure that common guidelines for a pull request are fol...
diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py index 72b1df4b559..5cdfd5803e3 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/vm...
2
2
0
[{"id": "G0", "claim": "The new import in update_vmss_instances should use a relative path (e.g. from .aaz.latest.vmss import Manualupgrade) instead of a hard-coded absolute package path, for consistency with other AAZ imports in the module.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc...
null
Azure__azure-cli__32927
Azure/azure-cli
32,927
defect
06c405b117ceebcaf60d89e3f16640f4b992d155
e6e616fc91a5c67f3f27d5051c16e48928690c69
{Core} `aaz`: Fix MgmtErrorFormat missing `message` from response
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> **Description**<!--Mandatory--> <!--Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process.--> ...
diff --git a/src/azure-cli-core/azure/cli/core/aaz/_error_format.py b/src/azure-cli-core/azure/cli/core/aaz/_error_format.py index 52a2153348a..dfce52d27ba 100644 --- a/src/azure-cli-core/azure/cli/core/aaz/_error_format.py +++ b/src/azure-cli-core/azure/cli/core/aaz/_error_format.py @@ -133,7 +133,7 @@ def __init__(se...
2
1
1
[{"id": "G0", "claim": "Add a small unit test locking in the regression fix, so that when ARM returns additionalInfo: null, constructing/using AAZMgmtErrorFormat still succeeds and preserves the message field, since no core tests cover _error_format.py today.", "category": "testing", "verdict": "supported", "priority":...
null
Azure__azure-cli__33122
Azure/azure-cli
33,122
defect
38b566e21200eaf2745bd27c7219236327399f7e
4c236dde1b747245f0bbbd6135ef6246579eda99
Implement subscription filter on az login
**Related command** `az login` **Description** Wires `--skip-subscription-discovery` and `--subscription` parameters into `az login`. This enables fast login for tenants with 1M+ subscriptions by skipping full subscription enumeration. Three login modes are now supported: - `--skip-subscription-discovery --s...
diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index 9b192b84199..b677217d5ac 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -152,7 +152,9 @@ def login(self, allow_no_subscriptio...
12
8
6
[{"id": "G0", "claim": "Asks whether allow_no_subscriptions blocks --skip-subscription-discovery bare mode.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "With delegated (Lighthouse) subscriptions the same subscription can appear in multiple tenants, ...
null
Azure__azure-cli__33155
Azure/azure-cli
33,155
defect
e9caada627abc7094c64cca2f2abda05c2bcf268
9b2ea132a4f2450fbf1a747cb414a47ff5dda4aa
{AKS} `az aks check-acr`: Fix command injection via unquoted tempfile path in subprocess call
**Related command** <!--- Please provide the related command with az {command} if you can, so that we can quickly route to the related person to review. ---> `az aks check-acr` **Description**<!--Mandatory--> The `aks_check_acr()` function constructs a shell command using an f-string that interpolates `browse_p...
diff --git a/src/azure-cli/azure/cli/command_modules/acs/custom.py b/src/azure-cli/azure/cli/command_modules/acs/custom.py index 9854f9620de..001cb04799c 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/acs/custom.py @@ -2161,8 +2161,8 @@ def aks_check_acr...
2
1
0
[{"id": "G0", "claim": "subprocess.Popen never raises CalledProcessError, so the surrounding `except subprocess.CalledProcessError` is dead code and kubectl failures surface as JSON parsing/KeyError errors; consider using subprocess.run(..., check=True) or check_output and raising a ValidationError with stderr/stdout w...
null