Yicong-Huang opened a new issue, #4509: URL: https://github.com/apache/texera/issues/4509
## Task Summary The Python-side runtime of the Udon UDF debugger has **zero unit-test coverage**: - `core/architecture/managers/debug_manager.py` — wraps `pdb.Pdb` with `SingleBlockingIO` pipes - `core/architecture/handlers/control/debug_command_handler.py` — RPC handler that translates frontend debug commands and forwards them to the debugger Peer managers in the same directory (`pause_manager`, `state_manager`, `executor_manager`) all have `test_*.py` files; debug_manager is the odd one out. The frontend covers the UI layer (`udf-debug.service.spec.ts`, `code-debugger.component.spec.ts`), but the actual pdb wiring on the worker side is untested. ## Proposed Action Add `test_debug_manager.py` and `test_debug_command_handler.py` next to the production files, following the existing pytest pattern used by `test_pause_manager.py` etc. Cover at minimum: - `DebugManager`: command put/has roundtrip, event has/get, blocking read returns flushed line, prompt is empty. - `WorkerDebugCommandHandler.translate_debug_command`: `b`/`break` prepends module name to lineno arg, other commands pass through, condition arg is preserved, whitespace is normalized. ## Priority P3 – Low (test-coverage gap) ## Task Type - [x] Testing / QA -- 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]
