Skip to content

[release/10.0.1xx] Treat hotfix builds as servicing builds - #9753

Merged
hoyosjs merged 1 commit into
dotnet:release/10.0.1xxfrom
hoyosjs:port-hotfix-servicing-marker-release-10.0.1xx
Oct 1, 2026
Merged

hoyosjs merged 1 commit into
dotnet:release/10.0.1xxfrom
hoyosjs:port-hotfix-servicing-marker-release-10.0.1xx

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Sep 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Treat the hotfix prerelease label as a servicing build in ASP.NET Core and EF Core versioning.
  • Preserve servicing packaging, baseline validation, and assembly version behavior in runtime.
  • Apply the same servicing-release classification to WinForms and WPF packaging.

This ports the servicing-marker correction that was previously applied to the internal hotfix branch but was not present in the release/10.0.1xx branch.

Recognize the hotfix prerelease label in servicing-specific versioning, packaging, assembly version, and baseline validation conditions across components.
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team September 25, 2026 19:50
@azure-pipelines

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

@dotnet-policy-service
dotnet-policy-service Bot requested review from a team September 25, 2026 19:50
@wtgodbe

wtgodbe commented Sep 25, 2026

Copy link
Copy Markdown
Member

Do we have a guarantee we'll never hotfix a preview or an RC?

@hoyosjs

hoyosjs commented Sep 25, 2026

Copy link
Copy Markdown
Member Author

An RC is technically possible. I am porting this to 11 and main too.

@wtgodbe

wtgodbe commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

An RC is technically possible

We should special case that, then. At least in aspnetcore we fire some logic when IsServicingBuild==true, and we wouldn't want that to happen for an RC hotfix

@hoyosjs

hoyosjs commented Sep 25, 2026

Copy link
Copy Markdown
Member Author

@wtgodbe In RC - isn't the API surface frozen? The servicing check I only saw in 11 and 12 - and had taken the opposite approach - hotfix is a point where the API should be stable. @mmitche - any opinions on this? Is there a case to do hotfix in cases where the API is unstable?

@mmitche

mmitche commented Sep 26, 2026

Copy link
Copy Markdown
Member

@wtgodbe In RC - isn't the API surface frozen? The servicing check I only saw in 11 and 12 - and had taken the opposite approach - hotfix is a point where the API should be stable. @mmitche - any opinions on this? Is there a case to do hotfix in cases where the API is unstable?

In RC it's suppsoed to be pretty stable, though I'm not sure about pre-rc1 release stability (e.g. if you have just branched for p7 and rc1 is just going live, it's not necessarily stable at that point).

@mmitche

mmitche commented Sep 26, 2026

Copy link
Copy Markdown
Member

Hotfix of an RC is pretty unlikely.

@wtgodbe

wtgodbe commented Sep 30, 2026

Copy link
Copy Markdown
Member

In RC - isn't the API surface frozen?

aspnetcore sometimes updates API surface area in RC1, and I think at least once we've done it in RC2

@hoyosjs

hoyosjs commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

Then that might be fair - I'll think about that one for the main PR.

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