Skip to content

feat(ui): add Alibaba Cloud OSS storage support#242

Open
yoogoc wants to merge 1 commit into
lakekeeper:mainfrom
yoogoc:add-aliyun-oss-support
Open

feat(ui): add Alibaba Cloud OSS storage support#242
yoogoc wants to merge 1 commit into
lakekeeper:mainfrom
yoogoc:add-aliyun-oss-support

Conversation

@yoogoc

@yoogoc yoogoc commented Jul 14, 2026

Copy link
Copy Markdown

lakekeeper/lakekeeper#1893

Summary by CodeRabbit

  • New Features
    • Added Alibaba Cloud OSS (Aliyun OSS) as a supported warehouse storage option.
    • Added an Aliyun OSS credential tab in the warehouse add dialog, including access key, secret, region, and STS settings.
    • Added support for loading and saving Aliyun OSS warehouse configurations.
    • Updated API documentation to support Aliyun OSS temporary credentials via Alibaba Cloud STS.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f274ddc0-b31e-432a-b227-a5ea4b80fad5

📥 Commits

Reviewing files that changed from the base of the PR and between 2727ff5 and a2473a8.

⛔ Files ignored due to path filters (13)
  • package-lock.json is excluded by !**/package-lock.json
  • src/assets/aliyun.svg is excluded by !**/*.svg
  • src/gen/management/client.gen.ts is excluded by !**/gen/**
  • src/gen/management/client/index.ts is excluded by !**/gen/**
  • src/gen/management/client/utils.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/auth.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/params.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/pathSerializer.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/queryKeySerializer.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/types.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/utils.gen.ts is excluded by !**/gen/**
  • src/gen/management/sdk.gen.ts is excluded by !**/gen/**
  • src/gen/management/types.gen.ts is excluded by !**/gen/**
📒 Files selected for processing (3)
  • openapi/management-open-api.yaml
  • src/components/WarehouseAddDialog.vue
  • src/components/WarehouseStorageS3.vue
🚧 Files skipped from review as they are similar to previous changes (3)
  • openapi/management-open-api.yaml
  • src/components/WarehouseAddDialog.vue
  • src/components/WarehouseStorageS3.vue

Walkthrough

Adds Alibaba Cloud OSS as an S3-compatible warehouse credential type across the OpenAPI schema and warehouse UI, including tab selection, initialization, access-key validation, STS defaults, and credential serialization.

Changes

Alibaba OSS credential support

Layer / File(s) Summary
Alibaba OSS API contract
openapi/management-open-api.yaml
Defines the aliyun-oss credential variant and adds it to the credential-type enum.
Warehouse dialog integration
src/components/WarehouseAddDialog.vue
Adds the Aliyun OSS tab, storage object, icon, rendering, and existing/imported warehouse initialization.
Credential validation and serialization
src/components/WarehouseStorageS3.vue
Supports aliyun-oss in the S3 variant type, access-key validation, region requirements, submit guards, STS defaults, and serialized credentials.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant WarehouseAddDialog
  participant WarehouseStorageS3
  participant warehouseObjectAliyun
  WarehouseAddDialog->>WarehouseStorageS3: Render aliyun-oss credential form
  WarehouseStorageS3->>warehouseObjectAliyun: Apply S3-compatible STS defaults
  WarehouseAddDialog->>warehouseObjectAliyun: Load imported or existing warehouse data
  WarehouseStorageS3->>WarehouseAddDialog: Serialize validated aliyun-oss credentials
Loading

Possibly related PRs

Poem

I’m a rabbit with OSS in my ear,
STS credentials now hop without fear.
A new tab blooms, keys tuck in tight,
Aliyun joins the warehouse flight.
Hop hop—ship it right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding Alibaba Cloud OSS storage support in the UI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/components/WarehouseAddDialog.vue`:
- Around line 648-650: Update the Aliyun OSS submission validation in
WarehouseStorageS3.vue so the s3-compat exemption does not bypass ARN validation
when STS is enabled. Require either assume-role-arn or sts-role-arn for Aliyun
OSS, while preserving the existing validation behavior for other storage
flavors.

In `@src/components/WarehouseStorageS3.vue`:
- Line 711: The submit-button disabled conditions do not consistently enforce
missing-region validation for Aliyun OSS. In
src/components/WarehouseStorageS3.vue at lines 711-711, 734-734, and 768-768,
replace each hardcoded AWS flavor/region check with the existing isRegionInvalid
computed property for the Create, Create split-button, and Update Profile
buttons.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 37b82490-f71f-44f2-84a0-b67881e630f8

📥 Commits

Reviewing files that changed from the base of the PR and between 494e812 and 2727ff5.

⛔ Files ignored due to path filters (13)
  • package-lock.json is excluded by !**/package-lock.json
  • src/assets/aliyun.svg is excluded by !**/*.svg
  • src/gen/management/client.gen.ts is excluded by !**/gen/**
  • src/gen/management/client/index.ts is excluded by !**/gen/**
  • src/gen/management/client/utils.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/auth.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/params.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/pathSerializer.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/queryKeySerializer.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/types.gen.ts is excluded by !**/gen/**
  • src/gen/management/core/utils.gen.ts is excluded by !**/gen/**
  • src/gen/management/sdk.gen.ts is excluded by !**/gen/**
  • src/gen/management/types.gen.ts is excluded by !**/gen/**
📒 Files selected for processing (3)
  • openapi/management-open-api.yaml
  • src/components/WarehouseAddDialog.vue
  • src/components/WarehouseStorageS3.vue

Comment thread src/components/WarehouseAddDialog.vue
Comment thread src/components/WarehouseStorageS3.vue
@yoogoc
yoogoc force-pushed the add-aliyun-oss-support branch from 2727ff5 to a2473a8 Compare July 15, 2026 02:44
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.

1 participant