googleapis / googleapis/google-cloud-swift

[storage]: add helpers for the rewrite loop

Open
#786 0 comments 0 reactions 0 assignees View on GitHub
api: storage
Dominant language
Swift
Stars
26
Forks
10
Avg merge
12h 56m
Merged PRs (30d)
211

Description

The `rewriteObject()` request typically is used in a loop, as it may require multiple calls before completing. Interestingly, it does **not** make progress in the background, the call is needed.

We can add a helper function to run the loop, maybe via some `extension` of the `StorageControlProtocol`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the `rewriteObject()` request and the `StorageControlProtocol` definition, then trace how callers currently repeat the request until completion. Determine the helper's intended API and completion behavior with the project maintainers; done means the loop can be invoked through the chosen protocol extension and is covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.