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

lsm / neokai / 25624089872
82%

Build:
DEFAULT BRANCH: dev
Ran 10 May 2026 08:31AM UTC
Jobs 28
Files 516
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

10 May 2026 08:30AM UTC coverage: 82.701% (+0.01%) from 82.689%
25624089872

push

github

web-flow
refactor: simplify external event architecture — remove task coupling (#1833)

* feat: implement ExternalEventService and ExternalEventTaskResolver

- Add ExternalEventService implementing ExternalEventPublisher
  - publish() returns published, duplicate_terminal, retryable_duplicate, or ignored
  - Validates source/topic contracts via ExternalEventStore
  - Stores/dedupes via ExternalEventStore
  - Enriches events through ExternalEventTaskResolver
  - Publishes externalEvent.published on InternalEventBus with space-scoped payload
- Add ExternalEventTaskResolver interface + GitHubExternalEventTaskResolver
  - Resolves GitHub PR events to SpaceTasks via trusted metadata or heuristic
  - Explicit ambiguous/unknown/ignored/enriched result types
  - No direct workflow/task/gate table queries
- Add markEventAmbiguous() to ExternalEventStore for terminal ambiguous transitions
- Extend DaemonInternalEventMap with ExternalEventEvents
- Add unit tests covering new event, terminal duplicate, retryable duplicate,
  enriched routedTaskId, ambiguous/unknown task resolution, and bus semantics

* fix: address PR review feedback for ExternalEventService and task resolver

- Persist routedTaskId via ExternalEventStore.setRoutedTaskId() before
  advancing state to routed (was never written to DB).
- Retryable duplicates now re-emit the bus event so failed subscribers
  get another chance; include routedTaskId in retryable result.
- Ignored resolver results no longer mark terminal — leave event in
  published so a later re-observation with complete metadata can enrich.
- Add word-boundary regex for PR number matching (#42 no longer matches
  inside #420 or abc#42x).
- Add optional taskRepoFilter to GitHubTaskResolverConfig for repo-scoped
  narrowing in multi-repo spaces.
- Expand tests: boundary matching, repo filter, markEventAmbiguous,
  setRoutedTaskId, non-terminal ignored, bus re-emit on retryable dup.

* fix: address round-2 review feedback for ExternalEventServi... (continued)

8232 of 11438 branches covered (71.97%)

Branch coverage included in aggregate %.

100 of 101 new or added lines in 4 files covered. (99.01%)

64271 of 76231 relevant lines covered (84.31%)

290.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.06
0.13% packages/daemon/src/storage/schema/migrations.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-other - 25624089872.1 10 May 2026 08:31AM UTC 126
31.36
GitHub Action Run
2 daemon-5-space-agent - 25624089872.2 10 May 2026 08:31AM UTC 169
28.39
GitHub Action Run
3 daemon-online-agent-sdk - 25624089872.3 10 May 2026 08:33AM UTC 280
22.51
GitHub Action Run
4 daemon-online-rpc-4 - 25624089872.4 10 May 2026 08:33AM UTC 280
23.83
GitHub Action Run
5 daemon-online-websocket - 25624089872.5 10 May 2026 08:32AM UTC 280
17.99
GitHub Action Run
6 daemon-online-coordinator - 25624089872.6 10 May 2026 08:32AM UTC 280
7.37
GitHub Action Run
7 daemon-online-components - 25624089872.7 10 May 2026 08:32AM UTC 280
17.86
GitHub Action Run
8 daemon-0-shared - 25624089872.8 10 May 2026 08:31AM UTC 30
84.24
GitHub Action Run
9 daemon-online-space-2 - 25624089872.9 10 May 2026 08:33AM UTC 280
32.46
GitHub Action Run
10 daemon-4-space-storage - 25624089872.10 10 May 2026 08:32AM UTC 129
55.1
GitHub Action Run
11 web - 25624089872.11 10 May 2026 08:32AM UTC 222
76.9
GitHub Action Run
12 daemon-1-core - 25624089872.12 10 May 2026 08:32AM UTC 285
38.38
GitHub Action Run
13 daemon-online-sdk - 25624089872.13 10 May 2026 08:32AM UTC 280
22.4
GitHub Action Run
14 daemon-online-convo - 25624089872.14 10 May 2026 08:33AM UTC 280
22.38
GitHub Action Run
15 daemon-online-rpc-3 - 25624089872.15 10 May 2026 08:33AM UTC 280
20.15
GitHub Action Run
16 daemon-online-rewind-1 - 25624089872.16 10 May 2026 08:33AM UTC 280
22.7
GitHub Action Run
17 daemon-2-handlers - 25624089872.17 10 May 2026 08:31AM UTC 125
56.85
GitHub Action Run
18 daemon-online-rewind-2 - 25624089872.18 10 May 2026 08:33AM UTC 280
23.26
GitHub Action Run
19 daemon-online-lifecycle - 25624089872.19 10 May 2026 08:33AM UTC 280
22.96
GitHub Action Run
20 daemon-online-space-1 - 25624089872.20 10 May 2026 08:33AM UTC 280
32.36
GitHub Action Run
21 daemon-online-features-2 - 25624089872.21 10 May 2026 08:33AM UTC 280
22.93
GitHub Action Run
22 daemon-online-mcp - 25624089872.22 10 May 2026 08:32AM UTC 280
18.32
GitHub Action Run
23 daemon-5-space-workflow - 25624089872.23 10 May 2026 08:31AM UTC 107
31.49
GitHub Action Run
24 daemon-online-rpc-1 - 25624089872.24 10 May 2026 08:32AM UTC 280
19.4
GitHub Action Run
25 daemon-online-rpc-2 - 25624089872.25 10 May 2026 08:33AM UTC 280
23.92
GitHub Action Run
26 daemon-online-git - 25624089872.26 10 May 2026 08:32AM UTC 280
19.02
GitHub Action Run
27 daemon-online-features-1 - 25624089872.27 10 May 2026 08:32AM UTC 280
23.28
GitHub Action Run
28 daemon-5-space-runtime - 25624089872.28 10 May 2026 08:32AM UTC 148
40.37
GitHub Action Run
Source Files on build 25624089872
  • Tree
  • List 516
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25624089872
  • b20d4b66 on github
  • Prev Build on dev (#25617892557)
  • Next Build on dev (#25632447293)
  • 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