Repository navigation
fix(projects): remove BYO AKS preflight reports - #10998
Open
Yi Liu (yiliuTo) wants to merge 3 commits into
Open
Yi Liu (yiliuTo) wants to merge 3 commits into
Yi Liu (yiliuTo) wants to merge 3 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Yi Liu (yiliuTo)
requested review from
a team,
JerryYang (JerryYangKai),
FanH (Siglud),
Yimin-Jin,
Eric Chen (eriolchan),
Glenn Harper (glharper),
Hui Miao (huimiu),
Zhijie Huang (hund030),
Wei Meng (m5i-work),
John Miller (therealjohn),
Travis Angevine (trangevi) and
JianW (v1212)
as code owners
November 18, 2026 06:08
|
Azure Pipelines: Successfully started running 2 pipeline(s). 25 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Post-preflight lookup failures can expose credential-bearing URLs in provisioning and terminal output, while blocking errors omit underlying diagnostics and missing-operation details.
2 open issues
What changed in this PR
Removes BYO AKS preflight reporting from the Projects extension’s Foundry provisioning flow while retaining prerequisite validation and standard host integration.
Changes:
- Remove report rendering, progress messages, follow-ups, cached text, and report-only listeners.
- Remove non-blocking capacity recommendations and optional VM SKU lookups.
- Update documentation and regression coverage for report-free provisioning and preview.
Extension user-contract review: blocked (16 files inspected; 0 new contract comments; 0 matched threads; prior review history unavailable).
| File | Description |
|---|---|
cli/azd/extensions/azure.ai.projects/README.md |
Document report-free preflight behavior. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/supplied_resources_test.go |
Check report-free output and retained error causes. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/foundry_provisioning_provider.go |
Remove report state and publication callbacks. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/foundry_provisioning_provider_test.go |
Update provider constructor usage. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/aks_hosting.go |
Remove report rendering and error-report wrappers. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/aks_hosting_test.go |
Adapt preparation calls and remove report assertions. |
cli/azd/extensions/azure.ai.projects/internal/provisioning/aks_hosting_compatibility_test.go |
Update preparation calls. |
cli/azd/extensions/azure.ai.projects/internal/onboarding/types.go |
Remove report rendering and warning fields. |
cli/azd/extensions/azure.ai.projects/internal/onboarding/types_test.go |
Focus tests on blocking errors and causes. |
cli/azd/extensions/azure.ai.projects/internal/onboarding/resource_test.go |
Verify no SKU reads and retain redaction checks. |
cli/azd/extensions/azure.ai.projects/internal/onboarding/resource_sdk.go |
Remove recommendation-only VM SKU lookups. |
cli/azd/extensions/azure.ai.projects/internal/onboarding/resource_rules.go |
Remove capacity and Storage redundancy warnings. |
cli/azd/extensions/azure.ai.projects/internal/cmd/root.go |
Use the standard listener without report callbacks. |
cli/azd/extensions/azure.ai.projects/internal/cmd/project_ownership_test.go |
Update provider constructor usage. |
cli/azd/extensions/azure.ai.projects/internal/cmd/preflight_report.go |
Delete the report listener and follow-up transport. |
cli/azd/extensions/azure.ai.projects/internal/cmd/preflight_report_test.go |
Delete obsolete report-listener tests. |
Review effort: Max
| ) (prepareErr error) { | ||
| p.preflightReport.Reset() | ||
| defer func() { prepareErr = p.preflightFailure(prepareErr) }() | ||
| func (p *FoundryProvisioningProvider) prepareBYO(ctx context.Context, source *templateSource) error { |
Comment on lines
+161
to
163
| facts, _, err := pipeline.Preflight(ctx, plan) | ||
| if err != nil { | ||
| return err |
Show preparation stages and current read or validation activity through the existing progress callback. Track active concurrent reads without changing preflight checks or deployment behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
| ) (prepareErr error) { | ||
| p.preflightReport.Reset() | ||
| defer func() { prepareErr = p.preflightFailure(prepareErr) }() | ||
| ) error { |
Contributor
azure.ai.projects 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/10998/azure-ai-projects.zip"
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment on lines
+101
to
+102
| fmt.Fprintf(&message, "%s does not meet requirements. Review the %s and edit your configuration before proceeding.", | ||
| resourceType, prerequisitesLink()) |
Comment on lines
+131
to
+133
| if os.Getenv("FORCE_COLOR") == "1" && os.Getenv("NO_COLOR") == "" && os.Getenv("CI") == "" && | ||
| term != "dumb" && !strings.HasPrefix(term, "screen") && !strings.HasPrefix(term, "tmux") && knownTerminal { | ||
| return termenv.Hyperlink(prerequisitesURL, "requirements") |
This branch has not been deployed
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.


Summary
cli/azd/extensions/azure.ai.projects; no azd core, synthesis, or module dependency changes.Validation
From
cli/azd/extensions/azure.ai.projects:go test ./internal/onboarding ./internal/provisioning ./internal/cmd -count=1passes.go buildto a temporary output.go fix -diff ./...reports existing modernization suggestions in the unchangedmodel_policy_test.goandproject_existing_infra.go; those unrelated changes are not included.Related work item: Azure DevOps 5871172.