microsoft / microsoft/template-validation-action

Template validation error

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
24
Forks
11
Avg merge
17h 10m
Merged PRs (30d)
1

Description

https://github.com/Azure/ai-app-templates/actions/runs/18034455331/job/51318163781

python3 tva_18034455331/src/gallery_validate.py . --output tva_18034455331/output.log --topics "azd-templates,ai-azd-templates,ai-foundry,cosmos-db" --validate_azd --validate_playwright_test
Traceback (most recent call last):
File "/workspaces/template/tva_18034455331/src/gallery_validate.py", line 4, in

from rule_parser import RuleParser

File "/workspaces/template/tva_18034455331/src/rule_parser.py", line 5, in
from validator.azd_validator import AzdValidator
File "/workspaces/template/tva_18034455331/src/validator/azd_validator.py", line 6, in
from list_azd_resources import list_resources
File "/workspaces/template/tva_18034455331/src/list_azd_resources.py", line 3, in
from azure.mgmt.resource import ResourceManagementClient
ModuleNotFoundError: No module named 'azure.mgmt.resource'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the shown gallery_validate.py command and trace the imports through src/rule_parser.py, src/validator/azd_validator.py, and src/list_azd_resources.py. Confirm why azure.mgmt.resource is unavailable; done means validation proceeds past this import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
devops, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.