The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
cd5e257ba5f4cc9363a60cb5a99e82d0174fd9d6 / Xinyuan Lin <[email protected]>
test(service): remove unused spec mixins and test defaults (#9599)

### What changes were proposed in this PR?

Remove unused ScalaTest mixin traits and unused private test-helper
defaults across 7 test files in `access-control-service`,
`file-service`, and `workflow-compiling-service` without changing
production code or test assertions:

- **Unused `BeforeAndAfterEach` mixin (`access-control-service`,
`file-service`):** Remove the unused `BeforeAndAfterEach` trait and
import in `AccessControlResourceSpec`, `ModelApiForUiSpec`,
`ModelDownloadResourceSpec`, `ModelResourceSpec`, and
`ModelUploadResourceSpec`, which define no per-test hooks.
- **Unused `OptionValues` mixin (`file-service`):** Remove the unused
`OptionValues` trait and import in `ModelHubApiSpec`.
- **Unused defaults and dead helper (`workflow-compiling-service`):** In
test utility `ConfigGenerator`, remove 12 unused default parameter
values on private helper methods, the 3 unused field defaults on the
private `FillContext` case class (both of its constructor calls pass
every field), the scaladoc `FillContext` had copied from
`requiredUnder`, and the unreferenced private `noSiblings` helper.

### Any related issues, documentation, discussions?

Closes #9598.

### How was this PR tested?

Ran on `906cd73fd1` (JDK 17.0.14, `sbt 1.12.9`,
`STORAGE_ICEBERG_CATALOG_TYPE=hadoop`, Docker running for `FileService`
`MockLakeFS` specs):

```bash
sbt --batch \
  "AccessControlService/scalafmtCheckAll" \
  "FileService/scalafmtCheckAll" \
  "WorkflowCompilingService/scalafmtCheckAll" \
  "AccessControlService/scalafixAll --check" \
  "FileService/scalafixAll --check" \
  "WorkflowCompilingService/scalafixAll --check" \
  "AccessControlService/testOnly org.apache.texera.AccessControlResourceSpec" \
  "FileService/testOnly org.apache.texera.service.resource.ModelApiForUiSpec 
org.apache.texera.service.resource.ModelDownloadResourceSpec 
org.apache.texera.service.resource.ModelHubApiSpec 
org.apache.texera.service.resource.ModelResourceSpec 
org.apache.texera.service.resource.ModelUploadResourceSpec" \
  "WorkflowCompilingService/testOnly 
org.apache.texera.amber.translator.verify.ConfigGeneratorSpec 
org.apache.texera.amber.translator.verify.CanonicalFixtureSpec 
org.apache.texera.service.resource.WorkflowCompilationResourceSpec"
```

- `scalafmtCheckAll` and `scalafixAll --check` across
`AccessControlService`, `FileService`, and `WorkflowCompilingService`:
passed.
- `AccessControlService`: `1` suite, `44` passed (`0` failed, `0`
skipped).
- `FileService`: `5` suites, `117` passed (`0` failed, `0` skipped).
- `WorkflowCompilingService`: `3` suites, `52` passed (`0` failed, `0`
skipped).

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Antigravity (Gemini 4 Neon), Claude Code (Claude Opus 5.5)

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

With regards,
GitHub Actions via GitBox

Reply via email to