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

umputun / ralphex / 27514928831
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix-plan-panel-task-done
DEFAULT BRANCH: master
Ran 14 Jun 2026 11:06PM 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

14 Jun 2026 11:04PM UTC coverage: 83.635% (+0.08%) from 83.56%
27514928831

Pull #383

github

vlondon
fix: handle task retry/backwards moves and tasks-only completion in plan panel

addresses two pre-existing edge cases umputun raised on PR #383, fixed
in both the file-parse paths (tail.go/session_progress.go) and the
in-process path (broadcast_logger.go) so the behavior matches.

retry / backwards section numbers:
the 'task iteration N' number is NextPlanTaskPosition(), not a monotonic
counter. previously any new task_start emitted a task_end for the current
task first, so a timeout/FAILED retry (same N) flipped the task done then
back to active, and a mid-run checkbox uncheck (N goes backwards) marked
the higher task done. now task_end fires only on forward progress to a
higher-numbered task or on a transition out of the task phase.

tasks-only final task:
--tasks-only runs end on the COMPLETED signal with no following section
and no phase transition, so the final task never got a task_end (in
broadcast_logger, onPhaseChanged never fires; in the file path, there is
no next section). now a COMPLETED signal closes the active task, emitted
before the signal event so client terminal cleanup finds no active task.
only COMPLETED closes a task; FAILED leaves it for terminal cleanup.

extracted taskEndEvent/taskEndOnCompletion helpers (task_end always
tagged status.PhaseTask). tests cover retry, backwards, COMPLETED-closes,
FAILED-does-not-close, and the tasks-only loader path.
Pull Request #383: fix: plan panel marks finished tasks done and scrolls to the active task

116 of 119 new or added lines in 4 files covered. (97.48%)

7 existing lines in 4 files now uncovered.

7758 of 9276 relevant lines covered (83.64%)

227.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
93.79
-0.81% pkg/web/session_progress.go

Coverage Regressions

Lines Coverage ∆ File
4
78.24
-2.07% pkg/web/watcher.go
1
91.1
-0.34% pkg/web/session_manager.go
1
93.79
-0.81% pkg/web/session_progress.go
1
94.7
0.42% pkg/web/tail.go
Jobs
ID Job ID Ran Files Coverage
1 27514928831.1 14 Jun 2026 11:06PM UTC 55
83.64
GitHub Action Run
Source Files on build 27514928831
  • Tree
  • List 55
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #383
  • PR Base - master (#27366797976)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc