eugenegujing opened a new issue, #6400: URL: https://github.com/apache/texera/issues/6400
### Task Summary `frontend/src/app/dashboard/type/type-predicates.ts` exports the five type-guard functions (`isDashboardWorkflow`, `isDashboardProject`, `isDashboardFile`, `isDashboardDataset`, `isDashboardWorkflowComputingUnit`) that `DashboardEntry` uses to classify every dashboard and search-result item by structural checks — for example `isDashboardProject` requires a string `name` and the absence of a `workflow` field, so a misclassification would break how the dashboard renders an entry. The file has no test coverage: no spec imports it or references any of the five functions, its only production consumer is `dashboard-entry.ts` (itself without a dedicated spec), and the only spec-side contact is `user-workflow.component.spec.ts` constructing workflow-entry fixtures, which incidentally runs `isDashboardWorkflow` on its happy path without asserting anything about classification — the other four predicates and every negative/exclusion branch never execute anywhere in the test tree. ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [x] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
