aglinxinyuan opened a new issue, #8041: URL: https://github.com/apache/texera/issues/8041
### Task Summary `core/runnables/main_loop.py` is the Python worker's central run loop and has 26 of its 285 statements uncovered — the largest gap of any file in pyamber. `test_main_loop.py` has 34 tests, and the paths they miss are not incidental: - **The console-message RPC path** (838–850) — how a UDF's `print` output and errors reach the coordinator — is entirely unreached. - **The end-channel completion logic** (658–725) never runs with a second input port still open, nor with no output ports at all, so the conditions under which the worker holds itself open versus completes are unpinned. - **The per-element exception backstop** (813–814) is never entered. - **The ECM/state-frame and loop-counter forwarding paths** (176–177, 397–400, 706–719) are partially covered at best. Eleven further lines are *branch-partial* — line-hit with exactly one arm untaken. Today's CI runs `coverage.py` without `--cov-branch`, so those score as fully covered and the gap is invisible; #8039 covers enabling branch measurement. ### Task Type - [x] Testing / QA ### Was this issue authored using generative AI tooling? Generated-by: Claude Code (Opus 5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
