fix(bindings/nodejs): Align versioned list startAfter test#7579
Merged
Xuanwo merged 1 commit intoMay 21, 2026
Merged
Conversation
Change-Id: I4e4642441cc648e88b56bfd1b5110187fde22ad4
Xuanwo
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
N/A. This fixes a CI-only behavior test regression after TOS versioning support was enabled.
https://github.com/apache/opendal/actions/runs/26219601739/job/77150890707
Rationale for this change
The Node.js binding
list with versions and start aftertest was comparingEntry[]directly with path strings. It also expected one result per object, butversions: truereturns one entry per object version.This was exposed by the TOS behavior job because TOS now enables both
list_with_versionsandlist_with_start_afterwithout overriding versioning in CI.What changes are included in this PR?
entry.path()before comparing.Are there any user-facing changes?
No. This only fixes Node.js binding behavior test expectations.
AI Usage Statement
Used OpenAI Codex to investigate the CI failure and prepare this patch.
Validation:
OPENDAL_TEST=tos cargo test --test behavior --features services-tos,tests behavior::test_list_with_versions_and_start_after -- --test-threads=1 --show-outputOPENDAL_TEST=tos pnpm test -- tests/service.test.mjs -t "list with versions and start after" --testTimeout=600000 --hookTimeout=600000pnpm exec prettier --check tests/suites/asyncListOptions.suite.mjs tests/suites/syncListOptions.suite.mjs