Yicong-Huang opened a new pull request, #4510:
URL: https://github.com/apache/texera/pull/4510

   ### What changes were proposed in this PR?
   
   Adds the first Python-side unit tests for the Udon UDF debugger:
   
   - **`test_debug_manager.py`** (6 cases) — covers `DebugManager`'s init 
state, command/event pipe checks, `prompt == ""`, flushed-output round-trip via 
`Pdb.stdout`, and independence of the command vs event pipes.
   - **`test_debug_command_handler.py`** (7 cases) — covers 
`WorkerDebugCommandHandler.translate_debug_command`: `b`/`break` with lineno 
prepends `module:`, condition arg is preserved, no-arg `b` falls through, 
non-break commands pass through, and whitespace is stripped.
   
   No production code is touched.
   
   ### Any related issues, documentation, discussions?
   
   Closes #4509
   
   ### How was this PR tested?
   
   Ran the new tests locally with the project's shared venv:
   
   ```
   $ python -m pytest core/architecture/managers/test_debug_manager.py \
                      
core/architecture/handlers/control/test_debug_command_handler.py -v
   ======================== 13 passed in 1.00s ========================
   ```
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.7)


-- 
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]

Reply via email to