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

lsm / neokai / 27851418725
82%

Build:
DEFAULT BRANCH: dev
Ran 19 Jun 2026 10:34PM UTC
Jobs 28
Files 608
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

19 Jun 2026 10:33PM UTC coverage: 81.654% (-0.1%) from 81.79%
27851418725

push

github

web-flow
feat(github): rate-limit-aware polling and gate-hook retry (#2119)

* feat(github): rate-limit-aware polling and gate-hook retry

Github event extension polling now parses X-RateLimit-Remaining/Reset on
every response, defers the next poll past the reset window when remaining
drops below 10 or GitHub returns 403/429, and aborts the current cycle so
additional budget is not burned against an exhausted quota. The next poll
is scheduled via a new scheduleNextPollAfter helper that takes the reset
delay into account.

pr-ready validator classifies gh CLI failures by stderr pattern. Rate-limit
errors trigger a follow-up gh api /rate_limit probe to derive retryAfterMs
and return retryable_block, so the workflow engine backs off instead of
re-running the validator on every action dispatch. Non-rate-limit failures
still hard-block.

gate-script-executor surfaces a rateLimited flag on GateScriptResult when
stderr matches the rate-limit patterns; gate-evaluator propagates it on
GateEvalResult so callers can react to GitHub budget exhaustion.

Adds shared rate-limit-detector util for stderr pattern matching and
retry-after computation, with unit tests for each layer.

* feat(github): wire rateLimited consumer end-to-end

Propagate the rateLimited signal through the full delivery path so bash
gate scripts that hit GitHub HTTP 403 no longer cause agent retry storms.

- gate-script-executor sets retryAfterMs (defaults to RATE_LIMIT_MIN_BACKOFF_MS)
  alongside the existing rateLimited flag
- gate-evaluator forwards both onto GateEvalResult
- channel-router canDeliver / deliverMessage thread rateLimited + retryAfterMs
  through GateResult and ChannelGateBlockedError
- agent-message-router result includes rateLimited + retryAfterMs on
  ChannelGateBlockedError catch
- send_message tool surfaces explicit retry guidance in error text and
  structured rateLimited / retryAfterMs fields so agents can back off
  instead of re-dispatching on the next tick

Also addresses revi... (continued)

10811 of 15739 branches covered (68.69%)

Branch coverage included in aggregate %.

307 of 639 new or added lines in 13 files covered. (48.04%)

92200 of 110417 relevant lines covered (83.5%)

297.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
201
7.42
-3.72% packages/daemon/src/lib/space/runtime/built-in-validators/pr-ready-validator.ts
75
0.0
packages/daemon/src/lib/space/runtime/rate-limit-detector.ts
24
5.18
0.01% packages/daemon/src/lib/space/runtime/workflow-hook-engine.ts
18
88.24
-0.49% packages/daemon/src/lib/space/tools/node-agent-tools.ts
6
98.26
-0.75% packages/daemon/src/lib/space/runtime/channel-router.ts
4
88.57
packages/daemon/src/lib/space/runtime/gate-retry-scheduler.ts
3
98.89
1.44% packages/daemon/src/lib/external-events/github/github-event-extension.ts
1
46.33
0.02% packages/daemon/src/lib/space/runtime/task-agent-manager.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-b - 27851418725.1 19 Jun 2026 10:35PM UTC 48
55.92
GitHub Action Run
2 daemon-5-space-runtime-a - 27851418725.2 19 Jun 2026 10:34PM UTC 124
39.9
GitHub Action Run
3 daemon-5-space-runtime-b - 27851418725.3 19 Jun 2026 10:35PM UTC 178
46.26
GitHub Action Run
4 daemon-online-rpc-4 - 27851418725.4 19 Jun 2026 10:35PM UTC 354
22.68
GitHub Action Run
5 daemon-online-space-1 - 27851418725.5 19 Jun 2026 10:35PM UTC 354
31.77
GitHub Action Run
6 daemon-4-space-migrations-a - 27851418725.6 19 Jun 2026 10:35PM UTC 73
37.85
GitHub Action Run
7 daemon-online-coordinator - 27851418725.7 19 Jun 2026 10:34PM UTC 343
7.87
GitHub Action Run
8 daemon-online-websocket - 27851418725.8 19 Jun 2026 10:34PM UTC 354
17.78
GitHub Action Run
9 daemon-online-rewind-2 - 27851418725.9 19 Jun 2026 10:35PM UTC 354
22.48
GitHub Action Run
10 daemon-online-rewind-1 - 27851418725.10 19 Jun 2026 10:35PM UTC 354
22.08
GitHub Action Run
11 daemon-online-rpc-2 - 27851418725.11 19 Jun 2026 10:35PM UTC 354
22.94
GitHub Action Run
12 daemon-online-convo - 27851418725.12 19 Jun 2026 10:35PM UTC 354
21.85
GitHub Action Run
13 daemon-0-shared-handlers-workflow - 27851418725.13 19 Jun 2026 10:35PM UTC 327
35.01
GitHub Action Run
14 daemon-online-features-2 - 27851418725.14 19 Jun 2026 10:35PM UTC 354
22.28
GitHub Action Run
15 daemon-5-space-agent-other - 27851418725.15 19 Jun 2026 10:35PM UTC 279
26.12
GitHub Action Run
16 daemon-1-core - 27851418725.16 19 Jun 2026 10:35PM UTC 360
35.36
GitHub Action Run
17 daemon-online-space-2 - 27851418725.17 19 Jun 2026 10:36PM UTC 354
31.57
GitHub Action Run
18 daemon-online-mcp - 27851418725.18 19 Jun 2026 10:34PM UTC 354
18.01
GitHub Action Run
19 daemon-online-features-1 - 27851418725.19 19 Jun 2026 10:35PM UTC 354
22.58
GitHub Action Run
20 daemon-4-space-storage - 27851418725.20 19 Jun 2026 10:34PM UTC 158
54.31
GitHub Action Run
21 daemon-online-sdk - 27851418725.21 19 Jun 2026 10:34PM UTC 354
21.95
GitHub Action Run
22 daemon-online-lifecycle - 27851418725.22 19 Jun 2026 10:35PM UTC 354
22.25
GitHub Action Run
23 daemon-online-rpc-3 - 27851418725.23 19 Jun 2026 10:35PM UTC 354
19.17
GitHub Action Run
24 web - 27851418725.24 19 Jun 2026 10:35PM UTC 244
73.93
GitHub Action Run
25 daemon-online-git - 27851418725.25 19 Jun 2026 10:34PM UTC 354
18.56
GitHub Action Run
26 daemon-online-components - 27851418725.26 19 Jun 2026 10:34PM UTC 354
17.69
GitHub Action Run
27 daemon-online-rpc-1 - 27851418725.27 19 Jun 2026 10:35PM UTC 354
18.82
GitHub Action Run
28 daemon-online-agent-sdk - 27851418725.28 19 Jun 2026 10:35PM UTC 354
21.95
GitHub Action Run
Source Files on build 27851418725
  • Tree
  • List 608
  • Changed 20
  • Source Changed 12
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27851418725
  • 439cf8f6 on github
  • Prev Build on dev (#27848419266)
  • Next Build on dev (#27853891521)
  • Delete
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