Skip to content

test: Add suffix read behavior tests#7739

Merged
Xuanwo merged 3 commits into
mainfrom
xuanwo/suffix-read-behavior-tests
Jun 12, 2026
Merged

test: Add suffix read behavior tests#7739
Xuanwo merged 3 commits into
mainfrom
xuanwo/suffix-read-behavior-tests

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Jun 11, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #.

Rationale for this change

Suffix read is now part of OpenDAL's read API surface. We need behavior coverage to verify services that advertise read_with_suffix return the expected tail bytes.

What changes are included in this PR?

This PR adds behavior tests for suffix reads across writable and read-only services. The tests cover normal suffix reads, suffix reads larger than the file, zero-length suffix reads, and suffix reads through reader_with(...).chunk(...).concurrent(...).

Are there any user-facing changes?

No. This only adds behavior test coverage.

AI Usage Statement

This PR was developed with OpenAI Codex.

@dentiny

dentiny commented Jun 11, 2026

Copy link
Copy Markdown
Member

FYI I create an issue here to track: #7737 :)

@Xuanwo Xuanwo marked this pull request as ready for review June 12, 2026 03:46
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 12, 2026
@Xuanwo Xuanwo changed the title Add suffix read behavior tests test: Add suffix read behavior tests Jun 12, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 12, 2026
@Xuanwo Xuanwo merged commit 15fd535 into main Jun 12, 2026
181 checks passed
@Xuanwo Xuanwo deleted the xuanwo/suffix-read-behavior-tests branch June 12, 2026 03:47
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 size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants