-
Notifications
You must be signed in to change notification settings - Fork 58
fix(flagd): improve stream observer, refine retry policy; don't use retry to avoid busy loop #1590
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
Merged
toddbaert
merged 21 commits into
open-feature:main
from
open-feature-forking:fix/stream-queue-source-race-condition
Oct 14, 2025
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
893cd1c
fix(flagd): Remove one level of queueing in SyncStreamQueueSource and…
guidobrei 67b190d
fix(flagd): Use default instance of GetMetadataRequest
guidobrei 5b47a15
fix(flagd): Keep error reporting equivalent to previous implementation
guidobrei e972a80
fix(flagd): Fix checkstzle issues
guidobrei 7991058
fix(flagd): Fail early in syncFlags
guidobrei f4a93d6
fix(flagd): Add thread interruption
guidobrei 774bdee
fix(flagd): Fix Spotless complaints
guidobrei acab1f3
fix(flagd): Get rid of gRPC context cancellation
guidobrei 3ad54de
fix(flagd): Offer error if getMetadata fails
guidobrei fc963ce
fixup: spotless
toddbaert c7c1a3a
Fix error message
guidobrei 0c41114
fix(flagd): Ignore unimplemented getMetadata
guidobrei 0c29e37
fix(flagd): Update retryable status codes in retry logic
guidobrei 8baba19
fix(flagd): Simplified ChannelConnector
guidobrei ddffc09
fix(flagd): Extended retry logic for SyncFlags
guidobrei 1920779
fix(flagd): Properly handle metadata unimplemented status code
guidobrei 86de034
fix(flagd): Remove unused imports
guidobrei 9a2ef7b
fix(flagd): Please spotless
guidobrei 95914e6
fixup: add sleep delay to prevent busy loop
toddbaert d0286a9
Apply suggestion from @toddbaert
toddbaert 455b362
fixup: default
toddbaert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed - these were only here to slow down our loop, which we do with a sleep now.