Repository navigation
[Chore] Publish symbols from CI builds to internal symbol server - #4910
Merged
Vincent Baaij (vnbaaij) merged 2 commits intoJun 11, 2026
Merged
Conversation
Add MicroBuildArchiveSymbols@6 to both build pipelines so PDBs for the shipping assemblies are archived to the internal symbol server. SubmitToInternet is false, so symbols never reach the public MSDL.
- New publish-symbols-stage.yml + publish-symbols-upload.yml templates so the same staging/upload pair can be reused by both pipelines. They're split because the staging step must run before the test step (the test step's DebugType, if it differed from the build step's, would invalidate MSBuild's up-to-date check and rebuild Core with a new MVID; combined with GeneratePackageOnBuild=true, that would also overwrite the produced nupkg with a DLL whose MVID no longer matched the PDB we uploaded).
- Align the test step's DebugType with the build step's DebugType in both pipelines, so the test step doesn't trigger that rebuild.
- build-core-lib (per-commit preview builds): gate the upload to main, dev, dev-v5, and archives/* — the branches in the pipeline's trigger that produce shipping nupkgs.
- build-all-lib (v* tag-triggered release builds, all 6 packages): gate the upload to refs/tags/v*.
- Stage glob covers src/**/bin/Release/**/Microsoft.FluentUI.*.{dll,pdb} with src/Templates/** excluded (Templates.csproj has IncludeBuildOutput=false; its placeholder DLL doesn't ship).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tim Mulholland (tlmii)
requested review from
Denis Voituron (dvoituron) and
Vincent Baaij (vnbaaij)
as code owners
June 10, 2026 20:28
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds reusable pipeline templates to stage and upload build symbols to the internal symbol server, and wires them into the core and full-library build pipelines.
Changes:
- Introduces
publish-symbols-stage.ymlto collect Release DLL/PDB outputs into a staging directory pre-test. - Introduces
publish-symbols-upload.ymlto archive staged symbols to the internal symbol server (SymWeb-only). - Integrates the stage/upload templates into
build-core-lib.ymlandbuild-all-lib.ymlwith branch/tag-gated conditions.
Show a summary per file
| File | Description |
|---|---|
| eng/pipelines/publish-symbols-upload.yml | New template to upload staged symbols to the internal symbol server via MicroBuild. |
| eng/pipelines/publish-symbols-stage.yml | New template to stage Release binaries (DLL/PDB) for symbol upload prior to tests. |
| eng/pipelines/build-core-lib.yml | Invokes the new stage/upload templates around the test step for main/dev/archives branches. |
| eng/pipelines/build-all-lib.yml | Invokes the new stage/upload templates around the test step for v* tag builds. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 4/4 changed files
- Comments generated: 7
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Vincent Baaij (vnbaaij)
approved these changes
Jun 11, 2026
This was referenced Jun 24, 2026
2 of 4 tasks
This was referenced Jun 24, 2026
Merged
Merged
Merged
This was referenced Aug 3, 2026
Merged
Merged
Closed
This was referenced Sep 28, 2026
This was referenced Oct 14, 2026
This was referenced Nov 1, 2026
This was referenced Nov 23, 2026
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.
Pull Request
📖 Description
Adds symbol publishing to both internal CI pipelines so PDBs for the shipping
Microsoft.FluentUI.*assemblies are archived for long-term debugging support. There is no change to the public NuGet packages or to what is published to nuget.org / public symbol servers.Two small shared templates (
publish-symbols-stage.yml,publish-symbols-upload.yml) keep the logic in one place so both pipelines stay in sync. Conditions are scoped to the branches each pipeline actually produces shipping artifacts from —main/dev/dev-v5/archives/*for the per-commit pipeline, andrefs/tags/v*for the release pipeline — so PR validation builds and one-off manual queues do not trigger the upload.This is a chore / infrastructure change. Not a breaking change. No runtime behavior changes for consumers of the NuGet packages.
🎫 Issues
#1607
👩💻 Reviewer Notes
Only the internal CI YAML is changed; no product code is touched and no public outputs are altered. The diff is purely additive — no existing line of either pipeline is modified or removed.
Things worth a look:
eng/pipelines/and how they're invoked frombuild-core-lib.ymlandbuild-all-lib.yml.Microsoft.FluentUI.AspNetCore.Templates.csprojsetsIncludeBuildOutput=falseand its placeholder DLL doesn't ship in any nupkg.📑 Test Plan
Verified by manually queuing the full build against this branch in the internal CI mirror and inspecting the run logs. The symbol-archive step in
fluentui-blazor-build-allreported successful upload of 88 files (Core + Generators + Icons sub-packages + Emoji sub-packages + both DataGrid adapters, acrossnet8.0/net9.0/net10.0) and the run completed.No new unit tests are added; this change is purely pipeline infrastructure.
✅ Checklist
General
⏭ Next Steps
Decide if we want to publish the symbols publicly as well - would potentially involve changing the debug type for some projects and then a small tweak to the yaml. Out of scope for this particular requirement but can be added easily as a second step.