Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 19, 2025

Backport of #119824 to release/10.0

This PR reverts a change to the apphost writer that preserves the entitlements of the incoming apphost.

/cc @agocke @jtschuster

Customer Impact

  • Customer reported
  • Found internally

If entitlements are preserved on the apphost, the Swift backtrace functionality is enabled. This causes a native callstack to be printed whenever a crash is produced. For crashes in native code, this is fine. For crashes in managed code, we have our own callstack dumping routine, and the Swift one is confusing for .NET users.

This change goes back to not preserving entitlements. As a result, users who want to fully sign and notarize their .NET binaries for Apple platforms will have to re-add required entitlements.

Regression

  • Yes
  • No

Testing

Manual verification.

Risk

Low. Mostly a revert to the previous behavior.

@JulieLeeMSFT JulieLeeMSFT added this to the 10.0.0 milestone Sep 22, 2025
@JulieLeeMSFT JulieLeeMSFT added the Servicing-approved Approved for servicing release label Sep 22, 2025
@JulieLeeMSFT
Copy link
Member

CC @jeffschwMSFT.

@agocke
Copy link
Member

agocke commented Sep 22, 2025

/ba-g Apphost failure is the machine running out of space.

@agocke agocke merged commit 878caef into release/10.0 Sep 22, 2025
80 of 85 checks passed
@agocke agocke deleted the backport/pr-119824-to-release/10.0 branch September 22, 2025 15:59
@teo-tsirpanis teo-tsirpanis added the area-HostModel Microsoft.NET.HostModel issues label Oct 7, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-HostModel Microsoft.NET.HostModel issues Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants