Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix single-feed error with Release Studio nuget.config #1549

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

dagood
Copy link
Member

@dagood dagood commented Feb 11, 2025

Noticed this issue in our main and release builds after #1528. (Ex.) It turns out that using multiple feeds in this situation is a problem. (See comments.) Fix it by removing the feed and using a workaround.

I didn't catch it because the multi-feed detector is only working on our macOS agents. (We don't use a shallow checkout there, and shallow checkout seems to cause a silent detector failure on all our other stages.) I had only internally tested that #1528 didn't break our publish stages.

I'll need to backport this fix to the release branches.

Test run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2640418&view=results


I'd considered this BundledNETCoreAppTargetFrameworkVersion workaround earlier, but didn't apply it at first because it seemed like the simpler fix of using multiple feeds was working. I'm not the first person to think of it, though:

@dagood dagood requested a review from a team as a code owner February 11, 2025 20:13
@dagood dagood merged commit 376cd32 into microsoft/main Feb 11, 2025
35 checks passed
@dagood dagood deleted the dev/dagood/single-feed-publish branch February 11, 2025 22:33
dagood added a commit that referenced this pull request Feb 11, 2025
@dagood
Copy link
Member Author

dagood commented Feb 11, 2025

I'll need to backport this fix to the release branches.

This actually didn't block 1.22+1.23 because they don't include macOS. 1.24 would be blocked.
(Either way, this should be backported eventually.)

dagood added a commit that referenced this pull request Feb 12, 2025
dagood added a commit that referenced this pull request Feb 12, 2025
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.

2 participants