Skip to content

Commit c6c1510

Browse files
authored
Merge pull request #1577 from o1-labs/dw/heartbeat-processors
Remove heartbeat processors and sqlite requirements
2 parents 6572f0d + 2deccfa commit c6c1510

File tree

41 files changed

+56
-2711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+56
-2711
lines changed

.dockerignore

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ cli/bin
2323
cli/tests
2424
!cli/bin/snark-worker
2525

26-
# Heartbeats processor
27-
tools/heartbeats-processor/.env
28-
tools/heartbeats-processor/data/
29-
tools/heartbeats-processor/credentials/
30-
tools/heartbeats-processor/*.db
31-
# Ensure .sqlx files are included
32-
!tools/heartbeats-processor/.sqlx/
33-
3426
# GH workflows
3527
.claude
3628
.github
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: 'Setup Build Dependencies'
22
description: 'Install system dependencies required for building Mina'
33
inputs:
4-
include-sqlite:
5-
description: 'Include SQLite3 in the installation'
6-
required: false
7-
default: 'false'
84
install-nextest:
95
description: 'Install cargo-nextest for faster test execution'
106
required: false
@@ -17,11 +13,7 @@ runs:
1713
shell: bash
1814
run: |
1915
sudo apt update || true
20-
if [ "${{ inputs.include-sqlite }}" = "true" ]; then
21-
sudo apt install -y protobuf-compiler sqlite3 || true
22-
else
23-
sudo apt install -y protobuf-compiler || true
24-
fi
16+
sudo apt install -y protobuf-compiler || true
2517
2618
- name: Setup build dependencies (macOS)
2719
if: runner.os == 'macOS'
@@ -33,4 +25,4 @@ runs:
3325
if: inputs.install-nextest == 'true'
3426
uses: taiki-e/install-action@v2
3527
with:
36-
tool: nextest
28+
tool: nextest

.github/workflows/docker-heartbeats-processor.yaml

Lines changed: 0 additions & 105 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,10 @@ jobs:
1919
- uses: actions/checkout@v5
2020
- name: Setup build dependencies
2121
uses: ./.github/actions/setup-build-deps
22-
with:
23-
include-sqlite: true
2422
- name: Use shared OCaml setting up steps
2523
uses: ./.github/actions/setup-ocaml
2624
with:
2725
ocaml_version: ${{ matrix.ocaml_version }}
28-
- name: Setup SQLite database for SQLx
29-
run: |
30-
sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql
3126
- name: Setup Rust
3227
uses: ./.github/actions/setup-rust
3328
with:
@@ -36,12 +31,8 @@ jobs:
3631
cache-prefix: lint-${{ matrix.toolchain }}-v0
3732
- name: Run make check
3833
run: make check
39-
env:
40-
DATABASE_URL: "sqlite:///tmp/heartbeats.db"
4134
- name: Run make lint
4235
run: make lint
43-
env:
44-
DATABASE_URL: "sqlite:///tmp/heartbeats.db"
4536

4637
lint-tx-fuzzing:
4738
timeout-minutes: 10

.github/workflows/test-docs-scripts.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ jobs:
6767
node --version
6868
npm --version
6969
protoc --version
70-
sqlite3 --version
7170
wasm-pack --version
7271
shellcheck --version
7372
@@ -124,7 +123,6 @@ jobs:
124123
node --version
125124
npm --version
126125
protoc --version
127-
sqlite3 --version
128126
wasm-pack --version
129127
shellcheck --version
130128
@@ -171,7 +169,7 @@ jobs:
171169
- name: Verify installations
172170
run: |
173171
echo "Verifying installed tools..."
174-
nix develop --command bash -c "rustc --version && cargo --version && node --version && npm --version && protoc --version && sqlite3 --version && wasm-pack --version"
172+
nix develop --command bash -c "rustc --version && cargo --version && node --version && npm --version && protoc --version && wasm-pack --version"
175173
176174
177175
docker-ubuntu:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
123123
([#1546](https://github.com/o1-labs/mina-rust/pull/1546))
124124
- **transactions**: fixed a typo in `p2p_request_transactions_if_needed` where snark count was used instead of transaction count
125125
([#1563](https://github.com/o1-labs/mina-rust/pull/1563)).
126+
- **tools**: remove heartbeat-processors
127+
([#1577](https://github.com/o1-labs/mina-rust/pull/1577))
126128

127129
## v0.17.0
128130

0 commit comments

Comments
 (0)