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

lsm / neokai / 25345966202
82%

Build:
DEFAULT BRANCH: dev
Ran 04 May 2026 10:04PM UTC
Jobs 29
Files 532
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

04 May 2026 10:03PM UTC coverage: 71.389% (+0.03%) from 71.358%
25345966202

push

github

web-flow
Enable mid-run pickup of gate poll config changes (#1781)

* Enable mid-run pickup of gate poll config changes

When a workflow definition is updated (e.g. poll added/removed/changed on
a gate), actively running workflow runs now pick up the change without
requiring a task restart.

Implementation combines two approaches:
- Event-driven (Option A): Subscribe to spaceWorkflow.updated DaemonHub
  events and immediately refresh poll timers for all active runs using
  that workflow.
- Timer closure reads from shared state: Poll configs are stored on the
  ActivePoll object and read by the timer closure on each tick, so
  script/target/template changes take effect immediately.

Key changes:
- GatePollManager: Add refreshPollsForWorkflow/refreshPollsForRun methods
  that diff gate poll configs and start/stop/update timers as needed.
- GatePollManager: Store poll config, context, and targetNodeId on
  ActivePoll so timer closures read current state instead of stale
  closure captures.
- GatePollManager: Accept PollWorkflowDefProvider to re-read workflow
  definitions from DB during refresh.
- SpaceRuntime: Wire workflowDefProvider into GatePollManager and expose
  onWorkflowDefChanged() for event-driven refresh.
- SpaceRuntimeService: Subscribe to spaceWorkflow.updated events and
  delegate to runtime.onWorkflowDefChanged().

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

* Fix two bugs in mid-run poll refresh found by review

1. Update targetNodeId on existing polls when target changes mid-run.
   Previously only pollConfig was updated but targetNodeId stayed stale,
   causing ticks to inject into the wrong node session.

2. Inherit script context from existing peer polls when a new poll is
   added mid-run. Previously new polls got empty TASK_ID/PR fields,
   breaking scripts that depend on those environment variables.

Both fixes include new tests.

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

* Store scriptContext in runContexts for... (continued)

7852 of 10860 branches covered (72.3%)

Branch coverage included in aggregate %.

177 of 203 new or added lines in 3 files covered. (87.19%)

2 existing lines in 2 files now uncovered.

63663 of 89316 relevant lines covered (71.28%)

251.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
92.63
-3.5% packages/daemon/src/lib/space/runtime/gate-poll-manager.ts

Coverage Regressions

Lines Coverage ∆ File
1
92.63
-3.5% packages/daemon/src/lib/space/runtime/gate-poll-manager.ts
1
78.48
-0.61% packages/web/src/components/MessageInput.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-agent - 25345966202.1 04 May 2026 10:04PM UTC 158
27.91
GitHub Action Run
2 daemon-online-git - 25345966202.2 04 May 2026 10:04PM UTC 305
19.98
GitHub Action Run
3 daemon-4-space-storage - 25345966202.3 04 May 2026 10:04PM UTC 126
50.88
GitHub Action Run
4 daemon-0-shared - 25345966202.4 04 May 2026 10:03PM UTC 28
84.09
GitHub Action Run
5 daemon-online-space-2 - 25345966202.5 04 May 2026 10:05PM UTC 305
26.93
GitHub Action Run
6 daemon-online-websocket - 25345966202.6 04 May 2026 10:04PM UTC 305
15.29
GitHub Action Run
7 daemon-online-rpc-4 - 25345966202.7 04 May 2026 10:05PM UTC 305
19.75
GitHub Action Run
8 daemon-5-space-workflow - 25345966202.8 04 May 2026 10:04PM UTC 104
30.26
GitHub Action Run
9 daemon-online-features-3 - 25345966202.9 04 May 2026 10:04PM UTC 305
14.03
GitHub Action Run
10 daemon-online-agent-sdk - 25345966202.10 04 May 2026 10:04PM UTC 305
18.87
GitHub Action Run
11 daemon-online-features-1 - 25345966202.11 04 May 2026 10:04PM UTC 305
19.52
GitHub Action Run
12 daemon-2-handlers - 25345966202.12 04 May 2026 10:04PM UTC 174
45.67
GitHub Action Run
13 daemon-online-rewind-1 - 25345966202.13 04 May 2026 10:05PM UTC 305
19.04
GitHub Action Run
14 daemon-online-lifecycle - 25345966202.14 04 May 2026 10:04PM UTC 305
19.25
GitHub Action Run
15 daemon-5-space-other - 25345966202.15 04 May 2026 10:04PM UTC 123
30.61
GitHub Action Run
16 daemon-online-mcp - 25345966202.16 04 May 2026 10:04PM UTC 305
15.57
GitHub Action Run
17 web - 25345966202.17 04 May 2026 10:04PM UTC 217
77.32
GitHub Action Run
18 daemon-5-space-runtime - 25345966202.18 04 May 2026 10:04PM UTC 146
38.37
GitHub Action Run
19 daemon-online-sdk - 25345966202.19 04 May 2026 10:04PM UTC 305
18.79
GitHub Action Run
20 daemon-online-components - 25345966202.20 04 May 2026 10:04PM UTC 305
15.18
GitHub Action Run
21 daemon-online-convo - 25345966202.21 04 May 2026 10:05PM UTC 305
18.78
GitHub Action Run
22 daemon-online-coordinator - 25345966202.22 04 May 2026 10:04PM UTC 305
6.5
GitHub Action Run
23 daemon-online-features-2 - 25345966202.23 04 May 2026 10:05PM UTC 305
19.23
GitHub Action Run
24 daemon-online-rpc-1 - 25345966202.24 04 May 2026 10:04PM UTC 305
16.45
GitHub Action Run
25 daemon-online-rpc-3 - 25345966202.25 04 May 2026 10:04PM UTC 305
16.83
GitHub Action Run
26 daemon-online-rpc-2 - 25345966202.26 04 May 2026 10:05PM UTC 305
19.99
GitHub Action Run
27 daemon-online-space-1 - 25345966202.27 04 May 2026 10:05PM UTC 305
26.72
GitHub Action Run
28 daemon-online-rewind-2 - 25345966202.28 04 May 2026 10:05PM UTC 305
19.51
GitHub Action Run
29 daemon-1-core - 25345966202.29 04 May 2026 10:04PM UTC 309
32.37
GitHub Action Run
Source Files on build 25345966202
  • Tree
  • List 532
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25345966202
  • 423bb5ee on github
  • Prev Build on dev (#25337281501)
  • Next Build on dev (#25350061453)
  • 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