Repository navigation
feat: add local Connection service authoring - #10473
Closed
Hui Miao (huimiu) wants to merge 1 commit into
Closed
Hui Miao (huimiu) wants to merge 1 commit into
Hui Miao (huimiu) wants to merge 1 commit into
Conversation
Hui Miao (huimiu)
requested review from
JeffreyCA,
Rick Winter (RickWinter),
Eric Chen (eriolchan),
Glenn Harper (glharper),
hemarina,
Zhijie Huang (hund030),
Wei Meng (m5i-work),
Richard Park (richardpark-msft),
tg-msft,
John Miller (therealjohn),
Travis Angevine (trangevi),
JianW (v1212) and
Victor Vazquez (vhvb1989)
as code owners
October 14, 2026 10:27
|
Azure Pipelines: Successfully started running 1 pipeline(s). 24 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Hui Miao (huimiu)
added this pull request to stack #10474
October 14, 2026 10:29
Contributor
azure.ai.connections PR buildNote This is an unsigned development build. Install it only if you trust this PR. Install the extension: azd ext install "https://azuresdkartifacts.z5.web.core.windows.net/azd/extensions/pr/10473/azure-ai-connections.zip"
|
📋 Prioritization NoteThanks for the contribution! The linked issue isn't in the current milestone yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10478
Summary
Complete layer 4/4 of the Connection authoring stack. This PR depends on #10472 and adds
azd ai connection addto author Connection services in an existing local project without reading environment values, resolving secrets, or creating remote resources.Closes #10351.
Changes
azure.yamlorazure.yml, with deterministic add/update/no-op results and explicit Project ownership selection or repair.Validation: Full Connections tests and build pass; golangci-lint reports zero issues; gofmt and go fix produce no changes; scoped spelling and whitespace checks pass. Core dispatch, injected prompt-writer, beta authoring/adapter/concurrency regressions pass, including three repeated focused runs. Fifteen isolated real host/extension invocations pass for add, update, byte-identical no-op, wrong-host/name rejection, invalid output/flags,
azure.yml, multiple Project selection, and empty-env/large-integer preservation. Validation used a disposableAZD_CONFIG_DIR, disabled telemetry, and unreachable HTTP(S) proxies; no Azure login or resource operations were performed.Limitations: The cli-interactive-tester runner itself was not executed. Its nine scenario/fixture YAML files were parsed, and the equivalent offline command contracts were exercised directly. Race-detector execution is blocked because GCC is unavailable; non-race concurrency regressions pass.
Aggregate source comparison: The final stacked tree matches immutable source
fae306e11bb6a9893380e63c4786026684bc07eaexcept for these documented non-functional/documentation improvements:cli/azd/.vscode/cspell.yaml: retain layer 3's expanded generated-header spelling allowance; include the source'sconnection_project.goallowance.cli/azd/pkg/azdext/extension_command.go: retain layer 2's comment wrapping.cli/azd/extensions/azure.ai.connections/internal/cmd/connection_project_test.goandinternal/cmd/root.go: shorten/wrap comments to the requested 70-character limit and accurately label local/remote commands.cli/azd/extensions/azure.ai.connections/README.md: clarify optional-variable bindings and required-only reporting.No lower-layer implementation, module, generated, or contract files are changed by this PR.