Skip to content

fix(files): skip listing children beyond the requested folder tree depth - #66097

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65904-folder-tree-listing
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65904-folder-tree-listing

Conversation

@lazerg

@lazerg lazerg commented Oct 31, 2026

Copy link
Copy Markdown

The folder tree endpoint listed the children of every subfolder at the last requested depth and then threw the result away, so a folder with thousands of subfolders did thousands of extra directory listings. It now only lists the next level when it will actually be traversed; the response is unchanged.

Fixes #65904

AI disclosure: this change was prepared with AI assistance (Claude, claude-opus-5-5).

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested a review from a team as a code owner October 31, 2026 08:04
@lazerg
lazerg requested review from GhassenKefi, provokateurin and salmart-dev and removed request for a team October 31, 2026 08:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant