Skip to content

feat(replication): gate console controls by capabilities - #193

Merged
cxymds merged 1 commit into
mainfrom
cxymds/issue-1614-replication-capabilities
Aug 2, 2026
Merged

feat(replication): gate console controls by capabilities#193
cxymds merged 1 commit into
mainfrom
cxymds/issue-1614-replication-capabilities

Conversation

@cxymds

@cxymds cxymds commented Aug 2, 2026

Copy link
Copy Markdown
Member

Description

Consume the RustFS runtime capability contract in the console replication workflow so the UI only enables fields and actions supported by the connected server. Unknown or incompatible capability contracts fail closed, and remote target creation preserves an existing target ARN without sending unsupported server-managed fields.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test improvements
  • Security fix

Testing

  • Unit tests added/updated
  • Manual testing completed
pnpm test:run
pnpm type-check
pnpm lint
pnpm format:check

Checklist

  • Code follows the project's style guidelines
  • Self-review completed
  • TypeScript types are properly defined
  • All commit messages are in English (Conventional Commits)
  • All existing tests pass
  • No new dependencies added, or they are justified

Related Issues

Related to rustfs/backlog#1614

Screenshots (if applicable)

N/A

Additional Notes

The UI requests /rustfs/admin/v4/runtime/capabilities with 403 redirect suppression and disables replication controls until the capability contract is loaded and verified.

@cxymds
cxymds merged commit 0d965dc into main Aug 2, 2026
10 checks passed
@cxymds
cxymds deleted the cxymds/issue-1614-replication-capabilities branch August 2, 2026 14:18
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