Skip to content
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

Fix flat graph generation bug (#1740) #1750

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

beckjake
Copy link
Contributor

Fix #1740

This is currently against 0.14.latest, but it probably should go against a new 0.14.3 branch, right?

Make flat graph an attribute and build it during runtime initialization. This should avoid any issues where one thread is calling manifest.to_flat_graph (which iterates over manifest.nodes) while something else is modifying manifest.nodes. Instead, just pre-generate it during runtime initialization, which should cover us for any tasks that use the manifest/generate contexts.

I broke testing 0.14.x pretty badly in my local environment and don't really want to fix it, so just 🤞 on tests passing here!

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

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

This LGTM! Lets:

  1. merge this into dev/0.14.3
  2. make sure dev/0.14.3 gets merged into dev/lousia-may-alcott

@beckjake beckjake changed the base branch from 0.14.latest to dev/0.14.3 September 16, 2019 16:14
@beckjake beckjake merged commit 017f417 into dev/0.14.3 Sep 16, 2019
@beckjake beckjake deleted the fix/pregenerate-flat-graph branch September 16, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants