aglinxinyuan opened a new pull request, #9450:
URL: https://github.com/apache/texera/pull/9450
### What changes were proposed in this PR?
Share the database lifecycle and seed data for the workflow access resource
and authorization specs. The resource spec also reuses its scoped access-row
query and grant setup. The diff removes 191 net test lines.
### Any related issues, documentation, discussions?
Closes #9449.
### How was this PR tested?
All 24 original cases passed on main and this commit, with identical names
and order within each suite. A separate PostgreSQL trace matched all 498 SQL,
bind and lifecycle events after normalizing timestamp values. Downgrading the
seeded WRITE grantee to READ caused nine existing tests to fail across both
suites.
```bash
sbt "Auth/testOnly org.apache.texera.auth.util.WorkflowAccessSpec" \
"WorkflowExecutionService/testOnly
org.apache.texera.web.resource.dashboard.user.workflow.WorkflowAccessResourceSpec"
sbt "DAO/Test/scalafmtCheck" "DAO/Test/scalafix --check" \
"Auth/Test/scalafmtCheck" "Auth/Test/scalafix --check" \
"WorkflowExecutionService/Test/scalafmtCheck"
"WorkflowExecutionService/Test/scalafix --check"
```
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex (GPT-6)
--
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]