Repository navigation
chore: remove obsolete media timeout test - #129167
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 25, 2026 08:34
Contributor
Author
|
Land-ready proof for head
No production code changed. The retained remote-source contract test still asserts both 30-second deadlines and the complete |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 26, 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.
What Problem This Solves
The media-store timeout suite no longer exercised timeout behavior. Refactor #117771 replaced its former socket-based tests with a mock-only assertion that is fully duplicated by the stronger remote-source contract test in
store.redirect.test.ts, leaving a misleading standalone file and redundant setup.Why This Change Was Made
Delete the obsolete timeout test file. The retained public-owner test still asserts the complete
saveMediaSourcedelegation contract, including both 30-second deadlines, request parameters, and the resultingSavedMediashape. Real redirect, cancellation, suffix, and subdirectory behavior remains covered in that suite.This PR is AI-assisted and was produced from a maintainer-requested test audit.
User Impact
No user-visible behavior changes. Maintainers get a smaller suite whose test names match the behavior actually exercised.
Evidence
node scripts/run-vitest.mjs src/media/store.redirect.test.ts— 7 tests passed before and after rebasing onto currentorigin/main.node scripts/check-changed.mjs -- src/media/store.download-timeout.test.ts— required changed-file gates passed, including core-test typecheck and lint.git diff --check origin/main...HEAD— passed..agents/skills/autoreview/scripts/autoreview --mode uncommitted ...— clean, no accepted/actionable findings; patch correctness 0.99.Production LOC: +0/-0 | Tests: +0/-50