forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render cyclic path in node error to avoid --print-exception-stacktrace (
pantsbuild#8422) ### Problem See pantsbuild#5739: currently, rendering a cycle in the graph requires enabling `--print-exception-stacktrace`. But `--print-exception-stacktrace` is annoying for end users. ### Solution Use the cyclic path that @illicitonion added in pantsbuild#7642 to render an error directly. And in a separate commit, remove `EntryKey`, which was only used for "recording" cycles in the `Graph`... from an era where we actually looked at the complete dump of the runtime graph, I think? ### Result `--print-exception-stacktrace` is no longer necessary to see the "path" involved in a cycle. Fixes pantsbuild#5739.
- Loading branch information
Showing
6 changed files
with
136 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.