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

umputun / revdiff / 24578021559
90%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2026 05:26PM UTC
Jobs 1
Files 57
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

17 Apr 2026 05:25PM UTC coverage: 88.362% (+0.02%) from 88.345%
24578021559

push

github

web-flow
fix(ui): suppress initial loading flash and drop stale file-list responses (#117)

* fix(ui): suppress initial loading flash and drop stale file-list responses

Bubble Tea delivered the first WindowSizeMsg before filesLoadedMsg, so between
ready=true and the async ChangedFiles returning, View() painted the populated
two-pane layout with an empty tree and "no file selected" — a 100-500 ms flash
on larger repos.

Gate View() on a new filesLoaded flag: show "loading..." while !ready, then
"loading files..." while ready && !filesLoaded. handleFilesLoaded flips the flag
first thing, including on error, so the loading screen always exits.

Also tag filesLoadedMsg with a seq captured at load time and drop mismatched
messages in handleFilesLoaded. toggleUntracked (and any future reload site) bumps
filesLoadSeq so an older in-flight ChangedFiles can't overwrite the tree after
the user toggles state.

* docs(arch): clarify seq-check behavior in file loading diagram

Address Copilot review feedback on PR #117. The previous wording said filesLoaded
flips "on every filesLoadedMsg", which is inaccurate after the seq-check was
added — stale messages are dropped and do not flip the flag. The diagram also
coupled tree.Rebuild with the flag flip, but the flag is set before the error
check while Rebuild only runs on non-error accepted messages.

13 of 14 new or added lines in 3 files covered. (92.86%)

7031 of 7957 relevant lines covered (88.36%)

330.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.54
0.44% app/ui/loaders.go
Jobs
ID Job ID Ran Files Coverage
1 24578021559.1 17 Apr 2026 05:26PM UTC 57
88.36
GitHub Action Run
Source Files on build 24578021559
  • Tree
  • List 57
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c33494de on github
  • Prev Build on master (#24554717245)
  • Next Build on master (#24581133736)
  • Delete
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