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

Remove the worker dev dep build cache in packaging #9532

Closed
wants to merge 2 commits into from

Conversation

mattcompiles
Copy link
Contributor

↪️ Pull Request

There is currently a possible race condition in requests where it's possible for them to run in a different order on the main thread then they were sent from the worker thread. This causes an issue with dev dep requests as they have a build cache that reduces the information on the request if it's already run before to reduce overall serialisation time.

This PR removes the build cache from just the PackageRunner dev dep requests and leaves it on the Transformation ones. The thinking here is that the Packaging ones don't get a lot of benefit from the cache but seem to be the only ones that fail. This isn't ideal but I think it should make the error pretty much disappear for very little performance loss.

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

@mattcompiles
Copy link
Contributor Author

Closing in favour of #9636

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.

2 participants