Skip to content

feat: Support stream init diagnostics events for FDv2.#133

Open
kinyoklion wants to merge 5 commits intomainfrom
rlamb/SDK-1632/FDv2-Stream-Diagnostics
Open

feat: Support stream init diagnostics events for FDv2.#133
kinyoklion wants to merge 5 commits intomainfrom
rlamb/SDK-1632/FDv2-Stream-Diagnostics

Conversation

@kinyoklion
Copy link
Member

@kinyoklion kinyoklion commented Feb 6, 2026

Note

Medium Risk
Touches FDv2 streaming lifecycle/error handling and restart behavior, which could affect reconnection and initialization semantics; changes are guarded by extensive new unit tests and are largely additive (diagnostic recording).

Overview
Adds FDv2 streaming stream-init diagnostics by plumbing a DiagnosticStore into StreamingSynchronizerImpl (via DataSystemComponents) and recording init timestamp/duration with a failed flag.

Updates streaming error/restart paths to distinguish deliberate restarts (e.g. goodbye/caller-initiated) from failures, reset timing after the first successful changeset, and record failures on conversion/protocol/parsing errors and unexpected thread termination. Tests are expanded to validate diagnostics across success, HTTP/network errors, invalid data, and repeated restarts (including null-store safety).

Written by Cursor Bugbot for commit ee478d9. This will update automatically on new commits. Configure here.

@kinyoklion kinyoklion requested a review from a team as a code owner February 6, 2026 16:37
@kinyoklion kinyoklion changed the title Rlamb/sdk 1632/f dv2 stream diagnostics feat: Support stream init diagnostics events for FDv2. Feb 6, 2026
@kinyoklion kinyoklion marked this pull request as draft February 6, 2026 17:57
@kinyoklion
Copy link
Member Author

bugbot review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

@kinyoklion kinyoklion marked this pull request as ready for review February 6, 2026 22:17
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.

1 participant