29 Commits
Author SHA1 Message Date
Konstantin Wohlwend 17c10863a9 Various fixes before pushing to prod 2026-07-17 16:57:40 -07:00
Aman GanapathyandGitHub 970c01998c [Refactor] [Bulldozer]: unwrap lmdb errors (#1775)
CommitErrors are hard to parse as they stand so we unwrap them.


<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Unwrap `lmdb` commit failures to surface the real underlying error
(e.g., ENOSPC/MDB_MAP_FULL) instead of the opaque "Commit failed"
wrapper. Improves logs and error propagation across
availability/durability paths.

- **Refactors**
- Added `unwrapLmdbCommitError` to await and rethrow the real `lmdb`
commit error; returns `HexclaveAssertionError` if not an `Error`
(`@hexclave/shared`).
- Routed all availability/durability trackers and batched commit paths
through the unwrapping helper to ensure callers see the true cause.
  - Tests cover pass-through, unwrap behavior, and non-Error assertions.
- Updated a comment in `instant-availability` to note low-level LMDB
unwrapping.

<sup>Written for commit 0a1d69beae.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/hexclave/hexclave/pull/1775?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved LMDB commit error reporting by exposing the underlying cause
instead of an opaque wrapper.
* Ensured pending availability and durability operations receive the
unwrapped commit error.
  * Added handling for commit failures with unexpected error values.

* **Tests**
* Added coverage for wrapped, unwrapped, and non-standard commit error
scenarios.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-17 09:20:19 -07:00
Konstantin Wohlwend cb6c9024fe Make Bulldozer Studio log less 2026-07-10 11:02:18 -07:00
Konstantin Wohlwend 09e5a97d77 Less Bulldozer spam 2026-07-09 21:50:13 -07:00
Konstantin Wohlwend 38237fe363 Decrease BulldozerJS log spam 2026-07-08 15:56:59 -07:00
Konsti WohlwendandGitHub 4cb0affb64 Fix CI: stop e2e dev-env leaking into hermetic package tests + refresh stale project snapshots (#1744) 2026-07-08 12:01:46 -07:00
github-actions[bot] 105f03fb94 chore: update package versions 2026-07-06 23:34:27 +00:00
github-actions[bot] 16912e7d33 chore: update package versions 2026-07-06 05:53:33 +00:00
github-actions[bot] 0344efb844 chore: update package versions 2026-07-06 05:51:13 +00:00
nams1570 e13f12a799 feat: pass env into bs tracing 2026-07-05 21:47:44 -07:00
github-actions[bot] 675e8608af chore: update package versions 2026-07-06 04:45:14 +00:00
github-actions[bot] 1fe5150740 chore: update package versions 2026-07-06 04:29:19 +00:00
github-actions[bot] 56dd0f357b chore: update package versions 2026-07-06 03:17:30 +00:00
Konstantin Wohlwend 3cfe5c8ad3 Batch Bulldozer transaction operations every 10ms 2026-07-03 18:11:36 -07:00
Konstantin Wohlwend f5f440757c Left join table no longer has quadratic behavior 2026-07-03 15:46:14 -07:00
Konstantin Wohlwend eb29c711f4 Fabulous performance improvements 2026-07-03 14:40:58 -07:00
Konstantin Wohlwend 0bdb102378 Improve Bulldozer logging 2026-07-03 14:23:55 -07:00
Konstantin Wohlwend 0d70662eaf Vastly improved LMDB logging 2026-07-03 12:17:35 -07:00
Konstantin Wohlwend 9d0d22b250 Log combinedSeqAvailabilityResolves 2026-07-03 11:22:11 -07:00
Konstantin Wohlwend 882236c7ef Better LMDB KV store logging 2026-07-03 11:09:42 -07:00
Konstantin Wohlwend b6444e0164 More and better Bulldozer logs 2026-07-03 10:31:41 -07:00
nams1570 f9b457e062 feat: expose gc on bs start
this should allow gc() calls to clean up
2026-07-03 10:07:05 -07:00
Konstantin Wohlwend d568752a3d getDebugInfo() for Bulldozer
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
DB migration compat / Check if migrations changed (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
DB migration compat / No migration changes (skipped) (push) Has been cancelled
2026-07-02 17:04:15 -07:00
Konstantin Wohlwend c21fa2ee88 Improve info logging for globalThis object 2026-07-02 16:52:27 -07:00
Konstantin Wohlwend f312200801 Better debug logging for Bulldozer globalThis 2026-07-02 16:49:11 -07:00
Konstantin Wohlwend 784454522d Add bulldozerDb as a global on globalThis 2026-07-02 16:33:32 -07:00
Konstantin Wohlwend e9d4a09750 Bulldozer now GC's more aggressively 2026-07-02 15:59:19 -07:00
github-actions[bot] 976aaffd56 chore: update package versions 2026-07-02 17:12:34 +00:00
Aman GanapathyandGitHub ec35b067eb [Feat] [Refactor]: Implement Bulldozer JS (#1700) 2026-07-02 10:09:46 -07:00