Closes#5. This is a UI change, so it needs your approval.
Single worker
Several workers, one of which fails
Phone
What changes
After Execute, each worker gets a card showing Running…. When its result arrives, the card shows:
the status: Completed, Failed (exit N), Timed out, or Killed;
the duration;
stdout, then stderr in red;
a link to the full record in Executions.
With several workers you get one card per worker, under a "Sent to N workers" line.
How the result reaches the page
It comes from the live command_result event. The server's broadcast now includes duration.
A fast command's result can arrive before the request that started it returns. The page keeps such results briefly, so they aren't lost.
If the live connection misses the event, each card checks the execution every 5 s until it finishes.
Each stream shows up to 100,000 characters. Anything longer gets a note pointing to Executions for the rest.
Also fixed: both worker pickers showed in either mode
The single-worker dropdown and the multi-worker list were both visible all the time; you can see it in the before screenshots. web_template's .lt-form-group { display: flex } overrode the hidden attribute. Pulse's stylesheet now makes [hidden] always win.
Tests
Updated tests check the output inline:
the marker in stdout and "Completed";
exit 3 shows "Failed (exit 3)" with stderr;
three workers each show their own output.
New:
with the WebSocket blocked, the result still appears through polling;
only the chosen mode's worker picker is visible.
Locally: UI 44/44, integration 54/54, unit 149/149, lint and the innerHTML semgrep rule are clean.
Closes #5. **This is a UI change, so it needs your approval.**
**Single worker**

**Several workers**, one of which fails

**Phone**
<img src="https://code.lotusguild.org/LotusGuild/pulse/raw/branch/pr-assets/pr-81/phone-after.png" width="360" alt="Phone">
## What changes
After Execute, each worker gets a card showing **Running…**. When its result arrives, the card shows:
- the status: Completed, Failed (exit N), Timed out, or Killed;
- the duration;
- stdout, then stderr in red;
- a link to the full record in Executions.
With several workers you get one card per worker, under a "Sent to N workers" line.
## How the result reaches the page
- It comes from the live `command_result` event. The server's broadcast now includes `duration`.
- A fast command's result can arrive before the request that started it returns. The page keeps such results briefly, so they aren't lost.
- If the live connection misses the event, each card checks the execution every 5 s until it finishes.
- Each stream shows up to 100,000 characters. Anything longer gets a note pointing to Executions for the rest.
## Also fixed: both worker pickers showed in either mode
The single-worker dropdown and the multi-worker list were *both* visible all the time; you can see it in the before screenshots. `web_template`'s `.lt-form-group { display: flex }` overrode the `hidden` attribute. Pulse's stylesheet now makes `[hidden]` always win.
## Tests
- **Updated tests check the output inline:**
- the marker in stdout and "Completed";
- `exit 3` shows "Failed (exit 3)" with stderr;
- three workers each show their own output.
- **New:**
- with the WebSocket blocked, the result still appears through polling;
- only the chosen mode's worker picker is visible.
- **Locally:** UI 44/44, integration 54/54, unit 149/149, lint and the `innerHTML` semgrep rule are clean.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
After Execute, each worker gets a card that says Running until its result
arrives, then shows the status (Completed, Failed (exit N), Timed out,
Killed), the duration, stdout, stderr in red, and a link to the full
record in Executions. Multi-worker runs get one card per worker.
- The result comes from the live command_result event; one that arrives
before the POST returns is buffered. If the event is missed (e.g. the
live connection dropped), the card polls the execution every 5 s.
- Each stream shows up to 100,000 characters, with a note pointing to
Executions for the rest.
- The server's command_result broadcast now includes duration.
- [hidden] now always wins over component display rules: both worker
pickers used to show in either mode because .lt-form-group sets
display: flex.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
merged commit 33a3f7c0b9 into main2026-11-23 15:53:36 -05:00
jared
deleted branch quick-inline-output2026-11-23 15:53:45 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #5. This is a UI change, so it needs your approval.
Single worker

Several workers, one of which fails

Phone

What changes
After Execute, each worker gets a card showing Running…. When its result arrives, the card shows:
With several workers you get one card per worker, under a "Sent to N workers" line.
How the result reaches the page
command_resultevent. The server's broadcast now includesduration.Also fixed: both worker pickers showed in either mode
The single-worker dropdown and the multi-worker list were both visible all the time; you can see it in the before screenshots.
web_template's.lt-form-group { display: flex }overrode thehiddenattribute. Pulse's stylesheet now makes[hidden]always win.Tests
exit 3shows "Failed (exit 3)" with stderr;innerHTMLsemgrep rule are clean.🤖 Generated with Claude Code