Skip to content

Pin packages to versions available in the pipeline feed - #257

Merged
Mike Krüger (mkrueger) merged 1 commit into
mainfrom
dev/mkrueger/pin-feed-packages
Oct 26, 2026
Merged

Mike Krüger (mkrueger) merged 1 commit into
mainfrom
dev/mkrueger/pin-feed-packages

Conversation

@mkrueger

Copy link
Copy Markdown
Collaborator

The Azure pipeline fails during restore on main with NU1102: the internal CosmosDB_PublicPackages feed does not yet contain OpenTelemetry / OpenTelemetry.Exporter.OpenTelemetryProtocol 1.20.1 or StyleCop.Analyzers 1.3.133-beta, which #256 introduced.

This pins them to the newest versions available in the feed:

  • OpenTelemetry, OpenTelemetry.Exporter.OpenTelemetryProtocol: 1.20.1 -> 1.20.0
  • StyleCop.Analyzers: 1.3.133-beta -> 1.3.109-beta

Validated locally: dotnet restore --configfile .pipelines/nuget.config succeeds, the solution builds with no errors, and all tests pass. The versions can be raised again once the feed has ingested them.

The CosmosDB_PublicPackages feed used by the Azure pipeline does not yet contain OpenTelemetry 1.20.1 or StyleCop.Analyzers 1.3.133-beta (introduced in #256), so restore fails with NU1102. Use 1.20.0 and 1.3.109-beta until the feed has the newer versions.

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.

🟢 Approval recommended

The version-only changes match the stated restore workaround, preserve telemetry version alignment, and have no identified blocking issues.

No open issues 🎉

What changed in this PR

This PR adjusts central package versions to resolve the reported pipeline restore failures following dependency upgrade #256.

Changes:

  • Pin both OpenTelemetry packages to 1.20.0, keeping their versions aligned.
  • Pin StyleCop.Analyzers to 1.3.109-beta to match reported feed availability.
File Description
Directory.Packages.props Lowers three package versions to those reported available in the pipeline feed.

Review effort: Balanced

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: C#

C# / code-coverage/dotnet

main 6a3e830 dev/mkrueger/pin-fee... 9ec9474 +/-
72% 72% 0%
View coverage of the 1 most impacted file.
File main 6a3e830 dev/mkrueger/pin-fee... 9ec9474 +/-
D:\a\CosmosDBSh...ds\JqCommand.cs 0% 100% +100%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@mkrueger
Mike Krüger (mkrueger) merged commit 4ff7843 into main Oct 26, 2026
13 checks passed
@mkrueger
Mike Krüger (mkrueger) deleted the dev/mkrueger/pin-feed-packages branch October 26, 2026 14:32
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.

3 participants