carloea2 opened a new pull request, #8153: URL: https://github.com/apache/texera/pull/8153
### What changes were proposed in this PR? Parse dashboard date filters strictly and return a clear 400 response for malformed or impossible calendar dates. Before: invalid date -> 500 or silently normalized date After: invalid date -> 400 with the invalid value ### Any related issues, documentation, discussions? Closes #8152 ### How was this PR tested? Added regression coverage for malformed and impossible dates while retaining valid, empty, and open-ended range coverage. `sbt "WorkflowExecutionService / Test / testOnly org.apache.texera.web.resource.dashboard.FulltextSearchQueryUtilsSpec"` `sbt scalafmtCheckAll` `sbt "scalafixAll --check"` Live local checks against the built branch: | Request | Before | After | | --- | --- | --- | | `createDateStart=bogus` | 500 | 400 | | `modifiedDateEnd=2026-99-99` | 200 | 400 | | `createDateStart=2026-01-01` | 200 | 200 | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex -- 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]
