Skip to content

Fix library cycle graph update. #4004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

davidmorgan
Copy link
Contributor

For #3999.

The OOM was a distraction: it was because of the $this in throw StateError('No value for phase $phase in $this.');, the library cycle graph is too big to flatten to a String for display. I removed those exception messages: better stack trace than a hang->OOM.

The failure was because a partial build could cause information about deps of an asset to be discarded, leading "no value for phase" in the next build.

Copy link

github-actions bot commented May 9, 2025

PR Health

@davidmorgan davidmorgan force-pushed the update-library-cycle-graph branch from 23e0d98 to 8aedd85 Compare May 9, 2025 15:56
@davidmorgan davidmorgan marked this pull request as ready for review May 9, 2025 16:15
@davidmorgan davidmorgan requested a review from jensjoha May 9, 2025 16:15
@davidmorgan davidmorgan merged commit 6f4c629 into dart-lang:master May 12, 2025
73 of 75 checks passed
@davidmorgan davidmorgan deleted the update-library-cycle-graph branch May 12, 2025 06:37
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.

2 participants