Repository navigation
fix(client-runtime): indented backticks no longer hide workflow reply summaries - #43593
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
EvidenceReplayed both exact reported replies through a real deploy-report workflow on fresh state, opened the completed run, and selected each step. Chromium on Linux, 1440×900, light theme on both sides. Base shows a blank first summary and “more” for the second; head shows “Deployment succeeded.” for both. Indented-only fallback remains visible.
Scenario source · Before recording · After recording scenarios:prove exited 0: fails on base, passes on head. |
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)
… summaries (pingdotgg#43593) Co-authored-by: SAPHID <saphid@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> (cherry picked from commit 52d8029)




Problem
A four-space-indented literal backtick line makes the workflow reply summary empty. Inside a fenced block, an indented backtick line can also be mistaken for its closing fence, exposing code as the summary.
Deterministic repro on
origin/main(712f51f0a67676bb4f4d8e9b3738a1a290b75c7c)From the repository root after
vp i, run these synthetic replies through the exported summary helpers used by both feeds (including the server’s whole-reply trim):Observed:
""and"more". Expected:"Deployment succeeded."for both inputs.Change
Recognize fence markers on raw lines with at most three leading spaces, prefer prose over indented code, and trim the selected summary. Preserve indented-only errors and text as a fallback. The shared formatter covers the web feed, the desktop web client, and the mobile timeline. The existing test also checks three-space fences with CRLF and trailing whitespace.
Scope
Small fix for an obvious bug; no issue needed under CONTRIBUTING.md.
Verification
expected '' to be 'Deployment succeeded.'.vp test run packages/client-runtime/src/workflows.test.ts: 29 tests passed in each of 3 consecutive runs.vp run check:changed: exit 0.Authored by GPT-6.1 Sol (Codex); reviewed by Gemini 4 Neon (Antigravity).