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

umputun / agterm / 37800037790
94%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2026 03:30PM UTC
Jobs 1
Files 190
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

08 Oct 2026 03:21PM UTC coverage: 93.806% (+0.009%) from 93.797%
37800037790

push

github

web-flow
fix(events): retry a refused connect and keep the cursor (#716)

* fix(events): retry a refused connect and keep the cursor

`agtermctl events` opens a new connection per poll, and any connect
failure ended the stream with exit 1. On Darwin a live app whose accept
queue is full refuses with ECONNREFUSED, the same errno a dead socket
returns, so a short main-thread stall under several subscribers killed
every stream. The consumer's restart had no cursor, so it anchored at the
tail and lost every event emitted in between.

Once the stream holds a cursor, a refused connect now waits 250 ms,
doubling up to 4 s, and reads again from the same cursor. After about
30 s of refusals in a row it exits non-zero as before, so it still never
waits forever on an absent app. A missing socket stays fatal: a
relaunched app is a new run, which the cursor cannot resume. Cursor
errors (run changed, expired, ahead of tail) stay fatal and are never
rebaselined.

SocketClientError carries the connect errno so the stream can tell a
refusal from other transport failures without matching strings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BPhq5qPapt9VNrmf6GgPej

* fix(events): bound the budget test loop and correct the no-cursor wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: apchelintcev <aleksandr.pchelintcev@magnolia-cms.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

27 of 27 new or added lines in 2 files covered. (100.0%)

15190 of 16193 relevant lines covered (93.81%)

2520135.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37800037790.1 08 Oct 2026 03:30PM UTC 190
93.81
GitHub Action Run
Source Files on build 37800037790
  • Tree
  • List 190
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37800037790
  • d178ef74 on github
  • Prev Build on master (#37717958244)
  • Next Build on master (#37807167174)
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