The GitHub Actions job "Backport Approval Check" on 
texera.git/gh-readonly-queue/main/pr-8260-af586679fcd5244c16037b1cc86d28db5d79e5f8
 has succeeded.
Run started by GitHub user kunwp1 (triggered by kunwp1).

Head commit for run:
4a9478c976b9496b614f2a0bfbfe2cb553566a65 / carloea2 <[email protected]>
feat(pyamber): stop writes after upload failure (#8260)

### What changes were proposed in this PR?

Use timed queue writes so the producer notices a background upload
failure. Stop waiting to queue the EOF marker once the upload worker
finishes.

The writer reuses the same failure check at entry and on queue retries.
The regression covers both `write()` and `close()` with a full queue.

### Any related issues, documentation, discussions?

Closes #8259

### How was this PR tested?

The writer hangs on main when the upload fails with a full queue.
Restoring the old `close()` also hits the new five-second timeout. From
`amber` after running `bash bin/python-proto-gen.sh` from the repo root:

```bash
python -m pytest -q -m 'not integration' src/test/python/pytexera/storage
python -m ruff check src/main/python src/test/python
python -m ruff format --check src/main/python src/test/python
```

81 tests passed on Windows. Ruff lint and formatting checks passed.

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

Generated-by: Codex

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

With regards,
GitHub Actions via GitBox

Reply via email to