Repository navigation
fix(destination): retry bqstream transport failures - #7464
Merged
achettyiitr merged 1 commit intoOct 12, 2026
Merged
Conversation
Contributor
Author
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7464 +/- ##
==========================================
+ Coverage 84.51% 84.95% +0.44%
==========================================
Files 624 624
Lines 62396 62402 +6
==========================================
+ Hits 52733 53014 +281
+ Misses 9660 9385 -275
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
achettyiitr
approved these changes
Oct 12, 2026
achettyiitr
marked this pull request as ready for review
October 12, 2026 02:15
ItsSudip
approved these changes
Oct 12, 2026
achettyiitr
deleted the
harness/RUD-3274-fix-destination-retry-bqstream-53db8eaa
branch
October 12, 2026 04:23
This was referenced Oct 12, 2026
Merged
mihir20
pushed a commit
that referenced
this pull request
Oct 12, 2026
🤖 I have created a release *beep* *boop* --- ## [1.90.0-rc.1](v1.89.0...v1.90.0-rc.1) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- 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: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
mihir20
pushed a commit
that referenced
this pull request
Oct 13, 2026
🤖 I have created a release *beep* *boop* --- ## [1.90.0](v1.89.0...v1.90.0) (2026-10-12) ### Features * **processor:** add source_out reporting metric ([#7435](#7435)) ([909fba9](909fba9)) * **processor:** allow disabling event schemas v2 per source ([#7429](#7429)) ([a8c12b2](a8c12b2)) * **processor:** report dest_transformer diff rows for multiplexing destination transformations ([#7446](#7446)) ([cd95c32](cd95c32)) * **processor:** report dest_transformer succeeded for destinations without a destination transformation ([#7445](#7445)) ([21f7e41](21f7e41)) * **processor:** report user_transformer succeeded for destinations without a user transformation ([#7440](#7440)) ([f424257](f424257)) * **router:** mask live events destination credentials ([#7460](#7460)) ([5fa5fe2](5fa5fe2)) * **warehouse:** add Microsoft Fabric destination ([#7441](#7441)) ([74940c2](74940c2)) ### Bug Fixes * **batchrouter:** do not abort warehouse jobs on a zero failure timestamp ([#7426](#7426)) ([506f6d5](506f6d5)) * **batchrouter:** recover snowpipe streaming channels for tables dropped externally ([#7434](#7434)) ([93cd81d](93cd81d)) * **destination:** encode Lytics bulk upload URL values ([#7433](#7433)) ([08e6937](08e6937)) * **destination:** retry bqstream transport failures ([#7464](#7464)) ([cd3dc3e](cd3dc3e)) * **warehouse:** cap deltalake validation schema describes ([#7444](#7444)) ([d119779](d119779)) * **warehouse:** keep snowflake copy credentials out of logs ([#7442](#7442)) ([f91747b](f91747b)) * **warehouse:** set explicit lineSep for deltalake csv copy ([#7455](#7455)) ([cc22d18](cc22d18)) ### Miscellaneous * migrate self-hosted arm64 docker build runners to gha-runner-scale-set ([#7425](#7425)) ([5cdffde](5cdffde)) * **processor:** retire the destination-filter reorder, dedup and gw_ingested reporting flags ([#7450](#7450)) ([1040511](1040511)) * pull openapi-generator through the ECR pull-through cache ([#7449](#7449)) ([6e9f920](6e9f920)) --- 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: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.
Description
Classify BQStream insertion failures according to their error type instead of mapping every non-timeout error to HTTP 400.
bigquery.PutMultiErrorrow rejections, including row-level diagnostics.googleapi.Error, allowing 403 to remain terminal while 429 and 5xx retry naturally.[BQStream] error ::reporting prefix.Retries following an ambiguous connection closure can duplicate rows if BigQuery partially accepted a batch. This is consistent with the existing at-least-once streaming-insert semantics. The separate producer-close race is intentionally outside this change.
Linear Ticket
RUD-3274
Validation
make fmt— passedgo test -count=1 ./services/streammanager/bqstream/...— passedgo vet ./services/streammanager/bqstream/...— passedgo run github.com/golangci/golangci-lint/v2/cmd/[email protected] run ./services/streammanager/bqstream/...— passed with 0 issuesgo test -count=1 ./router -run '^TestLimiterPriorityValueFrom$'— passedgo test -count=1 ./router/utils/... ./router/types/...— passedgo test ./router/...encountered unrelated environment-sensitive failures: the router root test lost its ephemeral PostgreSQL connection, the Marketo permission test did not fail while running as a privileged user, and customdestinationmanager failed AWS custom RootCA client setup. No router files were changed.Security