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

lsm / neokai / 24785616163
82%

Build:
DEFAULT BRANCH: dev
Ran 22 Apr 2026 02:59PM UTC
Jobs 0
Files 0
Run time –
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

Canceled at 26 Apr 2026 08:10PM UTC via web
24785616163

push

github

web-flow
fix: remove lock file on process exit and checkpoint WAL on close (#1591)

* fix: remove lock file on process exit and checkpoint WAL on close

- DatabaseLock.acquire() now registers a synchronous process.on('exit')
  handler that unlinks the lock file as a fallback when async signal
  handlers (SIGTERM, SIGHUP, Bun Ctrl+C kill) do not fire.
- DatabaseLock.release() removes the exit listener via
  process.removeListener() so it does not run after a graceful shutdown
  already deleted the file.
- DatabaseCore.close() now runs PRAGMA wal_checkpoint(TRUNCATE) before
  db.close() to flush all WAL frames to the main database file and
  prevent data loss on abrupt termination.
- Tests: new database-lock.test.ts covering acquire/release/exit-handler
  behaviour; extended database-core.test.ts with WAL checkpoint and lock
  file release tests; added lock file cleanup assertions to
  daemon-app-cleanup.test.ts.

* test: replace require() with top-level ES import for rmSync

Reviewer nit: replace the inline `require('node:fs')` in the afterEach
of daemon-app-cleanup.test.ts with a proper top-level ES module import
to match the rest of the file's import style.
Source Files on build 24785616163
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #24785616163
  • 042afef1 on github
  • Prev Build on dev (#24783836928)
  • Next Build on dev (#24788859147)
  • 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