The GitHub Actions job "Required Checks" on texera.git/release/v1.2 has succeeded. Run started by GitHub user xuang7 (triggered by xuang7).
Head commit for run: f7c67e8744a558d0726c9d2c9f9ac8cd7427cd25 / Kunwoo (Chris) <[email protected]> fix(frontend, v1.2): speed up dataset bulk upload with many files (#6313) ### What changes were proposed in this PR? Backport of #6306 to `release/v1.2` (cherry-pick of the four PR commits `3fd0068`, `b47c5a6`, `ade89a2`, `8e28e13`; one conflict in `frontend/src/jsdom-svg-polyfill.ts` — this branch carries an older revision of that file — resolved by re-adding the `ResizeObserver` stub in the branch's style). This fixes bulk uploads of many files to a dataset being extremely slow (~1,100 files took ~12 minutes) because the Pending and Finished lists fully re-rendered on every change-detection pass on the same thread driving the uploads. The backport carries the complete fix from #6306: a Map-backed pending queue with a memoized `queuedFileNames` snapshot, `cdk-virtual-scroll` + `trackBy` on the Pending and staged-changes lists, an `auditTime`-coalesced staged-objects refetch (at most one dataset-diff request per second instead of one per finished file) with optimistic Finished-count updates so both headers move in real time, viewport re-measure on collapse-panel expand, and two upload-slot-leak fixes (`totalTime === 0` finishes and same-name re-uploads within the 5s hide window). See #6306 for the review discussion and a screen recording of a 1,100-file upload. ### Any related issues, documentation, discussions? Backport of #6306, which fixes #5586 on `main`. ### How was this PR tested? The two component spec files shipped with the fix were run on this branch (`ng test --include '**/user-dataset-explorer/dataset-detail.component.spec.ts' --include '**/user-dataset-staged-objects-list.component.spec.ts'`): 26/26 passed. `yarn format:ci` passes. On #6306, Codecov reports all modified lines covered. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code, Claude Fable 5 Report URL: https://github.com/apache/texera/actions/runs/29075986744 With regards, GitHub Actions via GitBox
