Skip to content

Merge feature/foundry-sdk/vnext into Main. Do not complete this PR! - #50737

Open
Kaylie (kaylieee) wants to merge 28 commits into
mainfrom
feature/foundry-sdk/vnext
Open

Kaylie (kaylieee) wants to merge 28 commits into
mainfrom
feature/foundry-sdk/vnext

Conversation

@kaylieee

Copy link
Copy Markdown
Member

No description provided.

Kaylie (kaylieee) and others added 5 commits October 8, 2026 15:30
* add allow preview on evaluators builder

* renames and int to long type update

* fix skills serialization bug

* update beta client javadoc

* stop emitting eval level

* fix spotless
This reverts commit 90a3c64.
* initial projects regen

* fix stale refs

* fix agents customizations

* update beta annotations

* add explicit type
Copilot AI balanced review requested due to automatic review settings October 9, 2026 18:28
@kaylieee
Kaylie (kaylieee) requested review from a team as code owners October 9, 2026 18:28
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
35 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟡 Changes recommended

The new changelog block incorrectly repeats changes already released in version 2.7.0.

1 open finding
What changed in this PR

Adds Azure AI Projects release notes for evaluator, data-generation, connection, authentication, and upload changes.

Changes:

  • Adds feature and bug-fix entries to the unreleased section.
  • Entries duplicate the existing 2.7.0 release notes.
File Description
sdk/​ai/​azure-ai-projects/​CHANGELOG.md Adds unreleased release notes already documented under 2.7.0.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread sdk/ai/azure-ai-projects/CHANGELOG.md Outdated
@kaylieee Kaylie (kaylieee) changed the title Merge feature/foundry-sdk/vnext into Main. Do not complete this PR! Merge feature/foundry-sdk/vnext into Main. Do not complete this PR! Oct 15, 2026
Kaylie (kaylieee) and others added 3 commits October 16, 2026 00:31
* Add GenAI tracing POC for azure-ai-agents createAgentVersion

Proof of concept re-implementing agent tracing the azure-core way, modeled on
azure-ai-inference's ChatCompletionClientTracer:

- New implementation.telemetry.AgentsClientTracer emits OpenTelemetry GenAI
  semantic-convention spans for createAgentVersion (sync + async).
- Per-client Tracer built by AgentsClientBuilder from
  ClientOptions.getTracingOptions() via TracerProvider (no global static state,
  no public opt-in API).
- Content gated by AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED (off by default).
- Library version sourced from azure-ai-agents.properties (not hardcoded).
- Endpoint injected via constructor (immutable), consistent across clients.
- Unit tests use an in-memory OpenTelemetry SDK; assert span attributes, content
  gating, and error propagation without swallowing exceptions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Expand GenAI tracing POC to feature parity with PR #49434

Port the full tracing feature set from PR #49434 into the idiomatic per-client
architecture (implementation.telemetry), keeping features close to the original
while fixing the repo best-practice issues:

Telemetry engine (per-client, no global static):
- GenAiInstrumentation holds the azure-core Tracer + Meter (built by the builder
  from ClientOptions tracing/metrics options), content flag, host/port, and the
  GenAI duration/token histograms.
- GenAiTracingScope is a per-op span with the close()/nanoTime metric bugs fixed.
- GenAiMessageFormatter gates content via a parameter (formatToolCallOutput fixed).

Coverage:
- create_agent (prompt/hosted/workflow attributes, gen_ai.agent.workflow event,
  agent id/version enrichment) - sync + async.
- chat / invoke_agent response tracing - sync + streaming (TracedStreamIterable +
  ResponseAccumulator), with model/token/message/finish-reason/conversation attrs
  and gen_ai.workflow.action events.
- create_conversation span.
- Metrics: gen_ai.client.operation.duration and gen_ai.client.token.usage.
- Content gated by AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED (off by default).

Also: GenAiAgentTracingTest + GenAiMessageFormatterTest (14 tests, in-memory OTel,
no exception swallowing); TracingSample + CI-verified README snippet; CHANGELOG.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add async response tracing, port tracing samples, add TRACING_NOTES.md

- ResponsesAsyncClient: trace createAzureResponse (Mono) and
  createStreamingAzureResponse (Flux) via new GenAiResponseTracing async methods
  (Mono/Flux.usingWhen); add createConversation/deleteConversation.
- GenAiResponseTracing: add traceResponseAsync + traceStreamingResponseAsync,
  share request-attribute extraction (ResponseSpanParams/startResponseScope), and
  reuse recordResponseAttributes for both sync-streaming and async-streaming
  finalization (TracedStreamIterable simplified).
- Samples: port TracingConsoleSample and TracingAzureMonitorSample to the
  idiomatic API - no enableGenAiTracing()/disableGenAiTracing() opt-in; tracing
  activates from the configured OpenTelemetry. Added test-scope deps
  (opentelemetry-exporter-logging, opentelemetry-sdk-extension-autoconfigure,
  azure-monitor-opentelemetry-autoconfigure).
- TRACING_NOTES.md: document design decisions and open questions - toggle vs
  config-driven activation, customized-generated-methods vs traced* variants vs
  codegen-customization weaving, async HTTP-span parenting, gen_ai.system vs
  provider.name, metrics/response-path test gaps, and more.

Validated: compile (Java 8 + 21), 14 telemetry tests, 0 checkstyle violations,
samples test-compile.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* restored changelog entries for tracing

* Created roadmap.md

* Added ADR document

* Add GenAI tracing for current agents APIs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c2d020f5-af8b-42f8-8fe6-0b79451e6a29

* Replace tracing ADR with parity gap tracker

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c2d020f5-af8b-42f8-8fe6-0b79451e6a29

* Align GenAI tracing with Python telemetry

Add Python-compatible feature gates, metrics, raw response tracing, and raw stream lifecycle coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c2d020f5-af8b-42f8-8fe6-0b79451e6a29

* Harden GenAI event serialization

Use azure-json for structured telemetry attributes, expand SDK-local fixture and edge-case coverage, and clarify Python propagation parity.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c2d020f5-af8b-42f8-8fe6-0b79451e6a29

* fix bad merges

* clean regen

* Cleanup tracing (#50764)

* use azure core uuid

* check enabled before build attributes

* style

* remove dev artifacts

* cspell

* fix links

* bump dependencies

* fix token fetch

* Remove conversation wrapper ops (#50808)

* bump projects dependency to match agents

---------

Co-authored-by: Jose Alvarez <josealvar@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c2d020f5-af8b-42f8-8fe6-0b79451e6a29
Kaylie (kaylieee) and others added 7 commits October 19, 2026 09:42
* regen new msft copilot tool

* regen from emitter updates

* rename config to configuration

* temp disable tests
Describe current tracing configuration without implementation-history comparisons and synchronize the README sample.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 949a06a4-5a12-463d-9ab8-ebfad63a8236
Prefer main for conflicts, including complete skill clients and changelogs to preserve uploaded-file APIs and released changelog boundaries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 69a93187-9cb2-4287-9c6b-9eb43d364712
Kaylie (kaylieee) and others added 9 commits October 28, 2026 11:00
* regen latest spec

* bump to latest snap

* add deprecation for browser auto
* initial gen

* renames and add beta decorator
* bump versions

* update changelog

* update readme
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 949a06a4-5a12-463d-9ab8-ebfad63a8236

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants