[PR #1813] [MERGED] Add support for canceling resumable uploads #1842

Closed
opened 2026-03-03 12:36:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/1813
Author: @kawmra
Created: 11/16/2024
Status: Merged
Merged: 1/3/2025
Merged by: @fsouza

Base: mainHead: delete-resumable-upload


📝 Commits (1)

  • be183bb Add support for canceling resumable uploads

📊 Changes

3 files changed (+30 additions, -0 deletions)

View changed files

📝 fakestorage/server.go (+2 -0)
📝 fakestorage/upload.go (+4 -0)
📝 fakestorage/upload_test.go (+24 -0)

📄 Description

Closes #1767

This PR adds support for canceling resumable uploads.
The implementation is based on the guides and observed behavior, as this functionality was not explicitly documented in the API references.

I'm new to Go, so please feel free to let me know if you have any concerns about naming conventions, code organization, or anything else.

Thanks for maintaining this great project!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fsouza/fake-gcs-server/pull/1813 **Author:** [@kawmra](https://github.com/kawmra) **Created:** 11/16/2024 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `delete-resumable-upload` --- ### 📝 Commits (1) - [`be183bb`](https://github.com/fsouza/fake-gcs-server/commit/be183bb715b85ee32cc0086145f7cc098d213220) Add support for canceling resumable uploads ### 📊 Changes **3 files changed** (+30 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `fakestorage/server.go` (+2 -0) 📝 `fakestorage/upload.go` (+4 -0) 📝 `fakestorage/upload_test.go` (+24 -0) </details> ### 📄 Description Closes #1767 This PR adds support for canceling resumable uploads. The implementation is based on the [guides](https://cloud.google.com/storage/docs/performing-resumable-uploads#cancel-upload) and observed behavior, as this functionality was not explicitly documented in the API references. I'm new to Go, so please feel free to let me know if you have any concerns about naming conventions, code organization, or anything else. Thanks for maintaining this great project! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:36:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#1842
No description provided.