The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-8155-48da91c6048f4365a514d1a180f6e51685dbf649 has succeeded. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: 2a21b6610c6e51a6bf956f4101571609e5e7d796 / carloea2 <[email protected]> feat(amber): reject missing hub entity type (#8155) ### What changes were proposed in this PR? Reject a missing hub entity type with a clear 400 response before table lookup. Before: missing entity type -> unhandled match error -> 500 After: missing entity type -> 400 with `Missing entityType` ### Any related issues, documentation, discussions? Closes #8154 ### How was this PR tested? Added a regression test for the missing value. Existing tests retain positive coverage for both workflow and dataset table dispatch. `sbt "WorkflowExecutionService / Test / testOnly org.apache.texera.web.resource.dashboard.hub.EntityTablesSpec"` `sbt scalafmtCheckAll` `sbt "scalafixAll --check"` Live local checks against the built branch: | Request | Before | After | | --- | --- | --- | | missing `entityType` | 500 | 400 | | invalid `entityType` | 404 | 404 | | `entityType=workflow` | 200 | 200 | | `entityType=dataset` | 200 | 200 | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex Report URL: https://github.com/apache/texera/actions/runs/33913512961 With regards, GitHub Actions via GitBox
