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

lsm / HyperNeo / 32439900304
80%

Build:
DEFAULT BRANCH: dev
Ran 21 Aug 2026 02:28AM UTC
Jobs 34
Files 701
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

21 Aug 2026 02:27AM UTC coverage: 79.407%. First build
32439900304

push

github

web-flow
fix(daemon): restore unconditional automatic pre-migration backups (#2631)

* fix(daemon): restore unconditional automatic pre-migration backups (#1177)

PR #2621 skipped the pre-migration backup for DBs over 1 GiB
(HYPERNEO_DB_MIGRATION_BACKUP_MAX_BYTES), leaving large production DBs
unprotected during upgrades. Every migration now gets a backup again,
unconditionally; the env bound is removed entirely.

The blocking cost that motivated the skip is eliminated by picking a
fast snapshot path per attempt, fastest first, with the chosen strategy
and duration logged:

- fs-copy (Bun, the pinned runtime): copyFileSync clonefiles on APFS
  and reflinks via copy_file_range on btrfs/XFS; a non-empty -wal
  sidecar is copied so committed WAL frames survive the snapshot.
- vacuum-into (non-Bun runtimes): VACUUM INTO produces a consistent,
  compacted snapshot including committed WAL content, with no upfront
  wal_checkpoint(TRUNCATE) stall.
- checkpoint-copy (last resort): checkpoint + full-file copy, the old
  behavior.

Backup retention stays at 3, now pruning -wal sidecars with their
backups. Verified on a 28.9 GiB production clone: the fs-copy backup
completed in 0-1 ms with ~0 net disk (APFS clone), the backup passed
PRAGMA integrity_check, and restarts with no pending migrations create
no backup. db-maintenance.md updated accordingly.

* fix(daemon): discard incomplete fs-copy backups on WAL sidecar failure

Review feedback on #2631: a failed -wal sidecar copy was swallowed with
a warning while the fs-copy backup was still reported as created,
leaving a snapshot that silently lacks recently committed WAL frames.

copyWalSidecar now reports success; when a non-empty WAL exists but its
sidecar copy fails, the partial artifacts (db and -wal) are removed and
the cascade falls through to VACUUM INTO, which produces a
self-contained snapshot. The checkpoint-copy last resort fails closed
the same way instead of reporting success with a stale copy, and
VACUUM IN... (continued)

44432 of 59837 branches covered (74.26%)

Branch coverage included in aggregate %.

76 of 92 new or added lines in 1 file covered. (82.61%)

60380 of 72157 relevant lines covered (83.68%)

3971.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
85.85
packages/daemon/src/storage/database-core.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-shared - 32439900304.1 21 Aug 2026 02:28AM UTC 24
85.19
GitHub Action Run
2 daemon-online-rewind-a - 32439900304.2 21 Aug 2026 02:30AM UTC 377
13.62
GitHub Action Run
3 daemon-online-lifecycle - 32439900304.3 21 Aug 2026 02:29AM UTC 377
14.13
GitHub Action Run
4 daemon-online-convo - 32439900304.4 21 Aug 2026 02:30AM UTC 377
13.54
GitHub Action Run
5 daemon-4-space-migrations-a - 32439900304.5 21 Aug 2026 02:29AM UTC 63
31.53
GitHub Action Run
6 daemon-4-space-storage - 32439900304.6 21 Aug 2026 02:28AM UTC 162
47.84
GitHub Action Run
7 daemon-1-core - 32439900304.7 21 Aug 2026 02:29AM UTC 385
32.7
GitHub Action Run
8 web - 32439900304.8 21 Aug 2026 02:29AM UTC 284
77.11
GitHub Action Run
9 daemon-0-shared-handlers-workflow - 32439900304.9 21 Aug 2026 02:30AM UTC 383
28.36
GitHub Action Run
10 daemon-online-rpc-b - 32439900304.10 21 Aug 2026 02:30AM UTC 377
10.83
GitHub Action Run
11 daemon-online-rpc-f - 32439900304.11 21 Aug 2026 02:29AM UTC 377
14.11
GitHub Action Run
12 daemon-4-space-migrations-b - 32439900304.12 21 Aug 2026 02:28AM UTC 31
69.23
GitHub Action Run
13 daemon-online-components - 32439900304.13 21 Aug 2026 02:29AM UTC 377
9.89
GitHub Action Run
14 daemon-online-space-b - 32439900304.14 21 Aug 2026 02:28AM UTC 377
11.43
GitHub Action Run
15 daemon-5-space-runtime-b - 32439900304.15 21 Aug 2026 02:30AM UTC 232
31.85
GitHub Action Run
16 daemon-online-websocket - 32439900304.16 21 Aug 2026 02:28AM UTC 377
9.99
GitHub Action Run
17 daemon-online-sdk - 32439900304.17 21 Aug 2026 02:28AM UTC 377
13.56
GitHub Action Run
18 daemon-online-space-c - 32439900304.18 21 Aug 2026 02:29AM UTC 377
18.3
GitHub Action Run
19 daemon-online-agent-sdk - 32439900304.19 21 Aug 2026 02:29AM UTC 377
13.61
GitHub Action Run
20 daemon-online-git - 32439900304.20 21 Aug 2026 02:28AM UTC 377
10.47
GitHub Action Run
21 daemon-online-features-c - 32439900304.21 21 Aug 2026 02:29AM UTC 377
14.1
GitHub Action Run
22 daemon-5-space-runtime-a - 32439900304.22 21 Aug 2026 02:29AM UTC 249
23.16
GitHub Action Run
23 daemon-online-rpc-e - 32439900304.23 21 Aug 2026 02:28AM UTC 377
10.46
GitHub Action Run
24 daemon-online-space-d - 32439900304.24 21 Aug 2026 02:28AM UTC 377
16.52
GitHub Action Run
25 daemon-online-features-a - 32439900304.25 21 Aug 2026 02:28AM UTC 377
8.68
GitHub Action Run
26 daemon-5-space-agent-other - 32439900304.26 21 Aug 2026 02:28AM UTC 298
18.95
GitHub Action Run
27 daemon-online-rpc-c - 32439900304.27 21 Aug 2026 02:28AM UTC 377
10.23
GitHub Action Run
28 daemon-online-rpc-a - 32439900304.28 21 Aug 2026 02:29AM UTC 377
10.58
GitHub Action Run
29 daemon-online-rewind-b - 32439900304.29 21 Aug 2026 02:29AM UTC 377
14.04
GitHub Action Run
30 daemon-online-features-b - 32439900304.30 21 Aug 2026 02:28AM UTC 377
13.99
GitHub Action Run
31 daemon-online-mcp - 32439900304.31 21 Aug 2026 02:28AM UTC 377
10.21
GitHub Action Run
32 daemon-online-space-a - 32439900304.32 21 Aug 2026 02:29AM UTC 377
18.36
GitHub Action Run
33 daemon-online-rpc-d - 32439900304.33 21 Aug 2026 02:29AM UTC 377
10.61
GitHub Action Run
34 daemon-online-coordinator - 32439900304.34 21 Aug 2026 02:28AM UTC 367
1.25
GitHub Action Run
Source Files on build 32439900304
  • Tree
  • List 701
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32439900304
  • 4cf92144 on github
  • Prev Build on dev (#32436735808)
  • Next Build on dev (#32440517769)
  • 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