Repository navigation
fix: Apply the minimum poll interval to FDv2 polling data sources - #568
Merged
Merged
Conversation
The FDv2 polling builders and the FDv1 fallback builders now raise a poll interval below 30 seconds to 30 seconds, as Config.poll_interval does. Before, an interval set on a builder could be any value. Also add FDv2 tests for behavior that only the FDv1 data system tested: - ETag and 304 handling, and SDK request headers, for the polling requesters and the streaming sources - the data source and data store status provider rules - flag change events through prerequisite and segment dependencies - stream init diagnostics on success and on failure
A synchronizer that reports OFF has failed, but the data system goes on with the next synchronizer. The data system now reports that as INTERRUPTED, so status listeners no longer see OFF followed by VALID. The data system reports OFF when it stops, which it did not do before, and OFF is now the last status that listeners receive.
kinyoklion
approved these changes
Nov 5, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
fix: Report OFF only when the FDv2 data system stops
Summary
This closes gaps between the FDv2 and FDv1 data systems before FDv1 is removed. It fixes two behaviors and adds FDv2 tests for what only FDv1 tested so far.
Minimum poll interval.
Config.poll_intervalraises an interval below 30 seconds to 30 seconds, but an interval set on an FDv2 polling builder or an FDv1 fallback builder could be any value. The builders now apply the same minimum. The v3 contract tests expect this.Data source status. FDv2 now reports status the same way as the Go SDK and js-core:
New tests, sync and async where the code has both: