[docs] Update documentation for features from 2026-03-18#4
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
[docs] Update documentation for features from 2026-03-18#4github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
Conversation
- Add 1.24.0-beta.1 unreleased section to cli/azd/CHANGELOG.md with entries for configurable deploy timeout (Azure#7045), git dirty check and workflow consent for azd init agent mode (Azure#7162), cobra command tree fix (Azure#7171), and input validation improvements (Azure#7175) - Bump cli/version.txt to 1.24.0-beta.1 - Add 0.1.16-preview section to agents CHANGELOG with entries for file operations (Azure#7141), input validation (Azure#7175), and breaking change for show/monitor commands (Azure#7181) - Bump agents version.txt and extension.yaml to 0.1.16-preview Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
weikanglim
pushed a commit
that referenced
this pull request
Apr 13, 2026
…zure#7566) * Add azd-preflight and sensei Copilot skills with waza eval infrastructure - Add azd-preflight skill: runs mage preflight and auto-fixes failures across all 8 checks (gofmt, go fix, copyright, lint, cspell, build, unit tests, playback tests) with iterative fix-then-rerun cycles - Add sensei skill: evaluates and improves skill quality using waza - Add waza eval suite for azd-preflight (8 test tasks: 3 happy-path, 2 edge-case, 3 anti-trigger) - Add skill-eval CI workflow for PR validation - Update CONTRIBUTING.md and AGENTS.md with preflight skill references Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: gate CI on skill compliance and handle cwd detection - Remove || true from waza check/run steps so CI properly gates on compliance and eval failures (review threads #1, #2) - Detect whether cwd is repo root or cli/azd/ before running mage preflight (review thread #4) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: skip eval suite in CI when copilot CLI is unavailable waza run requires the GitHub Copilot CLI to execute eval suites. In CI environments where copilot is not installed, the step now detects this and exits gracefully with a warning instead of failing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: address PR review - remove eval suite and CI, condense skill descriptions - Remove eval suite and CI workflow per reviewer recommendation to split evaluation infrastructure into a follow-up PR - Condense SKILL.md descriptions to routing signals (not impl details) - Clarify sensei scope to .github/skills/ boundary - Add version strategy comments to both skills Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
weikanglim
pushed a commit
that referenced
this pull request
Apr 13, 2026
…zure#7501) * fix: gracefully handle missing AKS cluster during postprovision hook When infrastructure doesn't include AKS resources, the postprovision lifecycle hook in the AKS service target fails fatally trying to set up the Kubernetes context. This is expected in multi-phase provisioning workflows where AKS gets provisioned later. Modified setK8sContext() to detect the postprovision event and skip gracefully (with a user-visible warning) instead of failing when: - GetTargetResource returns an error (resource not found) - Target resource has an empty name (SupportsDelayedProvisioning) - Cluster credentials are unavailable (ensureClusterContext fails) - Namespace creation fails (ensureNamespace fails) The predeploy event path is unchanged and still fails fatally, ensuring deployment-time errors are not masked. Extracted skipPostprovisionK8sSetup() helper to eliminate repeated warning/log/return-nil pattern across all four skip points. Fixes Azure#3272 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * address review: propagate ctx cancellation, add namespace failure test - skipPostprovisionK8sSetup now checks ctx.Err() before returning nil to avoid swallowing context cancellation/timeouts (Ctrl+C) - Added Test_Postprovision_Skips_When_Namespace_Fails covering the ensureNamespace failure path during postprovision Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * refactor: address MQ review — typed constant, DRY helper, ctx cancellation test - Replace magic string 'postprovision' with typed postProvisionEvent constant - Extract postprovisionK8sError() helper to eliminate 4 identical if-blocks - Add nil-guard on targetResource before calling ResourceName() - Fix log.Printf double newline and redundant .Error() call - Add Test_Postprovision_Propagates_Context_Cancellation to cover the ctx.Err() safety valve in skipPostprovisionK8sSetup Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: address review feedback — event guards, constants, test assertions - Route targetResource==nil through event-aware postprovisionK8sError so predeploy doesn't silently skip (thread #1, High) - Add preDeployEvent constant replacing raw "predeploy" strings for consistency with postProvisionEvent (thread #2) - Add console message assertions to graceful-skip tests verifying the warning was actually emitted (thread #3) - Add predeploy failure tests for credential and namespace error paths confirming errors propagate for non-postprovision events (thread #4) - Refactor createAksServiceTarget to delegate to createAksServiceTargetWithResourceManager, eliminating ~40 lines of duplication (thread #5) - Add structured telemetry span (AksPostprovisionSkipEvent) to the graceful-skip path for production monitoring (thread #6) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: address re-review - telemetry span, DRY assertions, ErrorContains - Use span.End() with skip.reason attribute instead of EndWithStatus() to avoid marking intentional skips as errors in telemetry dashboards - Extract assertSkipWarningEmitted helper to deduplicate console assertion blocks across two test functions - Add ErrorContains assertion in Test_Predeploy_Fails_When_Credentials_Fail for consistency with sibling namespace test Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: narrow postprovision graceful skip to not-found only Address @weikanglim's feedback: limit the graceful skip path to the explicit delayed-provisioning case (empty ResourceName) only. GetTargetResource, ensureClusterContext, and ensureNamespace errors now propagate during postprovision — real failures are no longer masked. Removed postprovisionK8sError helper. Fixed gofmt import ordering. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Documentation Updates - 2026-03-18
This PR updates changelogs and version files based on features merged in the last 24 hours (2026-03-17 – 2026-03-18).
Features Documented
--timeoutflag forazd deployanddeployTimeoutinazure.yamlazd initagent mode (from Add git dirty check for agent init and workflow consent support Azure/azure-dev#7162) — safety prompt for uncommitted changes and upfront MCP server consentazd ai agent filescommand group (from [Agent Extension] Add file operations for hosted agent sessions Azure/azure-dev#7141) —upload,download,list,removefor hosted agent sessionsazd ai agent show/monitorparameter simplification (from [Agents Extension] Update show and monitor commands to not require parameters Azure/azure-dev#7181) — reads agent name/version from azd service entry (breaking change)Changes Made
cli/azd/CHANGELOG.md— added## 1.24.0-beta.1 (Unreleased)section with entries for the above featurescli/version.txt— bumped to1.24.0-beta.1(mirrors changes from Increment CLI version after release Azure/azure-dev#7167)cli/azd/extensions/azure.ai.agents/CHANGELOG.md— added## 0.1.16-preview (2026-03-18)section (mirrors changes from Prepare azure.ai.agents 0.1.16-preview patch release Azure/azure-dev#7190)cli/azd/extensions/azure.ai.agents/version.txt— bumped to0.1.16-previewcli/azd/extensions/azure.ai.agents/extension.yaml— bumped version to0.1.16-previewMerged PRs Referenced
--timeoutflag andazure.yamlNotes
PRs Azure#7167 and Azure#7190 were release management PRs that updated version files and CHANGELOG skeletons. The current working tree did not reflect those changes (shallow clone), so this PR applies them along with the substantive feature entries.