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

Bug fix for async Parcel-query #9442

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

irismoini
Copy link
Contributor

@irismoini irismoini commented Dec 14, 2023

↪️ Pull Request

This PR fixes a bug in Parcel-query that is causing race conditions. The run function in Parcel-query was recently changed to be asynchronous. Occasionally the given query fails to complete successfully (missing outputs, etc.) due to the process exiting before the command is finished being evaluated.

💻 Examples

For example getBundles occassionally fails to provide any of the bundles, but this issue isn't cause by failure to load bundleGraph or bundleInfo, but rather because the process has exited before the logs can be outputted.

🚨 Test instructions

Ran into this issue on a different branch, tested fix which resolved issue.

✔️ 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

@irismoini irismoini self-assigned this Dec 14, 2023
@irismoini irismoini merged commit ebe4e21 into v2 Dec 14, 2023
13 of 15 checks passed
@irismoini irismoini deleted the imoini/bug-fix-for-async-parcel-query branch December 14, 2023 22:24
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.

None yet

2 participants