Skip to content

[Foundry] Add scaffolding for new foundry extensions#8219

Open
trangevi wants to merge 1 commit into
mainfrom
trangevi/new-extensions-scaffold
Open

[Foundry] Add scaffolding for new foundry extensions#8219
trangevi wants to merge 1 commit 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

🔗 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.

# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/extension.schema.json
capabilities:
- custom-commands
- mcp-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/extension.schema.json
capabilities:
- custom-commands
- mcp-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/extension.schema.json
capabilities:
- custom-commands
- mcp-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/extension.schema.json
capabilities:
- custom-commands
- mcp-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/refs/heads/main/cli/azd/extensions/extension.schema.json
capabilities:
- custom-commands
- mcp-server
Comment on lines +1 to +3
# `azd` Demo Extension

An azd Demo extension
Comment on lines +1 to +3
# `azd` Demo Extension

An azd Demo extension
Comment on lines +1 to +3
# `azd` Demo Extension

An azd Demo extension
Comment on lines +1 to +3
# `azd` Demo Extension

An azd Demo extension
Comment on lines +1 to +3
# `azd` Demo Extension

An azd Demo extension
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.

module azure.ai.connections


go 1.26.2
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.

[MEDIUM] Go version mismatch - 1.26.2 here vs 1.26.1 in cli/azd/go.mod (the repo's source of truth checked by validate-go-version.yml). Same issue in all six new extension go.mod files.

Suggested change
go 1.26.2
go 1.26.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants