The GitHub Actions job "Benchmarks" on 
texera.git/fix/python-debugger-new-workflows has failed.
Run started by GitHub user Matthew-DWM (triggered by Matthew-DWM).

Head commit for run:
a58eb6d0ef424ec00c45deb6ee1326f84ecc5b30 / Matthew-DWM <[email protected]>
fix(frontend): make Python debugger work on new workflows

UdfDebugService is provided in root, but it created debug state and
registered its handlers only for the operators present when it was
first injected. Each new or reopened workflow gets a fresh shared
document, so a UDF added later had no debug state: the gutter threw
and no breakpoint command was sent. The service now registers its
handlers once for all operators and creates an operator's debug state
on first use, in the document open now.

CodeDebuggerComponent never removed its Y.Map observer, so an editor
closed before a run kept reacting to the shared breakpoint state and
threw on the next breakpoint, which skipped the automatic continue.
It now unobserves on destroy, draws nothing while breakpoints are off,
starts from the current execution state instead of waiting for the
next status update, and restores the paused line when reopened. When
a run ends or the editor closes it clears its breakpoint and highlight
decorations itself, since MonacoBreakpoint.dispose() drops its editor
first and would leave them on the model, and closes the breakpoint
condition input.

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

With regards,
GitHub Actions via GitBox

Reply via email to