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

archetech / archon / 30774067785
94%

Build:
DEFAULT BRANCH: main
Ran 03 Aug 2026 12:18AM UTC
Jobs 1
Files 88
Run time 1min
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

03 Aug 2026 12:15AM UTC coverage: 94.145% (+0.08%) from 94.066%
30774067785

push

github

web-flow
test(keymaster): cover WalletSQLite defaults and connection guards (#832)

db/sqlite.ts reaches 100% on both branches (53.8% -> 100%) and lines
(93.1% -> 100%). Four of the six untaken branches were unexercised
default parameters on the constructor and create(); the other two were
the defensive `!this.db` guards, reachable only by stubbing connect() to
a no-op, since a successful connect always sets the handle.

Exercising the default constructor arguments surfaced a real asymmetry
between the two wallet backends:

    // WalletJson.saveWallet
    if (!fs.existsSync(this.dataFolder)) {
        fs.mkdirSync(this.dataFolder, { recursive: true });
    }

    // WalletSQLite.connect — no equivalent

WalletSQLite opens `${dataFolder}/${file}` directly, so an absent
directory fails with a raw SQLITE_CANTOPEN rather than being created or
reported clearly. The existing tests never hit it because they always
pass an already-created temp dir; only the default-argument path exposes
it.

Pinned by test asserting current behaviour rather than changed — whether
the two implementations of the same interface should agree is a design
call. Worth knowing that a fresh deployment relying on the sqlite wallet
needs `data/` to exist beforehand.

Repo branches 86.46% -> 86.68%.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

3606 of 4060 branches covered (88.82%)

Branch coverage included in aggregate %.

8229 of 8511 relevant lines covered (96.69%)

687.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30774067785.1 03 Aug 2026 12:18AM UTC 176
95.16
GitHub Action Run
Source Files on build 30774067785
  • Tree
  • List 88
  • Changed 73
  • Source Changed 0
  • Coverage Changed 73
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30774067785
  • 71d6a807 on github
  • Prev Build on main (#30770397419)
  • Next Build on main (#30776942573)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc