The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-9450-13aa747cb5ce57fd8f691640a869709172fc1492
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
cbecda473820b3b77f8e2a0fcb045a43d1fecfb7 / Xinyuan Lin <[email protected]>
test: share workflow access fixtures (#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)

Report URL: https://github.com/apache/texera/actions/runs/43718901296

With regards,
GitHub Actions via GitBox

Reply via email to