The GitHub Actions job "Build" on texera.git/state-handshake-redesign has 
failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
fd946b36bb4391de426dde623e4281575430100a / Xinyuan Lin <[email protected]>
test(amber): add tuple-then-state regression for process_tuple finally removal

Adds test_main_loop_thread_can_process_state_after_tuple, which sends a
tuple followed by four states and asserts all four states emit in order.

The single-switch state handshake assumes DataProcessor parks at the
run-loop's end-of-body switch (line 65) between tasks. Without removing
process_tuple's per-task `finally: self._switch_context()`, DataProcessor
parks at line ~138 instead after a tuple, MainLoop's first switch for
the next state cycle wakes it from there (not from the run loop), and
the first state after a tuple is dropped because current_output_state
is empty when MainLoop reads it.

Verified: with process_tuple's finally restored, this test fails with
"expected value=1, got value=2" -- the first state's output is
silently dropped and the second state's output appears first.

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

With regards,
GitHub Actions via GitBox

Reply via email to