You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/22 19:52:38 UTC
[GH] (texera/gh-readonly-queue/main/pr-6758-a9f384eab44c8e1595792e02b32c2c1bfc16e77e): Workflow run "Required Checks" is working again!
The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6758-a9f384eab44c8e1595792e02b32c2c1bfc16e77e has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run:
fa8547a850469e43eb114cfe4c87cee0aac8d435 / Meng Wang <me...@uci.edu>
test(frontend): cover DatasetDetailComponent upload-status, version-node selection, and trackByTask (#6758)
### What changes were proposed in this PR?
Extends the existing `DatasetDetailComponent` spec to cover a few
untested
methods
(`frontend/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/dataset-detail.component.ts`).
> Note: most of the methods the issue lists are already covered by the
existing
> spec. `removeFromPendingQueue` / `refreshPendingChanges` are `private`
and are
> exercised indirectly through the upload/handler flows, so this PR
focuses on
> the remaining public gaps.
3 tests cover:
- `getUploadStatus` — maps the multipart upload status to a progress
state (`active` / `exception` / `success`).
- `onVersionFileTreeNodeSelected` — loads the selected node's content.
- `trackByTask` — returns the task's file path.
No production code was changed.
### Any related issues, documentation, discussions?
Closes #6747
### How was this PR tested?
Extended unit tests, run locally in `frontend/` (all green; the failure
path was
verified by breaking an assertion to confirm the suite goes red):
```
ng test --watch=false --include src/app/dashboard/component/user/user-dataset/user-dataset-explorer/dataset-detail.component.spec.ts
# Test Files 1 passed (1) | Tests 63 passed (63)
prettier --write <spec> # clean
eslint <spec> # clean
```
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])
Co-authored-by: Xinyuan Lin <xi...@uci.edu>
Report URL: https://github.com/apache/texera/actions/runs/29951612558
With regards,
GitHub Actions via GitBox