Repository navigation
Conversation
themavik
reviewed
Mar 23, 2026
themavik
left a comment
There was a problem hiding this comment.
Bumping lastSeenTimestamp from handleProgress keeps the CRI pull watchdog alive when byte totals flatline but events still arrive. TestTransferProgressReporterProgressEventRefreshesTimeout uses a waiting event plus a short ticker to prove cancel stays idle.
Author
|
Can anyone review this please? |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Retr0-XD
force-pushed
the
fix/pull-progress-timeout-multipart-12811
branch
from
September 13, 2026 13:33
e4faf7b to
6c2dea9
Compare
Retr0-XD
force-pushed
the
fix/pull-progress-timeout-multipart-12811
branch
from
September 15, 2026 04:41
6c2dea9 to
06e5fbe
Compare
Signed-off-by: Retr0-XD <[email protected]>
Retr0-XD
force-pushed
the
fix/pull-progress-timeout-multipart-12811
branch
from
September 17, 2026 10:14
06e5fbe to
6076dd8
Compare
Author
|
Rebased onto current upstream/main and removed the merge commits. The branch is now a single commit on top of main. Please let me know if anything else is needed. |
This branch has not been deployed
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.
Summary
Fixes #12811 by preventing pull timeout cancellation when transfer progress events are still flowing but byte deltas are temporarily flat.
Problem
transferProgressReporterused byte-delta-only liveness to decide timeout cancellation. In multipart download workflows, this can misclassify an active pull as stalled if progress events continue but the sampledtotalBytesReaddoes not advance in the timeout window.Changes
transferProgressReporter.TestTransferProgressReporterProgressEventRefreshesTimeout.Testing
go test ./internal/cri/server/images -run 'TestTransferProgressReporter|TestTransferProgressReporterProgressEventRefreshesTimeout'go test ./internal/cri/server/images