Skip to content

Comments

refactor: Split service b2 out of core#6982

Merged
Xuanwo merged 1 commit intoapache:mainfrom
tao12345666333:vibe-b2
Dec 16, 2025
Merged

refactor: Split service b2 out of core#6982
Xuanwo merged 1 commit intoapache:mainfrom
tao12345666333:vibe-b2

Conversation

@tao12345666333
Copy link
Member

@tao12345666333 tao12345666333 commented Dec 11, 2025

Which issue does this PR close?

Closes #6882

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

AI Usage Statement

This patch series was prepared with assistance from Claude Code and Minimax M2 to draft refactors and scaffolding; all changes were reviewed and adjusted manually before submission.

image

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Dec 11, 2025
@Xuanwo
Copy link
Member

Xuanwo commented Dec 12, 2025

Hi, please fill the AI Usage Statement

tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
The 2.8.0 version has a bug with the  cfg condition that causes
clippy to fail with 'unexpected cfg condition name' errors. Upgrading to 2.11.1
resolves this issue.

This fix resolves CI failures in PR apache#6982.
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
1. benches/types/buffer.rs: Replace loop with while let for better readability
   - Lines 103-105: Changed loop { let Some(_) = buffer.next() else { break } }
     to while let Some(_) = buffer.next() {}
   - Lines 113-115: Same change for consistency

2. core/src/services/mod.rs: Fix code formatting
   - Remove extra blank line between alluxio and cacache blocks
   - Ensures consistent formatting across all service modules
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Other changes LGTM

@tao12345666333
Copy link
Member Author

Updated the AI usage statement in the PR description with the tools used and manual review notes. Thanks for the reminder!

tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
The 2.8.0 version has a bug with the  cfg condition that causes
clippy to fail with 'unexpected cfg condition name' errors. Upgrading to 2.11.1
resolves this issue.

This fix resolves CI failures in PR apache#6982.
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
1. benches/types/buffer.rs: Replace loop with while let for better readability
   - Lines 103-105: Changed loop { let Some(_) = buffer.next() else { break } }
     to while let Some(_) = buffer.next() {}
   - Lines 113-115: Same change for consistency

2. core/src/services/mod.rs: Fix code formatting
   - Remove extra blank line between alluxio and cacache blocks
   - Ensures consistent formatting across all service modules
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
The 2.8.0 version has a bug with the  cfg condition that causes
clippy to fail with 'unexpected cfg condition name' errors. Upgrading to 2.11.1
resolves this issue.

This fix resolves CI failures in PR apache#6982.
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
1. benches/types/buffer.rs: Replace loop with while let for better readability
   - Lines 103-105: Changed loop { let Some(_) = buffer.next() else { break } }
     to while let Some(_) = buffer.next() {}
   - Lines 113-115: Same change for consistency

2. core/src/services/mod.rs: Fix code formatting
   - Remove extra blank line between alluxio and cacache blocks
   - Ensures consistent formatting across all service modules
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
The 2.8.0 version has a bug with the  cfg condition that causes
clippy to fail with 'unexpected cfg condition name' errors. Upgrading to 2.11.1
resolves this issue.

This fix resolves CI failures in PR apache#6982.
tao12345666333 added a commit to tao12345666333/incubator-opendal that referenced this pull request Dec 12, 2025
1. benches/types/buffer.rs: Replace loop with while let for better readability
   - Lines 103-105: Changed loop { let Some(_) = buffer.next() else { break } }
     to while let Some(_) = buffer.next() {}
   - Lines 113-115: Same change for consistency

2. core/src/services/mod.rs: Fix code formatting
   - Remove extra blank line between alluxio and cacache blocks
   - Ensures consistent formatting across all service modules
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Dec 13, 2025
@Xuanwo
Copy link
Member

Xuanwo commented Dec 14, 2025

It seems better for Minimax M2 to restart this work 😆

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Dec 15, 2025
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 16, 2025
@Xuanwo Xuanwo merged commit 03e72a5 into apache:main Dec 16, 2025
333 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core split] Service: b2

2 participants