Skip to content

Conversation

@PsiACE
Copy link
Member

@PsiACE PsiACE commented Jan 6, 2026

Which issue does this PR close?

Closes #7131.

Rationale for this change

Add RouteLayer per RFC 7130 and verify routing semantics with mixed Memory/FS backends to
ensure correct behavior for path-based dispatch and delete batching.

What changes are included in this PR?

  • Add the opendal-layer-route crate implementing RouteLayer with glob routing and per-
    route deleter batching.
  • Wire up feature flags and re-exports.
  • Add unit tests covering first-match, default fallback, copy/rename routing by from,
    and delete routing using Memory + FS.

Are there any user-facing changes?

Yes. A new optional layer (RouteLayer) is available under the layers-route feature.

AI Usage Statement

Built with OpenAI Codex (GPT-5).

@PsiACE PsiACE requested a review from Xuanwo as a code owner January 6, 2026 17:36
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Jan 6, 2026
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 for working on this!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 12, 2026
@Xuanwo Xuanwo merged commit a35f2de into main Jan 12, 2026
378 of 380 checks passed
@Xuanwo Xuanwo deleted the route-layer branch January 12, 2026 14:02
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/feat The PR implements a new feature or has a title that begins with "feat" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking issues of RFC-7130: Route Layer

2 participants