Fix multi-target fire-and-forget payload lifetime - #5297
Open
pcnudde wants to merge 1 commit into
Open
Conversation
Collaborator
Author
|
/build |
Contributor
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5297 +/- ##
==========================================
+ Coverage 66.87% 67.25% +0.38%
==========================================
Files 1021 1021
Lines 106100 106129 +29
==========================================
+ Hits 70951 71377 +426
+ Misses 35149 34752 -397
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Fixes #5291.
A multi-target streamed fire-and-forget send could retire its downloadable payload after the first receiver finished, leaving later recipients unable to download it. Declare the distinct receiver count before encoding and avoid creating a source for an empty target list.
Keep completion count-based: receivers can enable pass-through locally, so routing targets are not necessarily the final consumers. Missing recipients retain the source until existing timeout handling settles them; this change does not add retries or exact recipient-identity verification.
Validation:
./runtest.sh -spassed for Python/style targets; the tool skipped notebook formatting because Jupyter extras were unavailable. No notebooks changed.