robotcodedev / robotcode

Open Source Toolkit for Robot Framework, providing Language Server Protocol support, Debugger, VSCode Extension, PyCharm Plugin and powerful CLI tools

Home Page:https://robotcode.io

Repository from Github https://github.comrobotcodedev/robotcodeRepository from Github https://github.comrobotcodedev/robotcode

[ENHANCEMENT] Robot Framework live output viewer

d-biehl opened this issue · comments

Real‑time execution viewer using JSONL events. Runner → Broadcaster → fan‑out to configurable sinks (file, WebSocket, custom). JSONL doubles as event store for replay. Two UIs: VS Code panel and standalone HTML (index.html).

Viewers

  • VS Code: Webview panel, tree (Suite/Test/Keyword), status/duration/logs, filters, Live (WS) & Replay (JSONL; play/pause/speed, jump).
  • HTML (static): choose Broadcaster (WS URL) or load JSONL file; offline replay supported.

Event Format (JSONL)

Example:

{"ts":"2025-09-03T10:00:00Z","run_id":"r1","seq":1,"type":"run_started","level":"info","source":{},"payload":{}}

Should cover all elements that are available in result parameter of a listener method

Config (Robot Framework Listener)

definable via listener settings of robot or in robot.toml

MVP Scope

  • Broadcaster + sinks: file, ws (maybe a plug‑in API for more)
  • VS Code panel & standalone HTML (Live + Replay)
  • Basic filters + redaction hook

Acceptance

  • Near real‑time updates in both UIs
  • JSONL append is crash‑safe
  • Replay reproduces status/counts
  • Multiple sinks work in parallel