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

umputun / agterm / 39290875765
94%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 05:10PM UTC
Jobs 1
Files 203
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

19 Oct 2026 05:03PM UTC coverage: 94.141% (+0.02%) from 94.124%
39290875765

push

github

web-flow
feat(events): emit pane.focused when a split pane is selected (#785)

* feat(events): emit pane.focused when a split pane is selected

the stream had no event for focus moving between a session's two split panes, so a watcher had to poll `tree` and diff `splitFocused`. Scratch and session switches already had `pane.scratch` and `session.selected`.

`pane.focused` carries the session, the newly selected `pane` (`left` or `right`) and that pane's surface token as `paneID`, absent until its surface exists.

one store observer tracks selected pane identities, keeping swaps silent without instrumenting over a dozen writers across both targets. A 100 ms trailing debounce per window absorbs the deck's temporary focus changes, so only the settled selection is reported.

Related to https://github.com/umputun/agterm/discussions/782

* test(events): queue the pane.focused burst return behind the observer hop

the burst test flipped the pane, awaited a main-queue drain, then flipped back. On a loaded CI runner that await outlasted the 100 ms debounce, so the check ran on the intermediate pane and reported it, which is the documented contract. The return flip is queued behind the observer's hop before the test suspends, so it runs before the debounce callback even when the test task resumes late.

50 of 50 new or added lines in 4 files covered. (100.0%)

16277 of 17290 relevant lines covered (94.14%)

3975747.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39290875765.1 19 Oct 2026 05:10PM UTC 203
94.14
GitHub Action Run
Source Files on build 39290875765
  • Tree
  • List 203
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39290875765
  • e958477b on github
  • Prev Build on master (#39218778922)
  • Next Build on master (#39386744946)
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