Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BA-515): Let the vfolder REST API accept vfolder UUIDs as intended #3451

Merged
merged 22 commits into from
Jan 17, 2025

Conversation

achimnol
Copy link
Member

@achimnol achimnol commented Jan 14, 2025

resolves #3450 (BA-515)

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue
  • Test case(s) to:
    • Demonstrate the difference of before/after
    • Demonstrate the flow of abstract/conceptual models with a concrete implementation

📚 Documentation preview 📚: https://sorna--3451.org.readthedocs.build/en/3451/


📚 Documentation preview 📚: https://sorna-ko--3451.org.readthedocs.build/ko/3451/

@achimnol achimnol added this to the 24.09 milestone Jan 14, 2025
@achimnol achimnol added the comp:manager Related to Manager component label Jan 14, 2025
@achimnol achimnol self-assigned this Jan 14, 2025
@github-actions github-actions bot added the size:S 10~30 LoC label Jan 14, 2025
achimnol and others added 2 commits January 14, 2025 17:56
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added area:docs Documentations size:L 100~500 LoC and removed size:S 10~30 LoC labels Jan 14, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:S 10~30 LoC and removed size:L 100~500 LoC labels Jan 14, 2025
@github-actions github-actions bot added size:M 30~100 LoC and removed size:S 10~30 LoC labels Jan 14, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:L 100~500 LoC and removed size:M 30~100 LoC labels Jan 14, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:M 30~100 LoC and removed size:L 100~500 LoC labels Jan 14, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:L 100~500 LoC and removed size:M 30~100 LoC labels Jan 14, 2025
Copy link
Collaborator

@HyeockJinKim HyeockJinKim 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-actions github-actions bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels Jan 15, 2025
@github-actions github-actions bot added size:L 100~500 LoC and removed size:XL 500~ LoC labels Jan 15, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels Jan 15, 2025
Co-authored-by: octodog <mu001@lablup.com>
@github-actions github-actions bot added size:L 100~500 LoC and removed size:XL 500~ LoC labels Jan 15, 2025
@github-actions github-actions bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels Jan 16, 2025
fregataa and others added 5 commits January 16, 2025 13:41
Co-authored-by: octodog <mu001@lablup.com>
… doc (#3460)

Co-authored-by: octodog <mu001@lablup.com>
Co-authored-by: Sanghun Lee <sanghun@lablup.com>
Co-authored-by: octodog <mu001@lablup.com>
@HyeockJinKim HyeockJinKim added this pull request to the merge queue Jan 17, 2025
Merged via the queue into main with commit 482da3b Jan 17, 2025
23 checks passed
@HyeockJinKim HyeockJinKim deleted the fix/improve-id-based-vfolder-api-support branch January 17, 2025 05:30
lablup-octodog added a commit that referenced this pull request Jan 17, 2025
#3451)

Co-authored-by: octodog <mu001@lablup.com>
Co-authored-by: Sanghun Lee <sanghun@lablup.com>
Co-authored-by: Sion Kang <siontama@gmail.com>
Backported-from: main (24.12)
Backported-to: 24.09
Backport-of: 3451
github-merge-queue bot pushed a commit that referenced this pull request Jan 17, 2025
#3451) (#3484)

Co-authored-by: Joongi Kim <joongi@lablup.com>
Co-authored-by: Sanghun Lee <sanghun@lablup.com>
Co-authored-by: Sion Kang <siontama@gmail.com>
agatha197 added a commit to lablup/backend.ai-webui that referenced this pull request Jan 17, 2025
resolves #3039 (FR-372)
related PR: lablup/backend.ai#3451

Adds support for vfolder ID-based operations in the backend client and updates related components to handle both name-based and ID-based folder operations. This change enables more reliable folder management by using unique IDs instead of potentially ambiguous folder names.

**Changes:**
- Introduces `vfolder-id-based` feature flag for manager versions 25.1.0, 24.09.5, and 24.03.11
- Updates folder operations (clone, rename, share, info) to use folder IDs when supported
- Modifies file operations within folders to use the appropriate identifier
- Updates UI components to handle both ID and name-based operations seamlessly

**How to check:**
1. checkout core branch. refer: lablup/backend.ai#3451
2. check [BA-518](https://lablup.atlassian.net/browse/BA-518) in webui part.
3. modify manager compatible versions in esm file for testing

**Checklist:**
- [ ] Documentation
- [x] Minimum required manager version: 24.03.12, 24.09.6, or 25.1.0
- [ ] Test case(s) to demonstrate the difference of before/after

[BA-518]: https://lablup.atlassian.net/browse/BA-518?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:docs Documentations comp:manager Related to Manager component size:XL 500~ LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing UUID conversion when accepting vfolder "name or ID" in the vfolder REST APIs
4 participants