Skip to content

fix: check link preconditions before creating the provider bucket - #611

Merged
St4NNi merged 4 commits into
mainfrom
fix/bucket-template-link
Nov 13, 2026
Merged

St4NNi merged 4 commits into
mainfrom
fix/bucket-template-link

Conversation

@St4NNi

@St4NNi St4NNi commented Nov 13, 2026

Copy link
Copy Markdown
Member

Linking an S3 bucket to an Aruna bucket created the provider bucket first and checked the request afterwards, so a refused link could leave a new, empty bucket at the provider. This happened when a link was sent to a node that does not hold the Aruna bucket.

  • A link now checks every precondition before it creates the provider bucket: the Aruna bucket exists in the group on this node, it is neither compressed nor encrypted, the group is not being deleted, the folder is free of conflicting routing rules, no move blocks it, and no other link overlaps the destination. The transaction repeats these checks for concurrent changes.
  • The storage routing docs state that a group's storage, its default for new buckets, the bucket template and bucket routing rules stay on the node that receives the request and apply to buckets on that node only.
  • Workspace version 3.0.0-alpha.197.

Related: arunaengine/website#124

@St4NNi
St4NNi force-pushed the fix/bucket-template-link branch from 066c799 to ea82ce7 Compare November 13, 2026 18:36
@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.85185% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.51%. Comparing base (ca1c768) to head (1ff4ba9).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
operations/src/groups/imports/create.rs 90.51% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #611      +/-   ##
==========================================
- Coverage   89.52%   89.51%   -0.01%     
==========================================
  Files        1689     1689              
  Lines      669975   670031      +56     
==========================================
+ Hits       599779   599794      +15     
- Misses      70196    70237      +41     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@St4NNi
St4NNi merged commit 350a6fb into main Nov 13, 2026
29 checks passed
@St4NNi
St4NNi deleted the fix/bucket-template-link branch November 13, 2026 19:43

This branch was successfully deployed

1 active deployment
coverage — 1ff4ba93 Deployed Nov 13, 2026 by St4NNi via Generate Coverage Report #1213
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