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

lsm / neokai / 26674465293
82%

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

30 May 2026 04:27AM UTC coverage: 82.895% (+0.002%) from 82.893%
26674465293

push

github

web-flow
fix(credentials): fall back to DatabaseCredentialStore when macOS daemon has no TTY (#2047)

* fix(credentials): fall back to DatabaseCredentialStore when macOS daemon has no TTY

KeychainCredentialStore.set spawns `security add-generic-password -U -w`
and writes the password via stdin. When no existing Keychain entry exists,
`security` opens an interactive retype prompt on /dev/tty, bypassing stdin.
This blocks the daemon during startup because a server process cannot
respond to terminal prompts.

Fix: in createCredentialStore, when on darwin but process.stdout.isTTY is
false, return DatabaseCredentialStore instead of KeychainCredentialStore.
This keeps Keychain for interactive shells and uses the encrypted SQLite
fallback for daemon/non-TTY mode.

Tests added for all platform/TTY combinations.

* fix(credentials): tighten TTY guard and correct comment

- Change guard from `!== false` to `=== true` so undefined is treated
  as non-TTY (falls back to DatabaseCredentialStore).
- Correct comment: `security` reads retype confirmation from /dev/tty,
  not stdin.
- Update test: undefined isTTY now expects DatabaseCredentialStore.

* fix(credentials): use -p flag in KeychainCredentialStore.set to avoid /dev/tty prompt

Replaces the -w stdin approach with -p DATA flag. The -w flag caused
`security` to open an interactive retype prompt on /dev/tty when no
existing Keychain entry existed, blocking daemon startup.

- Revert TTY guard in createCredentialStore (back to platform-only check)
- KeychainCredentialStore.set now passes secret via -p flag
- Comment updated to explain the /dev/tty issue
- Tests simplified: remove isTTY tests, keep platform-based tests

9849 of 14385 branches covered (68.47%)

Branch coverage included in aggregate %.

0 of 4 new or added lines in 1 file covered. (0.0%)

82606 of 97148 relevant lines covered (85.03%)

297.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
56.29
0.99% packages/daemon/src/lib/credentials/credential-store.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-b - 26674465293.1 30 May 2026 04:28AM UTC 44
59.96
GitHub Action Run
2 daemon-4-space-storage - 26674465293.2 30 May 2026 04:28AM UTC 152
56.18
GitHub Action Run
3 daemon-online-git - 26674465293.3 30 May 2026 04:28AM UTC 334
19.53
GitHub Action Run
4 daemon-1-core - 26674465293.4 30 May 2026 04:28AM UTC 340
36.29
GitHub Action Run
5 daemon-online-rpc-3 - 26674465293.5 30 May 2026 04:28AM UTC 334
20.16
GitHub Action Run
6 daemon-online-features-2 - 26674465293.6 30 May 2026 04:28AM UTC 334
23.05
GitHub Action Run
7 daemon-5-space-agent-other - 26674465293.7 30 May 2026 04:28AM UTC 260
27.35
GitHub Action Run
8 daemon-online-rewind-1 - 26674465293.8 30 May 2026 04:29AM UTC 334
22.87
GitHub Action Run
9 daemon-5-space-runtime-a - 26674465293.9 30 May 2026 04:28AM UTC 117
40.51
GitHub Action Run
10 daemon-online-mcp - 26674465293.10 30 May 2026 04:28AM UTC 334
18.91
GitHub Action Run
11 daemon-online-space-2 - 26674465293.11 30 May 2026 04:30AM UTC 334
33.01
GitHub Action Run
12 daemon-online-coordinator - 26674465293.12 30 May 2026 04:28AM UTC 323
7.8
GitHub Action Run
13 daemon-online-rpc-4 - 26674465293.13 30 May 2026 04:29AM UTC 334
23.7
GitHub Action Run
14 daemon-online-websocket - 26674465293.14 30 May 2026 04:28AM UTC 334
18.65
GitHub Action Run
15 daemon-online-components - 26674465293.15 30 May 2026 04:28AM UTC 334
18.54
GitHub Action Run
16 daemon-online-rpc-1 - 26674465293.16 30 May 2026 04:29AM UTC 334
19.77
GitHub Action Run
17 daemon-online-convo - 26674465293.17 30 May 2026 04:29AM UTC 334
22.61
GitHub Action Run
18 daemon-online-space-1 - 26674465293.18 30 May 2026 04:29AM UTC 334
34.06
GitHub Action Run
19 daemon-online-rewind-2 - 26674465293.19 30 May 2026 04:28AM UTC 334
23.31
GitHub Action Run
20 daemon-online-sdk - 26674465293.20 30 May 2026 04:28AM UTC 334
22.72
GitHub Action Run
21 daemon-online-rpc-2 - 26674465293.21 30 May 2026 04:29AM UTC 334
23.86
GitHub Action Run
22 daemon-online-lifecycle - 26674465293.22 30 May 2026 04:28AM UTC 334
23.12
GitHub Action Run
23 daemon-online-agent-sdk - 26674465293.23 30 May 2026 04:28AM UTC 334
22.71
GitHub Action Run
24 daemon-online-features-1 - 26674465293.24 30 May 2026 04:29AM UTC 334
23.49
GitHub Action Run
25 web - 26674465293.25 30 May 2026 04:29AM UTC 238
73.81
GitHub Action Run
26 daemon-4-space-migrations-a - 26674465293.26 30 May 2026 04:28AM UTC 69
39.03
GitHub Action Run
27 daemon-0-shared-handlers-workflow - 26674465293.27 30 May 2026 04:28AM UTC 167
62.79
GitHub Action Run
28 daemon-5-space-runtime-b - 26674465293.28 30 May 2026 04:28AM UTC 166
44.61
GitHub Action Run
Source Files on build 26674465293
  • Tree
  • List 582
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26674465293
  • 9d55185a on github
  • Prev Build on dev (#26672169521)
  • Next Build on dev (#26702555318)
  • 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