Skip to content

How to troubleshoot a build-time regression#67161

Merged
jcouv merged 4 commits intomainfrom
dev/jcouv/build-time
Mar 7, 2023
Merged

How to troubleshoot a build-time regression#67161
jcouv merged 4 commits intomainfrom
dev/jcouv/build-time

Conversation

@jcouv
Copy link
Copy Markdown
Member

@jcouv jcouv commented Mar 2, 2023

No description provided.

@jcouv jcouv self-assigned this Mar 2, 2023
@ghost ghost added the Area-Compilers label Mar 2, 2023
@jcouv jcouv marked this pull request as ready for review March 2, 2023 20:36
Comment thread docs/wiki/Troubleshooting-tips.md Outdated
The file is written next to the compilation output and has a `.key` suffix.
Comparing those files between slow and fast runs helps detect pertinent changes (new inputs, new references, etc).
3. compiler server issue:
Inspect the binary log (search for "Error:" and such).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 There is a predefined (example) search term in MSBuild Structured Log Viewer for $message CompilerServer failed that I normally use for this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know. Thanks!

@jcouv
Copy link
Copy Markdown
Member Author

jcouv commented Mar 7, 2023

@jaredpar @dotnet/roslyn-compiler for review. Thanks

Comment thread docs/wiki/Troubleshooting-tips.md Outdated
Use `/p:Features=debug-determinism` to create an additional output file that documents all the inputs to a particular compilation.
The file is written next to the compilation output and has a `.key` suffix.
Comparing those files between slow and fast runs helps detect pertinent changes (new inputs, new references, etc).
3. compiler server issue:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be #2 for me.

@jcouv jcouv merged commit a141d72 into main Mar 7, 2023
@ghost ghost added this to the Next milestone Mar 7, 2023
@jcouv jcouv deleted the dev/jcouv/build-time branch March 7, 2023 22:26
@allisonchou allisonchou modified the milestones: Next, 17.6 P3 Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants