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

Head commit for run:
75606f1f28426b79487bde4dcd3296cef60141dc / Yicong Huang 
<[email protected]>
test(amber): trim LoopIntegrationSpec nested cases to 2x2 and tighten the run 
deadline (#7053)

### What changes were proposed in this PR?

`LoopIntegrationSpec` is the most expensive suite in the
`amber-integration` CI job. Two changes, both spec-only (no engine
change):

| Change | Before | After |
| --- | --- | --- |
| Nested-loop input rows (iteration counts are data-driven via `i <
len(table)`) | 3 rows → 3 outer x 3 inner | 2 rows → 2 outer x 2 inner |
| Per-workflow completion deadline | 3 minutes | 90 seconds |

Every loop iteration re-executes its region and respawns every worker in
it (~2s per Python worker), so the two nested cases dominate the suite's
cost; 2x2 halves their iterations while keeping the coverage that
matters — nesting depth drives the `loop_counter`/`loop_start_id`
envelope, and each loop level still takes its back-edge at least twice
across the run. The single-loop cases keep the 3-row input so one loop
takes the same back-edge twice consecutively.

The deadline matters on macOS: the suite intermittently hangs mid-run
there (observed in 3 of 4 attempts across two 2026-07-29 runs, e.g.
[this failed
job](https://github.com/apache/texera/actions/runs/30479437487/job/90673007976)),
burning the whole deadline before `withRetry` re-runs the test. 90s is
~2.5x the slowest healthy case on the 3-core macOS runner, so a hang now
costs ~1.5 min less per occurrence. Root-causing the hang itself is
tracked in #7056.

### Any related issues, documentation, discussions?

Closes #7052. Suite added in #5700; the macOS hang is tracked in #7056.

### How was this PR tested?

- Existing `LoopIntegrationSpec` assertions, updated for the 2x2 counts
(outer 9→4, inner 3→2), pass in this PR's `amber-integration` CI job on
both ubuntu and macOS.
- `sbt WorkflowExecutionService/scalafmtCheckAll` passes locally.

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

Generated-by: Claude Code (Claude Fable 5)

Co-authored-by: Claude Fable 5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to