| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The FDv2 goodbye event is specified to carry only a `reason` field, but the `Goodbye` dataclass declared `silent` and `catastrophe` and `from_dict` raised `ValueError` if any of the three were missing. This meant a spec-compliant payload would fail to parse. Drop `silent` and `catastrophe` from the dataclass and require only `reason` when deserializing. Update the streaming handler to log the reason unconditionally rather than gating on `silent` / formatting with `catastrophe`. Update test fixtures accordingly.
🤖 I have created a release *beep* *boop* --- ## [9.16.0](9.15.1...9.16.0) (2026-06-08) ### Features * Drop persistent-store cache after FDv2 in-memory store init ([#426](#426)) ([563b87a](563b87a)) ### Bug Fixes * align FDv2 goodbye event with spec (reason-only) ([#422](#422)) ([84b442d](84b442d)) * honor server-directed FDv1 Fallback Directive in initializer phase ([#423](#423)) ([7c49bc0](7c49bc0)) * Keep booleans and numbers distinct in the in operator ([#433](#433)) ([da595ab](da595ab)) * Replace Python 2-style ABC patterns with Python 3 equivalents ([22b8fe5](22b8fe5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Summary
Test plan
Note
Low Risk
Low risk: change is limited to FDv2 Goodbye event serialization/parsing and corresponding log/test updates, with no new behavior beyond accepting spec-compliant payloads and adjusting log level.
Overview
Aligns the FDv2 Goodbye event with the spec by removing the silent and catastrophe fields from the Goodbye dataclass and its to_dict/from_dict methods, so parsing no longer fails on reason-only payloads.
Updates the streaming SSE consumer to treat GOODBYE as a normal protocol signal (logs info with the reason only) and adjusts datasourcev2 polling/streaming tests to construct Goodbye with just reason.
Reviewed by Cursor Bugbot for commit c1eb5cc. Bugbot is set up for automated code reviews on this repo. Configure here.