Skip to content

Fix multi-tab live process logs and process-panel filtering - #619

Open
ZihengSun wants to merge 1 commit into
mainfrom
fix/live-process-log-multi-tab
Open

Fix multi-tab live process logs and process-panel filtering#619
ZihengSun wants to merge 1 commit into
mainfrom
fix/live-process-log-multi-tab

Conversation

@ZihengSun

Copy link
Copy Markdown
Member

Summary

  • Fan out live execution logs to browser tabs that subscribe via execution:<historyId> (ExecutionLogBroker + long-poll subscribe handling), so Details on a non-starter tab can stream live output.
  • Bind Details/side-panel streaming with activateProcessLogStream, and write to the process log window only when the line’s history id matches the bound run (workflow status JSON and untagged monitor lines stay in the top-level log).

Test plan

  • Tab A: start a process; confirm process log streams.
  • Tab B: open the same Running Details; confirm live lines appear (not only Tab A).
  • Run a workflow with the process panel open; confirm process log does not show workflow_status / node-status JSON arrays.
  • Top-level #log-window still shows workflow monitor messages.
  • ExecutionLogBrokerTest / LongPollingControllerTest pass (JDK 21).

Made with Cursor

…ocess panel.

Subscribe secondary browser tabs to execution history and fan out tagged log lines; only matching history ids are written to the process/side-panel log window.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant