Skip to content

@tus/utils: include nested uploads in FileKvStore listing - #894

Merged
Murderlon merged 1 commit into
mainfrom
devin/1792419548-nested-filekvstore-list
Oct 23, 2026
Merged

Murderlon merged 1 commit into
mainfrom
devin/1792419548-nested-filekvstore-list

Conversation

@Murderlon

@Murderlon Murderlon commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fix FileKvStore.list() to return nested upload IDs such as users/alice/upload, so FileStore.deleteExpired() can find them. Built on merged #892, retaining exact same-directory file/metadata pairing and sorted IDs. Recursive enumeration excludes directories and symlinks.

Adds regression coverage for nested paths, cross-directory pairing, symlink traversal, and expiration cleanup. Includes a patch changeset noting that cleanup now removes existing nested uploads that meet the expiration rules; no API or storage-format change.

Validation: build, formatting, and lint pass locally. Tests run in CI per repository guidance.

Link to Devin session: https://app.devin.ai/sessions/db3a7751409a4b669c7b2e955c0c0ec5
Open in Devin Desktop: https://app.devin.ai/desktop/session/db3a7751409a4b669c7b2e955c0c0ec5?variant=devin
Requested by: @Murderlon


Devin Review

@devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@changeset-bot

changeset-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 42855e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tus/utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review

Comment thread packages/utils/src/kvstores/FileKvStore.ts
@Murderlon
Murderlon added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit 73bd7f0 Oct 23, 2026
5 checks passed
@Murderlon
Murderlon deleted the devin/1792419548-nested-filekvstore-list branch October 23, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant