Skip to content

[Agents Extension] Provide handling to update agent endpoint details#8332

Merged
trangevi merged 9 commits into
mainfrom
trangevi/patch-agent-endpoint
May 22, 2026
Merged

[Agents Extension] Provide handling to update agent endpoint details#8332
trangevi merged 9 commits into
mainfrom
trangevi/patch-agent-endpoint

Conversation

@trangevi

Copy link
Copy Markdown
Member

Provide update only path

Fixes #8153

trangevi added 4 commits May 20, 2026 09:32
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Copilot AI review requested due to automatic review settings May 22, 2026 18:14
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for applying agent.yaml agent-level endpoint/card configuration changes to an existing live agent during azd deploy, including an “update-only” path (PATCH the agent without creating a new version).

Changes:

  • Add an update-only deploy branch and a post-deploy step that patches agent-level agent_endpoint / agent_card fields after the deployed version becomes active.
  • Extend agent.yaml/API models and mapping to support richer endpoint configuration (version selector + authorization schemes).
  • Add a predeploy prompt that detects existing agents with endpoint/card config and lets users choose between full deploy vs endpoint/card-only update.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Adds update-only deploy path and centralizes post-deploy polling + endpoint/card patching logic.
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_yaml/yaml.go Extends agent.yaml schema types for endpoint configuration (version selection + auth schemes).
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_yaml/map.go Maps new agent.yaml endpoint fields into agent API request models.
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_yaml/map_test.go Updates tests for renamed endpoint protocol enum type.
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_api/operations_test.go Updates patch-agent tests for renamed endpoint protocol enum type.
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_api/models.go Adds API models/enums for agent endpoint configuration (protocols, selector, auth schemes).
cli/azd/extensions/azure.ai.agents/internal/pkg/agents/agent_api/models_test.go Updates model round-trip tests for renamed endpoint protocol enum type.
cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go Adds predeploy detection/prompt and env-flag coordination for endpoint/card-only updates.

Comment thread cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/project/service_target_agent.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go Outdated
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go Outdated
@github-actions github-actions Bot added the ext-agents azure.ai.agents extension label May 22, 2026
trangevi added 2 commits May 22, 2026 13:35
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
@github-actions

github-actions Bot commented May 22, 2026

Copy link
Copy Markdown

📋 Prioritization Note

Thanks for the contribution! The linked issue isn't in the current milestone yet.
Review may take a bit longer — reach out to @rajeshkamal5050 or @kristenwomack if you'd like to discuss prioritization.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 10 out of 10 changed files in this pull request and generated 8 comments.

Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/listen.go
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/update.go
Comment thread cli/azd/extensions/azure.ai.agents/internal/cmd/update.go Outdated
trangevi added 3 commits May 22, 2026 14:06
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
@trangevi

Copy link
Copy Markdown
Member Author

/check-enforcer override

@trangevi
trangevi enabled auto-merge (squash) May 22, 2026 22:27
@trangevi
trangevi merged commit c070bc3 into main May 22, 2026
26 of 27 checks passed
@trangevi
trangevi deleted the trangevi/patch-agent-endpoint branch May 22, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext-agents azure.ai.agents extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apply agent endpoint configuration changes from agent.yaml to the live agent on azd deploy

3 participants