Skip to content

[openvino-notes][CLOUD] Support various states for resumable uploads - #1178

Open
N1smi wants to merge 10 commits into
openvinotoolkit:masterfrom
N1smi:resumable-states
Open

N1smi wants to merge 10 commits into
openvinotoolkit:masterfrom
N1smi:resumable-states

Conversation

@N1smi

@N1smi N1smi commented Oct 12, 2026

Copy link
Copy Markdown

Overview

Add Active, Completed, and Expired states for resumable file transfers.

Changes

  • CloudApi.kt: Added ResumableUploadState sealed interface with Active, Completed, and Expired states.
  • FakeRemoteStore.kt: Added support for session states and expiration handling.
  • ResumableTransferContractTest.kt: Added contract tests for the new states.
  • DriveCloudComponent.kt: Updated stubs to match the new states.

@N1smi
N1smi requested a review from a team as a code owner October 12, 2026 18:44
@github-actions github-actions Bot added the category: OpenVINO Notes OpenVINO Notes module (modules/openvino-notes) label Oct 12, 2026
@allnes allnes self-assigned this Oct 12, 2026

@allnes allnes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The shared cloud fixture still accepts chunks for completed and expired sessions. A completed-session retry can issue another write and overwrite a later object revision. Please enforce the session state before mutating the buffer or object and add regression tests for completion retries and expiry.

@N1smi
N1smi marked this pull request as draft October 12, 2026 19:55
@N1smi
N1smi marked this pull request as ready for review October 24, 2026 13:54
@N1smi
N1smi requested a review from allnes October 24, 2026 13:55
@allnes allnes assigned aobolensk and unassigned allnes Oct 28, 2026
@allnes
allnes requested a review from aobolensk October 28, 2026 15:07
@allnes

allnes commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

please resolve conflicts

@N1smi
N1smi requested a review from allnes October 28, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: OpenVINO Notes OpenVINO Notes module (modules/openvino-notes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants