Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer cancellation and notifications #432

Merged
merged 84 commits into from
Jun 4, 2024
Merged

Transfer cancellation and notifications #432

merged 84 commits into from
Jun 4, 2024

Conversation

tmpfs
Copy link
Collaborator

@tmpfs tmpfs commented May 27, 2024

  • Fix file_transfers_offline_* test specs
  • Fix file_transfers_late_upload test spec
  • Cancel all inflight transfers on shutdown
  • Move failed operations to a failures queue
  • Periodically attempt to restore from failures queue to the transfers queue
  • Deleting secret file(s) must cancel any inflight upload/download
  • Moving secret file(s) must cancel any inflight upload/download

Closes #434 and closes #433.

@tmpfs tmpfs self-assigned this May 27, 2024
tmpfs added 29 commits May 30, 2024 13:32
A transfer_id is consistent for a given file, operation and origin so
that callers can see if an inflight transfer corresponds to an existing
inflight transfer.

For example, this can be used by a UI to remove a previously failed
transfer notification when the same transfer is re-queued.
Otherwise uploading very large files will never complete.
@tmpfs tmpfs merged commit 2b1d765 into main Jun 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify file transfer clients as servers are added and removed Cancel websocket connection retry on sign out
1 participant