• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / ralphex / 42660008174
86%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 04:59PM UTC
Jobs 1
Files 55
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Nov 2026 04:58PM UTC coverage: 86.134% (+0.08%) from 86.059%
42660008174

push

github

web-flow
fix(web): stop double-publishing live dashboard events (#474)

* fix(web): stop double-publishing live dashboard events

With --serve and watch dirs configured, Dashboard.Start registers the
in-process session and feeds it from the BroadcastLogger. The watcher then
discovers the same progress file, sees it locked by this process, activates
the session and starts a tailer from byte zero, so every live line was
published a second time: output, section headers and task boundaries.

Mark the in-process session as live output before registration and keep the
tailer and loader paths away from it. The mark is cleared when the run ends
or when a new run rewrites the same progress file, so a later run of the same
plan is served by the ordinary tailer path again.

RefreshStates now also refreshes the live session, so a finished run does not
stay marked active, and BroadcastLogger forwards completion diff stats as a
DIFFSTATS line: a live session has no tailer to read it back from the file.

Co-Authored-By: Agent-Yan <352840372+Agent-Yan@users.noreply.github.com>

* fix(web): finish live sessions without replaying the file

The run-completion path cleared the broadcast mark but left the session
unloaded with lastOffset at 0, so the next discovery of the same
directory loaded the whole progress file into the session that had
already streamed every line. Mark the session loaded in the same locked
section and keep lastOffset at 0, so a rerun started in the same second
does not resume mid-file.

Route archivePlan warnings through the runner logger: BroadcastLogger.Warn
forwards to the wrapped progress logger and publishes a warn event, which
a live --serve session needs because it has no tailer to read the line
back. CLAUDE.md follows the new path.

Tests cover the replay gate (!isLiveOutput), restart tailing after
resetForNewRun, warn forwarding to both sinks, the DIFFSTATS line in the
progress file, and discovery now waits on StartTime instead of the state
Start s... (continued)

75 of 83 new or added lines in 6 files covered. (90.36%)

2 existing lines in 1 file now uncovered.

8305 of 9642 relevant lines covered (86.13%)

226.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
66.61
0.03% cmd/ralphex/main.go
2
95.54
-1.46% pkg/web/broadcast_logger.go
2
92.49
0.01% pkg/web/session.go

Coverage Regressions

Lines Coverage ∆ File
2
91.61
0.51% pkg/web/session_manager.go
Jobs
ID Job ID Ran Files Coverage
1 42660008174.1 09 Nov 2026 04:59PM UTC 55
86.13
GitHub Action Run
Source Files on build 42660008174
  • Tree
  • List 55
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4647771b on github
  • Prev Build on master (#42404343185)
  • Next Build on master (#42659989394)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc