Skip to content

Support corrupt logs produced by some 17.7 MSBuilds#697

Merged
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
rainersigwald:deal-wtih-bogus-17.7-logs
Jul 25, 2023
Merged

Support corrupt logs produced by some 17.7 MSBuilds#697
KirillOsenkov merged 1 commit intoKirillOsenkov:mainfrom
rainersigwald:deal-wtih-bogus-17.7-logs

Conversation

@rainersigwald
Copy link
Copy Markdown
Collaborator

Work around bad binlogs produced by dotnet/msbuild#8971 by probing for the zip header that will be the known first bytes of the blob.

Work around bad binlogs produced by dotnet/msbuild#8971 by probing for the zip header that will be the known first bytes of the blob.

Co-authored-by: MichalPavlik <mipavlik@microsoft.com>
@rainersigwald
Copy link
Copy Markdown
Collaborator Author

@MichalPavlik can you give this a once-over to see if it matches what we were talking about offline?

@KirillOsenkov
Copy link
Copy Markdown
Owner

Have we tested this with the corrupt binlogs and the regular binlogs?

@rainersigwald
Copy link
Copy Markdown
Collaborator Author

Yes, it Works On My Machine™️. I've tried with binlogs from current dogfood VS builds, binlogs from the PR with the fix, and binlogs from production 17.6 builds, and verified that they all had many .targets files in the "files" tab.

@KirillOsenkov KirillOsenkov merged commit 7d6b5c2 into KirillOsenkov:main Jul 25, 2023
@MichalPavlik
Copy link
Copy Markdown
Contributor

@MichalPavlik can you give this a once-over to see if it matches what we were talking about offline?

Yes Rainer, it's exactly what I proposed. Thanks for mitigation.

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