Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 1, 2023

Backport of #95504 to release/8.0-staging

/cc @akoeplinger

Customer Impact

With #83903 the path to the .pdb symbol file changed to include a PDB subdirectory. We didn't adjust the path in mono.proj and didn't notice it because of an Exists() check that made this a no-op.

This caused the .pdb file to not be uploaded to symbol servers which results in a failing VS APIScan check:

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols.

This is a regression compared to 7.0.

Testing

Manually inspected the generated .symbols.nupkg and verified the .pdb is there.

Risk

Low.

@github-actions github-actions bot requested a review from marek-safar as a code owner December 1, 2023 11:27
@ghost ghost added the area-Build-mono label Dec 1, 2023
@akoeplinger akoeplinger added the Servicing-consider Issue for next servicing release review label Dec 1, 2023
@akoeplinger akoeplinger added this to the 8.0.x milestone Dec 1, 2023
@akoeplinger akoeplinger requested a review from steveisok December 1, 2023 11:33
@akoeplinger akoeplinger force-pushed the backport/pr-95504-to-release/8.0-staging branch from d87c677 to d6aea1c Compare December 1, 2023 11:39
With #83903 the path to the .pdb symbol file changed to include a `PDB` subdirectory.
We didn't adjust the path in mono.proj and didn't notice it because of an `Exists()` check that made this a no-op.

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols
@akoeplinger akoeplinger force-pushed the backport/pr-95504-to-release/8.0-staging branch from d6aea1c to 9647ab3 Compare December 1, 2023 13:40
@akoeplinger akoeplinger changed the title [release/8.0-staging] Fix mono-aot-cross .pdb files missing on Windows [release/8.0-staging] Fix missing symbols for mono-aot-cross Dec 1, 2023
These files are split out from the main .nupkg so they won't exist there which causes issues when nuget tries to apply the permissions during workload install.
@akoeplinger
Copy link
Member

This was approved by tactics via email.

@akoeplinger akoeplinger added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 4, 2023
We were appending ExeSuffix on Windows so we looked for mono-aot-cross.exe.pdb instead of mono-aot-cross.pdb
@akoeplinger akoeplinger force-pushed the backport/pr-95504-to-release/8.0-staging branch from 88aee16 to 8784a54 Compare December 4, 2023 23:08
@akoeplinger
Copy link
Member

Timeout failure is unrelated.

@akoeplinger akoeplinger merged commit e6210c5 into release/8.0-staging Dec 5, 2023
@akoeplinger akoeplinger deleted the backport/pr-95504-to-release/8.0-staging branch December 5, 2023 11:52
@akoeplinger akoeplinger modified the milestones: 8.0.x, 8.0.2 Dec 6, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Build-mono Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants