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 race condition in processing commands (navigate) #1065

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

wwwillchen
Copy link
Collaborator

@wwwillchen wwwillchen commented Oct 27, 2024

Previously we had an edge case where a navigate & query param mutation (see newly added e2e test case) ran into a race condition because we weren't properly awaiting the Angular router navigation.

This ensures that all commands (including across render events) are processed serially.

@wwwillchen wwwillchen requested a review from richard-to October 27, 2024 05:23
@wwwillchen wwwillchen changed the title Properly wait for router in navigate command to avoid race with query param Fix race condition in processing commands (navigate) Oct 27, 2024
@wwwillchen wwwillchen merged commit a9369b1 into google:main Oct 28, 2024
6 checks passed
@wwwillchen wwwillchen deleted the nav-qp branch October 28, 2024 04:28
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