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

lsm / neokai / 28133958326
82%

Build:
DEFAULT BRANCH: dev
Ran 24 Jun 2026 10:34PM UTC
Jobs 28
Files 614
Run time 2min
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

24 Jun 2026 10:33PM UTC coverage: 82.061% (+0.01%) from 82.05%
28133958326

push

github

web-flow
fix: guard concurrent flush from double-dispatching persisted deliveries (#2174)

* fix: guard concurrent flush from double-dispatching persisted deliveries

flushPendingNodeQueue can be called concurrently for the same target when a
worker activates (e.g. spawn + recovery paths). The DB-persisted pending
delivery flush re-reads the same rows each call. The immediate dispatch path
already claims the delivery synchronously via deliverToSession's
externalEventDeliveriesInFlight add, but the rate-limit digest path deferred
that claim until the setTimeout(0) callback ran — opening a window where a
second flush re-selected the same persisted rows from the DB and pushed them
into the digest again, producing duplicate injections.

Claim the delivery key in externalEventDeliveriesInFlight synchronously in the
digest path of enqueueDeliverableExternalEvent (before the timer fires), so the
existing in-flight check in collectPersistedPendingDeliveries blocks the
re-selection. Release the claim in the digest session-loss requeue path and on
stop() so requeued/stopped deliveries are not stranded across the claim window.

Adds a regression test that publishes >10 events (overflow into the digest
path) and asserts two back-to-back flush calls yield a digest covering the 2
overflowed events once — not 4.

* fix: release digest-path claim when purging auto-PR digest items

The synchronous in-flight claim added to the rate-limit digest path also
needs to be released in purgeAutoPrDigestItemsForRun, which drops buffered
auto-PR digest items when clearPrEventSubscriptionsForRun runs (gate opens /
run unblocks). Without the release, clearing an auto-PR subscription while
events are buffered in the digest leaks the delivery key in
externalEventDeliveriesInFlight.

Adds a regression test: >10 auto-PR events overflow into the digest, then
clearing the subscription must release the in-flight claim for the purged
items (verified the test fails without the release).

Addresses ... (continued)

11362 of 16393 branches covered (69.31%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

95257 of 113534 relevant lines covered (83.9%)

300.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-online-space-2 - 28133958326.1 24 Jun 2026 10:36PM UTC 356
31.46
GitHub Action Run
2 daemon-online-rpc-3 - 28133958326.2 24 Jun 2026 10:35PM UTC 356
19.11
GitHub Action Run
3 daemon-5-space-runtime-a - 28133958326.3 24 Jun 2026 10:35PM UTC 127
39.66
GitHub Action Run
4 daemon-4-space-migrations-a - 28133958326.4 24 Jun 2026 10:35PM UTC 73
38.0
GitHub Action Run
5 daemon-online-convo - 28133958326.5 24 Jun 2026 10:35PM UTC 356
21.74
GitHub Action Run
6 daemon-0-shared-handlers-workflow - 28133958326.6 24 Jun 2026 10:35PM UTC 361
32.73
GitHub Action Run
7 daemon-online-sdk - 28133958326.7 24 Jun 2026 10:35PM UTC 356
21.84
GitHub Action Run
8 daemon-online-features-2 - 28133958326.8 24 Jun 2026 10:35PM UTC 356
21.97
GitHub Action Run
9 daemon-5-space-agent-other - 28133958326.9 24 Jun 2026 10:35PM UTC 281
26.1
GitHub Action Run
10 daemon-5-space-runtime-b - 28133958326.10 24 Jun 2026 10:35PM UTC 181
47.72
GitHub Action Run
11 daemon-online-git - 28133958326.11 24 Jun 2026 10:34PM UTC 356
18.51
GitHub Action Run
12 daemon-online-rpc-2 - 28133958326.12 24 Jun 2026 10:35PM UTC 356
22.87
GitHub Action Run
13 daemon-online-rpc-1 - 28133958326.13 24 Jun 2026 10:35PM UTC 356
18.77
GitHub Action Run
14 daemon-4-space-storage - 28133958326.14 24 Jun 2026 10:34PM UTC 159
54.49
GitHub Action Run
15 daemon-online-coordinator - 28133958326.15 24 Jun 2026 10:34PM UTC 345
7.84
GitHub Action Run
16 daemon-online-websocket - 28133958326.16 24 Jun 2026 10:34PM UTC 356
17.76
GitHub Action Run
17 daemon-4-space-migrations-b - 28133958326.17 24 Jun 2026 10:35PM UTC 48
56.03
GitHub Action Run
18 daemon-online-features-1 - 28133958326.18 24 Jun 2026 10:35PM UTC 356
22.53
GitHub Action Run
19 daemon-online-lifecycle - 28133958326.19 24 Jun 2026 10:35PM UTC 356
22.13
GitHub Action Run
20 daemon-1-core - 28133958326.20 24 Jun 2026 10:35PM UTC 362
34.78
GitHub Action Run
21 daemon-online-rpc-4 - 28133958326.21 24 Jun 2026 10:35PM UTC 356
22.55
GitHub Action Run
22 daemon-online-rewind-1 - 28133958326.22 24 Jun 2026 10:35PM UTC 356
21.96
GitHub Action Run
23 daemon-online-mcp - 28133958326.23 24 Jun 2026 10:34PM UTC 356
17.98
GitHub Action Run
24 daemon-online-rewind-2 - 28133958326.24 24 Jun 2026 10:35PM UTC 356
22.42
GitHub Action Run
25 daemon-online-space-1 - 28133958326.25 24 Jun 2026 10:35PM UTC 356
31.44
GitHub Action Run
26 daemon-online-components - 28133958326.26 24 Jun 2026 10:34PM UTC 356
17.54
GitHub Action Run
27 daemon-online-agent-sdk - 28133958326.27 24 Jun 2026 10:35PM UTC 356
21.83
GitHub Action Run
28 web - 28133958326.28 24 Jun 2026 10:35PM UTC 248
74.52
GitHub Action Run
Source Files on build 28133958326
  • Tree
  • List 614
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28133958326
  • 1b1a9c16 on github
  • Prev Build on dev (#28126214247)
  • Next Build on dev (#28134258755)
  • 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