Files
deepseek-harness/apps/web/tests/snapshots/message-actions/ui.expected.md
Yichen Jiang 3e1c63b2ea test(web): stop the stats line's wall-clock segments from deciding a golden
`StatsLine` renders its LLM, tool-call, and throughput segments only while the
matching measurement exceeds zero, and all three are wall clock taken during
the replay. A machine that finishes a step inside one millisecond drops the
segment a slower one keeps, so a golden recorded what the recording machine's
speed was rather than what the page shows. Goldens across this suite already
disagreed about the LLM segment for that reason, and CI failed on whichever
test landed on a slow enough runner — a different test each run, always the
same one-line difference.

Tokenizing the values was never enough, because presence is what moves. The
normalizer now drops those segments outright, each taking one adjacent
separator so nothing is left holding a dangling separator or a doubled space,
and the recorded goldens are normalized the same way. `TTFT avg` stays: it
gates on a step count the fixture determines.
2026-08-06 15:47:42 +08:00

2.0 KiB

  • banner:
    • navigation "Session hierarchy":
      • button "Use the read tool twice" [disabled]
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
  • text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
  • button "Copy":
    • img
  • tooltip "Copy"
  • button "Branch into a new conversation" [disabled]:
    • img
  • text: Available only on the last message of a completed turn
  • button "Think The user wants me to read a.txt and b.txt, then reply with "DONE". Let me do both reads in parallel.":
    • img
    • img
    • text: Think The user wants me to read a.txt and b.txt, then reply with "DONE". Let me do both reads in parallel.
  • paragraph: I will read both files before answering.
  • button "Copy":
    • img
  • button "Branch into a new conversation" [disabled]:
    • img
  • text: Available only on the last message of a completed turn 7/25 {{clock}} Ran for {{duration}} TTFT {{duration}}
  • button "Read a.txt":
    • img
    • img
    • text: Read
    • button "a.txt"
  • button "Read b.txt":
    • img
    • img
    • text: Read
    • button "b.txt"
  • button "Think Both files have been read. a.txt contains "alpha" and b.txt contains "beta". I'll now reply with DONE as instructed.":
    • img
    • img
    • text: Think Both files have been read. a.txt contains "alpha" and b.txt contains "beta". I'll now reply with DONE as instructed.
  • text: Stopped Now give the final answer. 7/25 {{clock}}
  • button "Copy":
    • img
  • button "Branch into a new conversation" [disabled]:
    • img
  • text: Available only on the last message of a completed turn
  • paragraph: DONE
  • button "Copy":
    • img
  • button "Branch into a new conversation":
    • img
  • text: 7/25 {{clock}} Ran for {{duration}}
  • textbox "Message the agent"
  • button "Commands":
    • img
  • 'button "Access mode, current: Workspace Write"': Workspace Write
  • button "Select model":
    • text: Select model
    • img
  • button "Send message" [disabled]
  • text: 2 turns · 3 steps TTFT avg {{duration}} Cache hit 98% Input 7.8K tok · Output 103 tok