Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/ARCHITECTS
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Instructions for ARCHITECTS file format:
# This file follows the CODEOWNERS pattern style. Each non-comment line maps a
# repository path pattern to the GitHub user or team responsible for API architecture review.
# Owners may be individual users like @octocat or teams like @Azure/sdk-arch.

###########
# SDK
###########

# Catch all
/sdk/ @kashifkhan

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This file currently doesn't add the architects, intended to be added later?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@kashifkhan is the Python architect. The idea is that each language repo will have this file in its .github folder alongside CODEOWNERS.

3 changes: 3 additions & 0 deletions .github/skills/create-api-review-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ If the user asks to create an API review PR for a new package, explain that new
3. Python 3.10 or later must be available.
4. `azpysdk` must be installed (`pip install -e ./eng/tools/azure-sdk-tools`).
5. ApiView stub generator dependencies must be installed (`pip install -r ./eng/apiview_reqs.txt`).
6. `azsdk` CLI may be needed for package work item lookup. Do not proactively check or install it before running `create_api_review_pr.py`; the script detects supported install locations and reports when installation or update is necessary.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@praveenkuttappan should we ideally just have a single script to detect azsdk and if not install?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Perhaps. But this particular script is very temporary. I'll soon (within a week I hope!) be replace this script with a proper command in the azsdk-cli, so this will become a moot point :)

The reason the skill says this is because originally it would try to proactively check for install and do exactly what you suggest, but I found that even after the script installed the CLI, it wouldn't be able to find it.... but when I would run the script manually it had no problems.

So, since this is temporary I basically told the skill to just try to run the command and if it fails, only then do the install and retry.


## Information to Gather

Expand Down Expand Up @@ -47,6 +48,8 @@ Before running the script:
3. **Validate the target tag when applicable**: If the user provided a target version or tag, construct or validate the full tag as `<package-name>_<version>` and run `git tag -l "<tag>"`.
4. **Confirm the working tree is clean**: Run `git status --porcelain` and warn if there are uncommitted changes.

Do not proactively run `azsdk --help`, `azsdk package find-work-item --help`, or the `azure-sdk-mcp.ps1` installer as a validation step. If `create_api_review_pr.py` fails with an error saying the `azsdk` CLI is not found or the `package find-work-item` command is unavailable, then run `pwsh ./eng/common/mcp/azure-sdk-mcp.ps1` from the repository root to install or update it, and rerun the same `create_api_review_pr.py` command once. If the script still reports an `azsdk` error after that, stop and report the failure.

## Execution

This is a long-running operation. The script may take several minutes because it generates API surfaces for both the baseline and target, creates or reuses review branches, pushes branches, and then opens the draft PR. Do not treat quiet terminal periods during `apistub` generation as failure unless the command exits, prints an error, or waits for input.
Expand Down
1 change: 1 addition & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@
"oauthlib",
"objs",
"odata",
"octocat",
"oidc",
"onboarded",
"onmicrosoft",
Expand Down
Loading
Loading