Skip to content

Conversation

@kathap
Copy link
Contributor

@kathap kathap commented Nov 20, 2025

Add missing operations: copy, delete-recursive, list, properties, ensure-bucket-exists.

@beyhan beyhan requested review from a team, peanball and serdarozerr and removed request for a team November 27, 2025 15:42
@beyhan beyhan moved this from Inbox to Pending Review | Discussion in Foundational Infrastructure Working Group Nov 27, 2025
@rkoster rkoster requested a review from Copilot November 27, 2025 15:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements five missing storage-cli operations for AliCloud (Alibaba Cloud OSS): copy, delete-recursive, list, properties, and ensure-bucket-exists. These operations bring AliCloud feature parity with other storage providers in the storage-cli tool.

Key Changes

  • Added CLI command handlers for the five new operations with argument validation
  • Implemented the underlying storage client methods with pagination support for list and delete-recursive operations
  • Added comprehensive integration tests for all new operations
  • Modified the storage client initialization to cache OSS client and bucket instances

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 16 comments.

Show a summary per file
File Description
alioss/main.go Added command handlers for copy, delete-recursive, list, properties, and ensure-bucket-exists with argument validation
alioss/client/storage_client.go Implemented five new storage operations, modified struct to cache client/bucket instances, added BlobProperties type
alioss/client/client.go Added wrapper methods in AliBlobstore to delegate to storage client implementations
alioss/integration/general_ali_test.go Added integration tests for delete-recursive, copy, list, and ensure-bucket-exists operations
alioss/client/clientfakes/fake_storage_client.go Auto-generated fake client code for new interface methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kathap kathap force-pushed the add-missing-functions-to-alioss branch 2 times, most recently from 804c940 to 9de39f7 Compare December 4, 2025 15:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kathap kathap marked this pull request as draft December 4, 2025 16:22
@kathap kathap force-pushed the add-missing-functions-to-alioss branch 2 times, most recently from 69237db to 76d7d77 Compare December 8, 2025 11:50
@kathap kathap force-pushed the add-missing-functions-to-alioss branch from 76d7d77 to 02a1735 Compare December 8, 2025 12:18
@kathap kathap force-pushed the add-missing-functions-to-alioss branch from 02a1735 to 4df1287 Compare December 11, 2025 08:24
@kathap kathap force-pushed the add-missing-functions-to-alioss branch from cf423f4 to ee97fc4 Compare December 11, 2025 12:18
@kathap kathap marked this pull request as ready for review December 11, 2025 12:25
@kathap kathap requested a review from aramprice December 16, 2025 16:35
Copy link
Contributor

@serdarozerr serdarozerr left a comment

Choose a reason for hiding this comment

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

Looks good, added one minor comment

@kathap kathap force-pushed the add-missing-functions-to-alioss branch from ee2ea21 to 8d04198 Compare December 18, 2025 13:55
Copy link
Contributor

@serdarozerr serdarozerr left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation bot moved this from Pending Review | Discussion to Pending Merge | Prioritized in Foundational Infrastructure Working Group Dec 18, 2025
@kathap kathap merged commit 24d081e into main Dec 18, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Dec 18, 2025
@moleske moleske deleted the add-missing-functions-to-alioss branch December 18, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants