Merge feature/azure-ai-projects/2.3.0 in Main #77
Annotations
1 error
|
consistency
Unhandled error: Error: Command failed: node .github/workflows/src/api-md-consistency/regenerate.js
2026-06-15 15:17:40,036 [INFO] azure-sdk-tools: Installing from feed: https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/
2026-06-15 15:17:40,036 [INFO] azure-sdk-tools: Running apistub check...
2026-06-15 15:17:40,044 [INFO] azure-sdk-tools: Processing azure-ai-projects for apistub check
2026-06-15 15:17:55,564 [INFO] azure-sdk-tools: Flag to skip install whl is passed. Skipping package installation
2026-06-15 15:17:55,568 [INFO] root: No whl is found in directory /home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects with package name format azure_ai_projects-2.3.0*.whl
2026-06-15 15:17:55,568 [INFO] root: List of whls in directory: []
2026-06-15 15:17:55,568 [INFO] azure-sdk-tools: Running apistub ['-m', 'apistub', '--pkg-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects', '--out-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects', '--mapping-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects/apiview-properties.json', '--skip-pylint'].
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/__main__.py", line 4, in <module>
console_entry_point()
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/__init__.py", line 30, in console_entry_point
apiview = stub_generator.generate_tokens()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/_stub_generator.py", line 213, in generate_tokens
apiview = self._generate_tokens(
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/_stub_generator.py", line 338, in _generate_tokens
mapping = MetadataMap(pkg_root_path, mapping_path=self.mapping_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/apistub/_metadata_map.py", line 32, in __init__
mapping = json.load(json_file)
^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/json/decoder.py", line 354, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 484 column 1 (char 48600)
2026-06-15 15:18:01,051 [ERROR] azure-sdk-tools: azure-ai-projects exited with error 1: Command '['/opt/hostedtoolcache/Python/3.12.13/x64/bin/python', '-m', 'apistub', '--pkg-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects', '--out-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects', '--mapping-path', '/home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects/apiview-properties.json', '--skip-pylint']' returned non-zero exit status 1.
Command failed (1): azpysdk apistub --md --extract-metadata --dest-dir /home/runner/work/azure-sdk-for-python/azure-sdk-for-python/sdk/ai/azure-ai-projects azure-ai-projects
|