The GitHub Actions job "Required Checks" on 
texera.git/chore/amber-python-data-processor-cleanup has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
f24908b17170b484a021f08719ecb85a9cf3bb91 / Yicong Huang 
<[email protected]>
test(pyamber): pin MainLoop flush-then-pause ordering on exception

DataProcessor's side of the contract is covered (the ERROR ConsoleMessage
is in the buffer before the finally-clause switch). The other half lives
in MainLoop._post_switch_context_checks, which must flush console
messages over the controller RPC *before* entering EXCEPTION_PAUSE —
otherwise the worker pauses with no error visible to the UI.

Stage a pending exception + ERROR ConsoleMessage on a real MainLoop,
swap _send_console_message and pause_manager.pause for recorders, and
assert the observed call order is ["rpc", "pause"]. Inverting that order
in _check_exception would flip kinds to ["pause", "rpc"] and the test
fails.

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

With regards,
GitHub Actions via GitBox

Reply via email to