The GitHub Actions job "Required Checks" on 
texera.git/fix/iceberg-write-fatal-fallback has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
97eb43d5d0a6d0a2a931c67b0e7f14d6369ede0c / Yicong Huang 
<[email protected]>
test(amber): cover writer-thread failure capture and re-throw

Add OutputPortResultWriterThreadSpec with 4 tests:

- OutputPortResultWriterThread leaves getFailure empty on a clean run.
- OutputPortResultWriterThread captures a close() exception in
  getFailure so the worker can re-throw it.
- OutputManager.closeOutputStorageWriterIfNeeded re-throws the writer
  thread's captured failure (this is the bridge from the writer
  thread to the DP thread → worker actor → controller supervisor →
  FatalError to client).
- OutputManager.closeOutputStorageWriterIfNeeded is a no-op when the
  port has no writer thread.

Together these pin every link of the fatal-error chain that this PR
introduces. The OutputManager test reaches into the private
outputPortResultWriterThreads map by reflection rather than going
through addPort, which would require a real iceberg URI; the test
file otherwise only depends on a 4-method stub BufferedItemWriter.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to