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

lsm / neokai / 25536788366
82%

Build:
DEFAULT BRANCH: dev
Ran 08 May 2026 04:30AM UTC
Jobs 28
Files 513
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

08 May 2026 04:29AM UTC coverage: 82.714% (+0.1%) from 82.619%
25536788366

push

github

web-flow
feat: implement ExternalEvent schema and store (#1821)

* feat: implement ExternalEvent schema and store

Add durable external-event lifecycle storage for the External Event Bus:

- New tables (migration 118):
  - space_external_events: source-level dedup + state machine
  - space_external_event_deliveries: per-subscription delivery lifecycle

- ExternalEvent types and validation:
  - ExternalEvent, ExternalEventState, ExternalEventDeliveryState
  - TERMINAL_EVENT_STATES, RETRYABLE_EVENT_STATES, TERMINAL_DELIVERY_STATES
  - validateGlobPattern() for 4-segment topic contract
  - validateSource() for known-source allow-list

- ExternalEventStore methods:
  - store() — first observation + duplicate handling (terminal short-circuit,
    retryable re-emit)
  - registerExpectedDelivery() — idempotent INSERT OR IGNORE
  - markDeliveryDelivered / markDeliveryFailed — terminal vs transient
  - markEventDeliveredIfAllDeliveriesDelivered — all delivered → delivered
  - markEventFailedIfAnyDeliveryTerminalFailed — any failed → failed
  - markEventFailedIfAllDeliveriesTerminal — all terminal + any failed → failed
  - markEventFailed / markEventIgnored — terminalization
  - updateEventState — non-terminal progression
  - getEventIdForDeliveryKey / isDeliveryTerminal

- Tests cover:
  - terminal/retryable duplicate behavior
  - expected delivery idempotency
  - delivered only when all deliveries are delivered
  - failed if any delivery terminally fails
  - validation edge cases

Store is source-agnostic and not GitHub-specific.

* fix: address review feedback on validation and edge cases

- Reject whitespace-only dedupeKey in store validation
- Validate target identifiers (workflowRunId, taskId, nodeId, agentName)
  are non-empty in registerExpectedDelivery
- Detect cross-event delivery key conflicts after INSERT OR IGNORE
- Reject mid-segment wildcards in segments 0-2 (e.g. own*, re*po)
- Add comprehensive unit tests for all new validations

* fix: add external eve... (continued)

8231 of 11408 branches covered (72.15%)

Branch coverage included in aggregate %.

472 of 472 new or added lines in 7 files covered. (100.0%)

63606 of 75442 relevant lines covered (84.31%)

289.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 daemon-online-coordinator - 25536788366.1 08 May 2026 04:30AM UTC 278
7.37
GitHub Action Run
2 daemon-online-git - 25536788366.2 08 May 2026 04:31AM UTC 278
19.05
GitHub Action Run
3 daemon-2-handlers - 25536788366.3 08 May 2026 04:30AM UTC 123
57.33
GitHub Action Run
4 daemon-5-space-runtime - 25536788366.4 08 May 2026 04:31AM UTC 146
40.57
GitHub Action Run
5 daemon-online-rpc-3 - 25536788366.5 08 May 2026 04:31AM UTC 278
20.2
GitHub Action Run
6 daemon-online-features-1 - 25536788366.6 08 May 2026 04:31AM UTC 278
23.26
GitHub Action Run
7 daemon-online-convo - 25536788366.7 08 May 2026 04:31AM UTC 278
22.35
GitHub Action Run
8 daemon-online-components - 25536788366.8 08 May 2026 04:30AM UTC 278
17.9
GitHub Action Run
9 daemon-online-rewind-1 - 25536788366.9 08 May 2026 04:31AM UTC 278
22.67
GitHub Action Run
10 daemon-online-features-2 - 25536788366.10 08 May 2026 04:31AM UTC 278
22.9
GitHub Action Run
11 daemon-1-core - 25536788366.11 08 May 2026 04:31AM UTC 283
38.54
GitHub Action Run
12 daemon-online-rpc-1 - 25536788366.12 08 May 2026 04:31AM UTC 278
19.43
GitHub Action Run
13 daemon-online-mcp - 25536788366.13 08 May 2026 04:30AM UTC 278
18.36
GitHub Action Run
14 daemon-online-agent-sdk - 25536788366.14 08 May 2026 04:31AM UTC 278
22.46
GitHub Action Run
15 daemon-online-rpc-4 - 25536788366.15 08 May 2026 04:31AM UTC 278
23.82
GitHub Action Run
16 daemon-5-space-workflow - 25536788366.16 08 May 2026 04:30AM UTC 105
31.65
GitHub Action Run
17 daemon-online-rewind-2 - 25536788366.17 08 May 2026 04:31AM UTC 278
23.24
GitHub Action Run
18 daemon-online-websocket - 25536788366.18 08 May 2026 04:30AM UTC 278
18.03
GitHub Action Run
19 daemon-online-lifecycle - 25536788366.19 08 May 2026 04:31AM UTC 278
22.93
GitHub Action Run
20 daemon-online-rpc-2 - 25536788366.20 08 May 2026 04:31AM UTC 278
23.9
GitHub Action Run
21 daemon-online-sdk - 25536788366.21 08 May 2026 04:31AM UTC 278
22.36
GitHub Action Run
22 daemon-5-space-agent - 25536788366.22 08 May 2026 04:30AM UTC 160
29.42
GitHub Action Run
23 daemon-5-space-other - 25536788366.23 08 May 2026 04:30AM UTC 124
31.53
GitHub Action Run
24 daemon-0-shared - 25536788366.24 08 May 2026 04:30AM UTC 28
83.74
GitHub Action Run
25 daemon-online-space-2 - 25536788366.25 08 May 2026 04:32AM UTC 278
32.48
GitHub Action Run
26 daemon-4-space-storage - 25536788366.26 08 May 2026 04:31AM UTC 125
55.25
GitHub Action Run
27 web - 25536788366.27 08 May 2026 04:31AM UTC 222
77.01
GitHub Action Run
28 daemon-online-space-1 - 25536788366.28 08 May 2026 04:31AM UTC 278
32.37
GitHub Action Run
Source Files on build 25536788366
  • Tree
  • List 513
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25536788366
  • b5d89a9b on github
  • Prev Build on dev (#25535179445)
  • Next Build on dev (#25570633664)
  • 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