Skip to content

[Foundry] Add scaffolding for new foundry extensions#8219

Merged
trangevi merged 4 commits into
mainfrom
trangevi/new-extensions-scaffold
May 18, 2026
Merged

[Foundry] Add scaffolding for new foundry extensions#8219
trangevi merged 4 commits into
mainfrom
trangevi/new-extensions-scaffold

Conversation

@trangevi
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: trangevi <trangevi@microsoft.com>
Copilot AI review requested due to automatic review settings May 15, 2026 22:29
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 15, 2026

🔗 Linked Issue Required

Thanks for the contribution! Please link a GitHub issue to this PR by adding Fixes #123 to the description or using the sidebar.
No issue yet? Feel free to create one!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds scaffolding for six new Foundry-related azd Go extensions so they can be built, versioned, and exposed through extension metadata.

Changes:

  • Adds extension manifests, version files, changelogs, READMEs, and build scripts for Foundry connections, inspector, projects, routines, skills, and toolboxes.
  • Adds minimal Cobra root commands with context, version, and metadata subcommands for each extension.
  • Adds Go module definitions and dependency lock files where included.

Reviewed changes

Copilot reviewed 72 out of 78 changed files in this pull request and generated 19 comments.

Show a summary per file
File Description
cli/azd/extensions/azure.ai.connections/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.connections/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.connections/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.connections/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.connections/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.connections/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.connections/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.connections/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.connections/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.connections/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.connections/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.connections/version.txt Adds extension version.
cli/azd/extensions/azure.ai.inspector/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.inspector/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.inspector/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.inspector/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.inspector/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.inspector/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.inspector/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.inspector/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.inspector/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.inspector/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.inspector/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.inspector/version.txt Adds extension version.
cli/azd/extensions/azure.ai.projects/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.projects/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.projects/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.projects/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.projects/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.projects/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.projects/go.sum Adds dependency checksums.
cli/azd/extensions/azure.ai.projects/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.projects/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.projects/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.projects/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.projects/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.projects/version.txt Adds extension version.
cli/azd/extensions/azure.ai.routines/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.routines/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.routines/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.routines/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.routines/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.routines/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.routines/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.routines/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.routines/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.routines/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.routines/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.routines/version.txt Adds extension version.
cli/azd/extensions/azure.ai.skills/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.skills/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.skills/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.skills/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.skills/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.skills/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.skills/go.sum Adds dependency checksums.
cli/azd/extensions/azure.ai.skills/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.skills/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.skills/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.skills/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.skills/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.skills/version.txt Adds extension version.
cli/azd/extensions/azure.ai.toolboxes/CHANGELOG.md Adds initial release history.
cli/azd/extensions/azure.ai.toolboxes/README.md Adds initial README placeholder.
cli/azd/extensions/azure.ai.toolboxes/build.ps1 Adds Windows build script.
cli/azd/extensions/azure.ai.toolboxes/build.sh Adds Unix build script.
cli/azd/extensions/azure.ai.toolboxes/extension.yaml Adds extension manifest.
cli/azd/extensions/azure.ai.toolboxes/go.mod Adds Go module dependencies.
cli/azd/extensions/azure.ai.toolboxes/internal/cmd/context.go Adds context command.
cli/azd/extensions/azure.ai.toolboxes/internal/cmd/metadata.go Adds metadata command.
cli/azd/extensions/azure.ai.toolboxes/internal/cmd/root.go Adds root command wiring.
cli/azd/extensions/azure.ai.toolboxes/internal/cmd/version.go Adds version command.
cli/azd/extensions/azure.ai.toolboxes/main.go Adds extension entry point.
cli/azd/extensions/azure.ai.toolboxes/version.txt Adds extension version.

Comment thread cli/azd/extensions/azure.ai.toolboxes/extension.yaml Outdated
Comment thread cli/azd/extensions/azure.ai.skills/extension.yaml Outdated
Comment thread cli/azd/extensions/azure.ai.routines/extension.yaml Outdated
Comment thread cli/azd/extensions/azure.ai.projects/extension.yaml Outdated
Comment thread cli/azd/extensions/azure.ai.inspector/extension.yaml Outdated
Comment thread cli/azd/extensions/azure.ai.skills/README.md Outdated
Comment thread cli/azd/extensions/azure.ai.routines/README.md Outdated
Comment thread cli/azd/extensions/azure.ai.projects/README.md Outdated
Comment thread cli/azd/extensions/azure.ai.inspector/README.md Outdated
Comment thread cli/azd/extensions/azure.ai.connections/README.md Outdated
Copy link
Copy Markdown
Contributor

@JeffreyCA JeffreyCA left a comment

Choose a reason for hiding this comment

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

Looks good, the only thing that's missing I'd say are the CI/pipeline pieces which azd x init doesn't scaffold. Things like:

  • eng/pipelines/release-ext-azure-ai-.yml
  • .github/workflows/lint-ext-azure-ai-.yml
  • .github/scripts/approval-ext-azure-ai-agents.js (if you want the same approval gates to apply)
  • ci-build.ps1
  • ci-test.ps1
  • version.txt
  • cspell.yaml

Copy link
Copy Markdown
Member

@jongio jongio left a comment

Choose a reason for hiding this comment

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

The check-go-version-consistency CI failure is because all six new go.mod files declare go 1.26.2, but the repo's source of truth (cli/azd/go.mod) uses go 1.26.1. Fixing that should unblock CI. You can run pwsh eng/scripts/Update-GoVersion.ps1 or just update the go directive in each go.mod and re-run go mod tidy.

The rest of the scaffolding looks correct - module names, import paths, extension IDs, and metadata all line up across the six extensions.

Comment thread cli/azd/extensions/azure.ai.connections/go.mod Outdated
trangevi added 2 commits May 17, 2026 15:24
Signed-off-by: trangevi <trangevi@microsoft.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 110 out of 116 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

.github/scripts/pr-approval-foundry-extensions-shared.js:133

  • For pull_request_review events this runtime scope check only treats extension files or the per-extension workflow as in scope, but each approval workflow also triggers on changes to the shared approval script. A PR that changes .github/scripts/pr-approval-foundry-extensions-shared.js can have the initial pull_request run fail, then the review-triggered run skips this check and reports success without enforcing a required approver. Include the shared script path in this touchesExtension predicate (or pass it as another scoped path) so approvals for shared approval-gate changes are actually validated.

…un, and since we always needed a manual re-run anyway we don't lose out on ease of use

Signed-off-by: trangevi <trangevi@microsoft.com>
@JeffreyCA JeffreyCA added the skip-governance Skip PR governance checks label May 18, 2026
@trangevi
Copy link
Copy Markdown
Member Author

/check-enforcer override

@trangevi trangevi merged commit d3147f5 into main May 18, 2026
31 of 40 checks passed
@trangevi trangevi deleted the trangevi/new-extensions-scaffold branch May 18, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-governance Skip PR governance checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants