The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-5890-1073b22f8f69d0e44b643047b856efc5f758d665 has failed. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: 13132a0ba6de90adfbdc18f109221063eb0b11ef / roshiiiiz <[email protected]> feat(frontend): add sort by execution time with nulls last (#5890) ### What changes were proposed in this PR? This PR adds the ability to sort workflows by "Execution Time" on the main Dashboard, and ensures that workflows which have never been executed (where execution time is `null`) are pushed to the bottom of the list rather than awkwardly floating at the top. Changes made: - Added "Execution time" as an option in the frontend sort dropdown menu (`sort-method.ts`, `sort-button.component`). - Updated `UnifiedResourceSchema.scala` in the backend to include `resourceExecutionTimeField`. - Updated `DashboardResource.scala` and `WorkflowSearchQueryBuilder.scala` to handle the new sort condition, specifically appending `.nullsLast()` so that un-executed workflows drop to the bottom of the list. ### Any related issues, documentation, discussions? Closes #3406 ### How was this PR tested? Tested manually in a local development environment: 1. Booted the local dashboard and backend via `sbt`. 2. Created a new, unexecuted "Untitled Workflow". 3. Navigated to the Dashboard and sorted by "Execution Time". 4. Verified that the unexecuted workflow correctly fell to the bottom of the list instead of appearing at the top. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity (DeepMind) <img width="1918" height="944" alt="pull 5890" src="https://github.com/user-attachments/assets/defca5ec-1bd0-4810-ae62-ada3a016821b" /> --------- Co-authored-by: Xuan Gu <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/28467470403 With regards, GitHub Actions via GitBox
