The GitHub Actions job "Required Checks" on texera.git/perf/scala-step-order 
has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
98c2da096b4518aa32c9f80747cebec516bc04f3 / github-actions[bot] 
<github-actions[bot]@users.noreply.github.com>
perf(ci): trim redundant scala compile and reorder for early lint failure

The scala job re-compiled the project twice every run: once during
'Build distributable bundles' (which prefixed its sbt command with
'clean') and again during 'Compile with sbt: sbt clean package',
whose package output nothing later in the job consumed. Drop the
second step entirely and remove the leading 'clean;' from the dist
step so the dist build can reuse the preceding compile.

While here, reorder so cheap lint runs first and dist reuses
scalafix's compile output:

  scalafmt -> scalafix -> create dbs -> dist (no clean) -> license
  checks -> install python deps -> create test db -> docker-java
  config -> backend tests

scalafix moves up so its compile feeds the dist step (incremental
instead of from-scratch). 'Install dependencies' (pip) moves down
so a lint or dist failure does not pay the install cost; only the
backend test step needs the python deps.

Closes #4637

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to