[Feat] [Refactor]: Implement Bulldozer JS (#1700)

This commit is contained in:
Aman Ganapathy
2026-07-02 10:09:46 -07:00
committed by GitHub
parent 484850e8d2
commit ec35b067eb
139 changed files with 16156 additions and 30062 deletions
@@ -158,7 +158,29 @@ jobs:
- name: Initialize database
run: pnpm run db:init
# This job runs base-branch code, so only start/backfill bulldozer-js when the base
# branch actually ships it (skipped on the PR that introduces bulldozer-js). Mirrors
# the run-cron-jobs hashFiles guard below.
- name: Start bulldozer-js in background
if: ${{ hashFiles('apps/bulldozer-js/package.json') != '' }}
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
env:
HEXCLAVE_BULLDOZER_JS_USE_TMP_LMDB: "1"
with:
run: pnpm run start:bulldozer &
wait-on: |
tcp:localhost:8146
tail: true
wait-for: 30s
log-output-if: true
# db:init only seeds Postgres now; mirror the seeded payment rows into the
# fresh bulldozer-js store so the backend's payment reads aren't empty.
- name: Backfill Bulldozer from Postgres
if: ${{ hashFiles('apps/bulldozer-js/package.json') != '' }}
run: pnpm run db:backfill-bulldozer-from-prisma
- name: Start stack-backend in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
with:
@@ -366,6 +388,23 @@ jobs:
- name: Initialize database
run: pnpm run db:init
- name: Start bulldozer-js in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
env:
HEXCLAVE_BULLDOZER_JS_USE_TMP_LMDB: "1"
with:
run: pnpm run start:bulldozer &
wait-on: |
tcp:localhost:8146
tail: true
wait-for: 30s
log-output-if: true
# db:init only seeds Postgres now; mirror the seeded payment rows into the
# fresh bulldozer-js store so the backend's payment reads aren't empty.
- name: Backfill Bulldozer from Postgres
run: pnpm run db:backfill-bulldozer-from-prisma
- name: Start stack-backend in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
with:
+17
View File
@@ -115,6 +115,23 @@ jobs:
- name: Initialize database
run: pnpm run db:init
- name: Start bulldozer-js in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
env:
HEXCLAVE_BULLDOZER_JS_USE_TMP_LMDB: "1"
with:
run: pnpm run start:bulldozer &
wait-on: |
tcp:localhost:8146
tail: true
wait-for: 30s
log-output-if: true
# db:init only seeds Postgres now; mirror the seeded payment rows into the
# fresh bulldozer-js store so the backend's payment reads aren't empty.
- name: Backfill Bulldozer from Postgres
run: pnpm run db:backfill-bulldozer-from-prisma
- name: Start stack-backend in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
with:
@@ -109,6 +109,23 @@ jobs:
- name: Initialize database
run: pnpm run db:init
- name: Start bulldozer-js in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
env:
HEXCLAVE_BULLDOZER_JS_USE_TMP_LMDB: "1"
with:
run: pnpm run start:bulldozer &
wait-on: |
tcp:localhost:6746
tail: true
wait-for: 30s
log-output-if: true
# db:init only seeds Postgres now; mirror the seeded payment rows into the
# fresh bulldozer-js store so the backend's payment reads aren't empty.
- name: Backfill Bulldozer from Postgres
run: pnpm run db:backfill-bulldozer-from-prisma
- name: Start stack-backend in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
with:
+17
View File
@@ -91,6 +91,23 @@ jobs:
- name: Initialize database
run: pnpm run db:init
- name: Start bulldozer-js in background
uses: JarvusInnovations/background-action@2428e7b970a846423095c79d43f759abf979a635 # v1.0.7
env:
HEXCLAVE_BULLDOZER_JS_USE_TMP_LMDB: "1"
with:
run: pnpm run start:bulldozer &
wait-on: |
tcp:localhost:8146
tail: true
wait-for: 30s
log-output-if: true
# db:init only seeds Postgres now; mirror the seeded payment rows into the
# fresh bulldozer-js store so the backend's payment reads aren't empty.
- name: Backfill Bulldozer from Postgres
run: pnpm run db:backfill-bulldozer-from-prisma
# Start backend ONLY on fallback port 8110 — primary port 8102 is intentionally left down
# so the SDK exercises its fallback logic for every request.
- name: Start stack-backend on fallback port (8110)