Skip to content

Feat 10008 webui performance treeverse#10260

Draft
UdiBen wants to merge 6 commits into
masterfrom
feat-10008-webui-performance-treeverse
Draft

Feat 10008 webui performance treeverse#10260
UdiBen wants to merge 6 commits into
masterfrom
feat-10008-webui-performance-treeverse

Conversation

@UdiBen
Copy link
Copy Markdown
Contributor

@UdiBen UdiBen commented Mar 12, 2026

No description provided.

@github-actions github-actions Bot added the area/UI Improvements or additions to UI label Mar 12, 2026
@UdiBen UdiBen added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached mostly-human labels Mar 12, 2026
…itted deletes

When displaying objects on a branch, use the committed-only ref (branch@)
instead of the full branch ref to list objects. This avoids scanning the
staging area twice - once for objects.list and once for refs.changes.

For branches with many uncommitted deletes, this significantly improves
page load performance.

The '@' modifier tells lakeFS to only return committed data, skipping
the staging area scan entirely.

Fixes #10008
…listing

When using committed-only ref (branch@) for objects.list to improve
performance, uncommitted added files are not returned by the API.
This fix updates mergeResults to also include 'added' type changes
in the missingItems filter, ensuring newly uploaded files are shown
in the objects list.

Fixes the issue reported by @UdiBen: uncommitted additions no longer
appear in the objects list when using branch@ for performance.
@UdiBen UdiBen force-pushed the feat-10008-webui-performance-treeverse branch from 958171f to 2109d86 Compare March 19, 2026 20:00
@github-actions github-actions Bot added the area/testing Improvements or additions to tests label Mar 19, 2026
When results from committed-only listing (branch@) are empty, the
mergeResults filter `lastResultPath && ...` dropped all changes since
lastResultPath was undefined. This prevented uploaded files from
appearing in fresh repos with no commits.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

minor
@UdiBen UdiBen force-pushed the feat-10008-webui-performance-treeverse branch from c605109 to 92d1902 Compare March 19, 2026 20:44
UdiBen and others added 3 commits March 20, 2026 00:49
When uploaded files sort lexicographically after all committed objects
(e.g. test-upload.txt > lakes.parquet), the lastResultPath filter in
mergeResults dropped them. Now the filter is only applied when there
are more pages (hasMore), so on the last page all changes are shown.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removed entries exist in committed data (branch@) and appear on some
page of the objects list, so the lastResultPath filter correctly
prevents duplicating them. Added entries never appear in committed
results, so they need the hasMore bypass to show on the last page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the docs Improvements or additions to documentation label Mar 23, 2026
@github-actions
Copy link
Copy Markdown

📚 Documentation preview at https://pr-10260.docs-lakefs-preview.io/

@UdiBen UdiBen force-pushed the feat-10008-webui-performance-treeverse branch from 184c82b to 2c11a9f Compare March 23, 2026 10:46
@github-actions github-actions Bot removed the docs Improvements or additions to documentation label Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing Improvements or additions to tests area/UI Improvements or additions to UI exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached mostly-human

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants