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: fix race condition with docs voting feature #256

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

skylarmb
Copy link
Contributor

This fixes a race condition that could occasionally cause the page to show an error if the rendering of the page completed before the request to the voting backend API completed. This fixes this race condition by providing stubbed / initial values in the voting context instead of undefined.

The error that was occasionally reproducible":
image

@skylarmb skylarmb merged commit 2d3f769 into main Sep 27, 2024
3 checks passed
@skylarmb skylarmb deleted the sbrown/fix-race-condition branch September 27, 2024 15:49
leoporoli pushed a commit that referenced this pull request Sep 27, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.3.1](0.3.0...0.3.1)
(2024-09-27)


### Bug Fixes

* fix race condition with docs voting feature
([#256](#256))
([2d3f769](2d3f769))
* remove all Kardinal namespaces when cluster resources is empty during
cleanup ([#255](#255))
([43c4ac2](43c4ac2))
* telepresence http server check
([#251](#251))
([c26f135](c26f135))
* try making some changes to change the asset hashes
([#254](#254))
([668be13](668be13))
* Update the manager deploy kontrol service location command argument
([#252](#252))
([08be35c](08be35c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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