The GitHub Actions job "Required Checks" on 
texera.git/chore/flatten-pyamber-util-packages has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
25eda94a2303d988b0fddec617cf5aed131ed9b5 / Yicong Huang 
<[email protected]>
test(pyamber): cover PythonWorker construction, stop cascade, and run drain

The util-flatten rename touched `core/python_worker.py`'s import lines,
and codecov flagged them because the file had no test coverage at all.
Add a focused unit test that stubs `NetworkReceiver`, `NetworkSender`,
`MainLoop`, and `Heartbeat`, then exercises:

- construction wires the receiver's proxy port into the sender, and
  the receiver's shutdown callback is bound to `worker.stop`
- `stop()` cascades to main loop, sender, and heartbeat
- `run()` sets the heartbeat stop event after main loop returns

Brings `core/python_worker.py` to 100% line coverage.

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

With regards,
GitHub Actions via GitBox

Reply via email to