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

lsm / neokai / 27805081806
82%

Build:
DEFAULT BRANCH: dev
Ran 19 Jun 2026 04:18AM UTC
Jobs 28
Files 606
Run time 3min
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 04:17AM UTC coverage: 81.79% (+0.03%) from 81.756%
27805081806

push

github

web-flow
feat(github-events): store PAT in keychain + add token/polling config UI (#2121)

* feat(github-events): store PAT in keychain + add token/polling config UI

External GitHub event source previously read the PAT only from
GITHUB_TOKEN, so non-shell users could not configure webhooks or
polling without daemon host access.

- Inject the shared CredentialStore into GitHubEventExtension; the
  extension now resolves the token from the keychain first and falls
  back to the env var. All GitHub API calls (autoConfigureWebhook,
  checkWebhook, deleteRemoteWebhook, githubFetch, pollWatchedRepo)
  run through resolveToken().
- Add RPC handlers space.github.setToken / getTokenStatus /
  clearToken so the UI can manage the PAT. getTokenStatus validates
  the token against /user and reports source (keychain vs env) plus
  login.
- Add RPC handler space.github.setPollingEnabled that flips the global
  polling capability, updates every watched repo in the space, and
  starts/stops the poll timer accordingly. watchRepo now auto-starts
  polling when the first polling-enabled repo is added; runPollCycle
  releases the timer once no polling repos remain.
- Expose ProviderCredentialManager.getCredentialStore() so the
  extension shares Keychain status tracking with provider credentials.
- Render a "GitHub connection" card in SpaceExternalEventsSettings
  with token input, disconnect button, and a per-space polling toggle.

* fix(github-events): address review (P1-P3) on token RPC + UI

Review: https://github.com/lsm/neokai/pull/2121#pullrequestreview-4510973422

P1 — daemon-wide token scope made explicit:
- Docstrings on setToken/clearToken call out daemon-wide blast radius
  and the intentional lack of per-space isolation.
- UI copy ("daemon-wide personal access token… shared by every space")
  reflects scope; connected view gains a "Replace token" affordance
  that, together with the Disconnect button, gates every overwrite
  behind a window.confirm() prompt.

P2 — se... (continued)

10812 of 15739 branches covered (68.7%)

Branch coverage included in aggregate %.

347 of 360 new or added lines in 5 files covered. (96.39%)

5 existing lines in 1 file now uncovered.

91893 of 109832 relevant lines covered (83.67%)

298.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
79.34
0.9% packages/web/src/components/space/SpaceExternalEventsSettings.tsx

Coverage Regressions

Lines Coverage ∆ File
5
82.61
-10.87% packages/daemon/src/lib/space/runtime/last-message-classifier.ts
Jobs
ID Job ID Ran Files Coverage
1 web - 27805081806.1 19 Jun 2026 04:19AM UTC 244
73.93
GitHub Action Run
2 daemon-online-agent-sdk - 27805081806.2 19 Jun 2026 04:19AM UTC 352
22.0
GitHub Action Run
3 daemon-4-space-migrations-b - 27805081806.3 19 Jun 2026 04:19AM UTC 48
55.92
GitHub Action Run
4 daemon-online-coordinator - 27805081806.4 19 Jun 2026 04:18AM UTC 341
7.86
GitHub Action Run
5 daemon-5-space-runtime-a - 27805081806.5 19 Jun 2026 04:18AM UTC 123
39.98
GitHub Action Run
6 daemon-4-space-migrations-a - 27805081806.6 19 Jun 2026 04:20AM UTC 73
37.85
GitHub Action Run
7 daemon-online-rewind-2 - 27805081806.7 19 Jun 2026 04:19AM UTC 352
22.54
GitHub Action Run
8 daemon-online-rewind-1 - 27805081806.8 19 Jun 2026 04:19AM UTC 352
22.13
GitHub Action Run
9 daemon-4-space-storage - 27805081806.9 19 Jun 2026 04:19AM UTC 157
54.34
GitHub Action Run
10 daemon-online-features-1 - 27805081806.10 19 Jun 2026 04:19AM UTC 352
22.64
GitHub Action Run
11 daemon-1-core - 27805081806.11 19 Jun 2026 04:19AM UTC 358
35.49
GitHub Action Run
12 daemon-online-git - 27805081806.12 19 Jun 2026 04:19AM UTC 352
18.61
GitHub Action Run
13 daemon-online-features-2 - 27805081806.13 19 Jun 2026 04:19AM UTC 352
22.34
GitHub Action Run
14 daemon-online-components - 27805081806.14 19 Jun 2026 04:18AM UTC 352
17.71
GitHub Action Run
15 daemon-5-space-runtime-b - 27805081806.15 19 Jun 2026 04:19AM UTC 176
46.25
GitHub Action Run
16 daemon-online-rpc-4 - 27805081806.16 19 Jun 2026 04:19AM UTC 352
22.74
GitHub Action Run
17 daemon-online-rpc-1 - 27805081806.17 19 Jun 2026 04:19AM UTC 352
18.88
GitHub Action Run
18 daemon-online-convo - 27805081806.18 19 Jun 2026 04:19AM UTC 352
21.91
GitHub Action Run
19 daemon-online-space-1 - 27805081806.19 19 Jun 2026 04:19AM UTC 352
31.85
GitHub Action Run
20 daemon-online-mcp - 27805081806.20 19 Jun 2026 04:18AM UTC 352
18.06
GitHub Action Run
21 daemon-online-websocket - 27805081806.21 19 Jun 2026 04:18AM UTC 352
17.83
GitHub Action Run
22 daemon-online-rpc-3 - 27805081806.22 19 Jun 2026 04:19AM UTC 352
19.23
GitHub Action Run
23 daemon-online-rpc-2 - 27805081806.23 19 Jun 2026 04:19AM UTC 352
23.0
GitHub Action Run
24 daemon-online-sdk - 27805081806.24 19 Jun 2026 04:19AM UTC 352
22.01
GitHub Action Run
25 daemon-5-space-agent-other - 27805081806.25 19 Jun 2026 04:19AM UTC 277
26.09
GitHub Action Run
26 daemon-online-lifecycle - 27805081806.26 19 Jun 2026 04:19AM UTC 352
22.31
GitHub Action Run
27 daemon-online-space-2 - 27805081806.27 19 Jun 2026 04:20AM UTC 352
31.62
GitHub Action Run
28 daemon-0-shared-handlers-workflow - 27805081806.28 19 Jun 2026 04:19AM UTC 325
35.02
GitHub Action Run
Source Files on build 27805081806
  • Tree
  • List 606
  • Changed 10
  • Source Changed 5
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27805081806
  • c598cb42 on github
  • Prev Build on dev (#27802695406)
  • Next Build on dev (#27848419266)
  • 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