Skip to content

Merge main into data-ingestion-preview2#7583

Merged
adamsitnik merged 174 commits into
data-ingestion-preview2from
copilot/data-ingestion-preview2-again
Jun 24, 2026
Merged

Merge main into data-ingestion-preview2#7583
adamsitnik merged 174 commits into
data-ingestion-preview2from
copilot/data-ingestion-preview2-again

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Syncs data-ingestion-preview2 with latest main (171 commits).

Conflict resolutions

Additional fixes

  • Removed unnecessary Microsoft.Bcl.Memory PackageReference from Microsoft.Extensions.DataIngestion.csproj
Microsoft Reviewers: Open in CodeFlow

Copilot AI and others added 30 commits February 16, 2026 16:18
… MaxTopCount (#7311)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
…th ReferenceEquals (#7302)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Remove main-to-dev inter-branch merge automation

The dev branch has been deprecated and merged into main. The inter-branch
merge workflow and its configuration were still active, causing unnecessary
PRs to be created that had to be manually closed.

This removes:
- .github/workflows/inter-branch-merge-flow.yml (the GitHub Action)
- github-merge-flow.jsonc (the merge flow configuration)

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

* Remove dev branch from Azure Pipelines trigger/PR configs

The dev branch is deprecated. Remove it from the trigger and PR branch
includes in both azure-pipelines-public.yml and azure-pipelines.yml.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…mentations (#7316)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
#7307)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Fix Activity.Current nulled during streaming

Fixes #7320

When an invoke_agent span with a name suffix is the current
activity (e.g. "invoke_agent MyAgent(id)"),
CurrentActivityIsInvokeAgent returns true and the
orchestrate_tools activity is not created. The local
activity variable is null, and all Activity.Current =
activity workaround sites for dotnet/runtime#47802 set
Activity.Current to null after each yield return. This
disconnects subsequent spans from the trace.

Capture the current activity before it can be lost and
restore that value instead of null after each yield.

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

* Address review: guard with null check instead

Use a null check around Activity.Current assignment instead
of capturing a separate activityToRestore variable, per
reviewer feedback.

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

* Update test/Libraries/Microsoft.Extensions.AI.Tests/ChatCompletion/FunctionInvokingChatClientTests.cs

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Introduce an ApiChief skill to streamline updating API baselines

* Fix emit baseline description: YAML -> JSON API baseline

ApiChief baselines are serialized as JSON (System.Text.Json), not YAML.

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

* Add cross-platform build.sh equivalent alongside build.cmd

The build example was Windows-only; include ./build.sh for Linux/macOS.

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

* Fix contains match to cover trailing segments

The *.OpenAI.* pattern won't match names ending with OpenAI (e.g.
Microsoft.Extensions.AI.OpenAI). Cover both middle and trailing segments.

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

* Add explicit wildcards to bare ME, MAD, MA alias expansions

Without wildcards, bare expansions like 'Microsoft.Extensions' won't
match any folder names via glob. Add trailing .* for consistency.

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

* Fix subset exclusion examples in SKILL.md

MED*/DataIngestion example was misleading since DataIngestion doesn't
share a prefix with Diagnostics. Use accurate examples: MEAI*/MEAI.Eval*
and MA*/MAD*.

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

* Update run-apichief skill: remove aliases, auto-detect TFM, allow overrides

- Remove the shorthand alias system and subset exclusion rules
- Note that users may provide shorthand library references
- Auto-select highest net* TFM per library instead of hardcoding net10.0
- Report selected TFM and available targets before running
- Allow per-library or blanket TFM overrides

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rics in OpenTelemetryChatClient (#7325)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
* baselines regenerated

* explanation: baseline are not tfm-aware; baselines not target latest and warning is disabled using pragma to target specific place only for net8- tfms

---------

Co-authored-by: Tomáš Wiesner <tomaswiesner@microsoft.com>
…ental to stable (#7332)

* experimental attribute removed from FakeLogCollector.GetLogsAsync(CancellationToken)

* baseline: GetLogsAsync(CancellationToken) now stable

---------

Co-authored-by: Tomáš Wiesner <tomaswiesner@microsoft.com>
* Add feature flag

* Change options and add tests

* Fix unit tests

* Fix acceptance test

* Fix typo in tests
* introduce support for the Gauge metric type

* fix lint

* update some of the gauge tests

* remove old gauge resources

* update tests

* remove unusued diagnostics code

* fix unit tests

* additional gauge unit tests

* fix nullable parts in the tests

* remove gauge<t> tests

* GaugeT support

* add experimental attribute, PR fixes

* temporal test updates

* fix test warnings and update some tests

* fix tests and formatting

* more GaugeT_InvalidGenericType theory tests

* fix PR comments
…I IChatClient implementations (#7319)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
…est (#7304)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
…1/260219) (#7339)

* Initial plan

* Update aiagent-webapi template to latest Agent Framework versions (rc1/260219)

Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Bumps [rollup](https://github.com/rollup/rollup) from 4.40.0 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.40.0...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…n pipeline YAML (#7347)

* Initial plan

* Replace vs2022preview queue images with vs2022 in YAML pipelines

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
…223.3 (#7351)

On relative base path root
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Helix.Sdk From Version 9.0.0-beta.26110.2 -> To Version 9.0.0-beta.26123.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
…only/params/scoped) (#7333)

Co-authored-by: svick <287848+svick@users.noreply.github.com>
Co-authored-by: svick <287848+svick@users.noreply.github.com>

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the build is still red:

Fixed in ea89bcc. The merge incorrectly kept Microsoft.SemanticKernel.Connectors.SqliteVec in ProjectTemplates.props while the template csproj-in already referenced CommunityToolkit.VectorData.SqliteVec (from PR #7579). Replaced it with CommunityToolkit.VectorData.SqliteVec 1.0.0-preview.3 and removed the unused MicrosoftSemanticKernelConnectorsVersion property from Versions.props. Build and tests pass locally.

Copilot AI requested a review from adamsitnik June 24, 2026 14:49
@dotnet-comment-bot

Copy link
Copy Markdown
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.Diagnostics.Testing Line 99 98.65 🔻
Microsoft.Extensions.Telemetry Line 93 91.95 🔻
Microsoft.Extensions.AI Line 89 88.65 🔻
Microsoft.Extensions.AI Branch 89 88.57 🔻
Microsoft.Extensions.AI.OpenAI Line 75 62.89 🔻
Microsoft.Extensions.AI.OpenAI Branch 75 50.41 🔻
Microsoft.Extensions.DataIngestion.Abstractions Branch 75 72.73 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Line 75 4.46 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Branch 75 0 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Line 99 96.03 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Branch 99 94.39 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes Line 99 97.73 🔻
Microsoft.Extensions.ServiceDiscovery.Dns Line 75 69.93 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Line 75 42.11 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Branch 75 42.86 🔻
Microsoft.Extensions.ServiceDiscovery Line 75 67.51 🔻
Microsoft.Extensions.ServiceDiscovery Branch 75 71.43 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Line 75 73.85 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Branch 75 70 🔻
Microsoft.Extensions.VectorData.Abstractions Line 75 37.39 🔻
Microsoft.Extensions.VectorData.Abstractions Branch 75 22.73 🔻

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Gen.BuildMetadata 97 100
Microsoft.Gen.MetadataExtractor 57 73
Microsoft.Gen.MetricsReports 67 69
Microsoft.Extensions.AI.Abstractions 82 85
Microsoft.Extensions.AI.Evaluation.NLP 0 78
Microsoft.Extensions.Caching.Hybrid 82 89
Microsoft.Extensions.DataIngestion 75 87
Microsoft.Extensions.DataIngestion.Markdig 75 90
Microsoft.Extensions.Http.Resilience 97 100

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1479492&view=codecoverage-tab

@adamsitnik adamsitnik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, since it's a feature branch sync (from main, not to main), I am going to merge it as is without bothering others for reviews.

@adamsitnik adamsitnik marked this pull request as ready for review June 24, 2026 16:59
@adamsitnik adamsitnik requested review from a team as code owners June 24, 2026 16:59
@adamsitnik adamsitnik merged commit 319f6df into data-ingestion-preview2 Jun 24, 2026
2 of 6 checks passed
@adamsitnik adamsitnik deleted the copilot/data-ingestion-preview2-again branch June 24, 2026 17:00
@adamsitnik adamsitnik removed request for a team June 24, 2026 17:00
@dotnet-comment-bot

Copy link
Copy Markdown
Collaborator

‼️ Found issues ‼️

Project Coverage Type Expected Actual
Microsoft.Extensions.Diagnostics.Testing Line 99 98.65 🔻
Microsoft.Extensions.Telemetry Line 93 91.95 🔻
Microsoft.Extensions.AI Line 89 88.61 🔻
Microsoft.Extensions.AI Branch 89 88.57 🔻
Microsoft.Extensions.AI.OpenAI Line 75 62.89 🔻
Microsoft.Extensions.AI.OpenAI Branch 75 50.41 🔻
Microsoft.Extensions.DataIngestion.Abstractions Branch 75 72.73 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Line 75 4.46 🔻
Microsoft.Extensions.DataIngestion.MarkItDown Branch 75 0 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Line 99 96.03 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring Branch 99 94.39 🔻
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes Line 99 97.73 🔻
Microsoft.Extensions.ServiceDiscovery.Dns Line 75 71.61 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Line 75 42.11 🔻
Microsoft.Extensions.ServiceDiscovery.Abstractions Branch 75 42.86 🔻
Microsoft.Extensions.ServiceDiscovery Line 75 68.88 🔻
Microsoft.Extensions.ServiceDiscovery Branch 75 71.43 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Line 75 73.85 🔻
Microsoft.Extensions.ServiceDiscovery.Yarp Branch 75 70 🔻
Microsoft.Extensions.VectorData.Abstractions Line 75 37.39 🔻
Microsoft.Extensions.VectorData.Abstractions Branch 75 22.73 🔻

🎉 Good job! The coverage increased 🎉
Update MinCodeCoverage in the project files.

Project Expected Actual
Microsoft.Gen.BuildMetadata 97 100
Microsoft.Gen.MetadataExtractor 57 73
Microsoft.Gen.MetricsReports 67 69
Microsoft.Extensions.AI.Abstractions 82 85
Microsoft.Extensions.AI.Evaluation.NLP 0 78
Microsoft.Extensions.Caching.Hybrid 82 89
Microsoft.Extensions.DataIngestion 75 87
Microsoft.Extensions.DataIngestion.Markdig 75 90
Microsoft.Extensions.Http.Resilience 97 100

Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1479755&view=codecoverage-tab

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.