Skip to content

Commit bd35b33

Browse files
authored
feat(state-prune): support tail replay on existing output (#3991)
* fix(replay): finalize existing output without reopening db * feat(state-prune): add tail replay for existing output * feat(state-prune): allow skipping replay compact * feat(db): import missing indexed l2 transactions * fix(db): avoid target indexer init in import * fix(state-prune): address replay review feedback * Avoid crates.io installs for CI cargo tools * Reuse prebaked Rust and accept downloaded artifacts * Reduce self-hosted Rust bootstrap and validation load * Proxy rust toolchain downloads on self-hosted * Stabilize self-hosted Rust jobs * ci: reduce self-hosted runner bootstrap load * ci: remove stale proxy from cross-platform check * ci: skip cross-platform check on pull requests * fix(examples): use local framework dependencies
1 parent 4a5668f commit bd35b33

20 files changed

Lines changed: 2127 additions & 368 deletions

File tree

.github/actions/rust-setup/action.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
runs:
22
using: composite
33
steps:
4+
- id: preinstalled
5+
run: |
6+
set -euo pipefail
7+
if command -v rustc >/dev/null 2>&1 \
8+
&& command -v cargo >/dev/null 2>&1 \
9+
&& cargo fmt --version >/dev/null 2>&1 \
10+
&& cargo clippy --version >/dev/null 2>&1; then
11+
echo "available=true" >> "$GITHUB_OUTPUT"
12+
rustc --version
13+
cargo --version
14+
cargo fmt --version
15+
cargo clippy --version
16+
else
17+
echo "available=false" >> "$GITHUB_OUTPUT"
18+
fi
19+
shell: bash
20+
421
- run: |
522
set -euo pipefail
623
packages=(
@@ -44,5 +61,6 @@ runs:
4461
shell: bash
4562
4663
- uses: dtolnay/rust-toolchain@1.91.1
64+
if: ${{ steps.preinstalled.outputs.available != 'true' }}
4765
with:
4866
components: rustfmt, clippy

0 commit comments

Comments
 (0)