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

archetech / archon / 32401592846
95%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 06:14PM UTC
Jobs 1
Files 89
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

20 Aug 2026 06:09PM UTC coverage: 94.073%. Remained the same
32401592846

push

github

web-flow
test: Stop a cwd leak in wallet-db from failing cli-parity (#907)

wallet-db.test.ts chdirs into a temp dir, because WalletSQLite's default path
is relative to the working directory and that is the thing under test. The
paired try/finally covers a thrown assertion but not a jest timeout, which
abandons the pending body and moves on -- leaving the process in the temp dir.

cwd is process-global and the unit suite runs --runInBand, so cli-parity.test.ts,
which read its sources relative to process.cwd(), then died with an ENOENT
naming a temp directory. The reported failure pointed at the wrong file.

Fix both ends: cli-parity resolves from its own location via import.meta.url,
so no other suite's cwd can reach it; and wallet-db restores cwd in afterEach,
which jest runs even after a timeout. A guard test asserts the suite leaves cwd
as it found it, so a regression reports as itself rather than as a stranger's
ENOENT.

Verified by running a suite that leaks cwd on purpose ahead of cli-parity,
which now passes.

Fixes #903

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

3773 of 4247 branches covered (88.84%)

Branch coverage included in aggregate %.

8433 of 8728 relevant lines covered (96.62%)

686.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32401592846.1 20 Aug 2026 06:14PM UTC 178
95.09
GitHub Action Run
Source Files on build 32401592846
  • Tree
  • List 89
  • Changed 75
  • Source Changed 0
  • Coverage Changed 75
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32401592846
  • 924f8b95 on github
  • Prev Build on main (#32401575820)
  • Next Build on main (#32413083312)
  • 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