Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a90946a
ci: allow lint workflow on v4.2.0-dev
dmidem Jun 1, 2026
1fa93ac
Add ECR and ECS pipelines to zsa1 branch (#131)
ronkq Jun 3, 2026
443544a
Update push-ecr.yaml (#137)
ronkq Jun 4, 2026
6fdbb1f
ci: skip trusted_chain_sync_handles_forks_correctly test (#138)
dmidem Jun 4, 2026
15494e5
split run attempts
PaulLaux Jun 4, 2026
9117a2e
Merge branch 'zsa1' into sync-zcash-v4.2.0-merge
dmidem Jun 4, 2026
b3cc16d
Merge branch 'sync-zcash-v4.2.0-merge-pk1' into sync-zcash-v4.2.0-merge
dmidem Jun 4, 2026
83c653e
fix(ci): use regtest dockerfile for ECR push (#141)
ronkq Jun 10, 2026
285e13e
ci: use cargo nextest in ci-basic.yml
dmidem Jun 11, 2026
b40f525
ci: update the upstream YAML files to trigger on PRs to zsa1
dmidem Jun 11, 2026
6b2ff2a
ci: update the upstream YAML files to trigger on PRs to zsa1 (fixed)
dmidem Jun 11, 2026
3561641
Temporarily pin Rust toolchain to 1.85.1
dmidem Jun 11, 2026
50b2e3d
ci: pin lint workflow to Rust 1.94 temporarily
dmidem Jun 11, 2026
2161bb0
ci: pin unused-deps job to Rust 1.94 and cargo-udeps 0.1.60
dmidem Jun 11, 2026
f2987d8
Try using a pinned nightly toolchain for unused-deps
dmidem Jun 12, 2026
4168a64
ci: pin test-crates matrix job to Rust 1.94
dmidem Jun 12, 2026
56ecc8c
ci: pin test-crates matrix job to Rust 1.94 (2)
dmidem Jun 12, 2026
18619b7
Merge branch 'zsa1' into sync-zcash-v4.2.0-merge
dmidem Jun 12, 2026
11233e3
ci: try to remove test-threads limit for cargo nextest in zebrad acce…
dmidem Jun 12, 2026
2fad89f
Remove duplicate cargo test step from basic CI
dmidem Jun 15, 2026
63ef2f2
ci: add retries for sync_large_checkpoints_mempool_mainnet in upstrea…
dmidem Jun 15, 2026
a99696b
Pin Rust toolchain to Rust 1.94.0 used as stable for upstream v4.2.0
dmidem Jun 15, 2026
9642f91
Pin cargo-nextest install action to commit used in upstream CI
dmidem Jun 15, 2026
bf3dd4a
Pin cargo-nextest install action to commit used in upstream CI
dmidem Jun 15, 2026
3cce12f
Run doctests in basic CI
dmidem Jun 15, 2026
3ad942a
Specify cargo-nextest tool for pinned install action
dmidem Jun 15, 2026
11a97a0
Retry only confirmed flaky tests via nextest config
dmidem Jun 15, 2026
ec27fc2
Refresh PR checks
dmidem Jun 15, 2026
ac2d5f6
Merge branch 'zsa-support' into sync-zcash-v4.2.0-merge
dmidem Jun 18, 2026
ee1a60b
fix(ci): enable ZSA PR checks on integration branches
dmidem Jun 18, 2026
61eabda
fix(ci): remove internal ECS workflows from ZSA PR
dmidem Jun 18, 2026
6493603
Run basic CI only in QED-it/zebra
dmidem Jun 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,13 @@ default-filter = 'package(zebrad) and test(=lightwalletd_test_suite)'
[profile.rpc-z-getsubtreesbyindex-snapshot]
slow-timeout = { period = "30m", terminate-after = 2 }
default-filter = 'package(zebrad) and test(=fully_synced_rpc_z_getsubtreesbyindex_snapshot_test)'

# --- QEDIT temporary retries ---

# TODO: Remove retries after investigating periodic random failures.
# Add more tests here only after confirming similar intermittent failures.
[[profile.default.overrides]]
filter = '''
test(=sync_large_checkpoints_mempool_mainnet)
'''
retries = 3
34 changes: 12 additions & 22 deletions .github/workflows/ci-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:

jobs:
test:
if: ${{ github.repository == 'QED-it/zebra' }}
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -54,31 +55,20 @@ jobs:
sed -i 's|.*"--cfg", .feature="tx_v6".*|# &|' .cargo/config.toml
sed -i 's|.*"--cfg", "zcash_unstable=\\"nu7\\"".*|# &|' .cargo/config.toml

- name: Run non-network tests
env:
SKIP_NETWORK_TESTS: "1"
run: timeout --preserve-status 1h cargo test --verbose --locked
- name: Install cargo-nextest
uses: taiki-e/install-action@305bebabd4457bed9b82541755f034994382465b # v2.68.10
with:
tool: cargo-nextest

- name: Run network-sensitive tests
- name: Run tests
run: |
for attempt in 1 2 3; do
echo "network-sensitive tests attempt ${attempt}"

timeout --preserve-status 45m bash -c '
set -euo pipefail
cargo test -p zebra-network --lib --verbose --locked -- --test-threads=1
cargo test -p zebrad --test acceptance --verbose --locked -- --test-threads=1
' && exit 0

status=$?
echo "network-sensitive tests attempt ${attempt} failed with status ${status}"
timeout --preserve-status 1h \
cargo nextest run --workspace --locked

if [ "${attempt}" = "3" ]; then
exit "${status}"
fi

sleep 30
done
- name: Run doc tests
run: |
timeout --preserve-status 30m \
cargo test --doc --workspace --locked

- name: Run doc check
run: cargo doc --workspace --no-deps --all-features --document-private-items --locked
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Lint

on:
pull_request:
# Temporarily allow CI on the QEDIT integration branch.
# TODO: Remove v4.2.0-dev before merging upstream.
branches:
- main
# TODO: Temporary ZSA integration branches. Remove before merging to main.
- zsa-support
- v4.2.0-dev
paths:
- "**/*.rs"
Expand All @@ -16,11 +16,7 @@ on:
- .github/workflows/lint.yml

push:
# Temporarily allow CI on the QEDIT integration branch.
# TODO: Remove v4.2.0-dev before merging upstream.
branches:
- main
- v4.2.0-dev
branches: [main]
paths:
- "**/*.rs"
- "**/Cargo.toml"
Expand Down Expand Up @@ -54,7 +50,8 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [stable, beta]
# TODO: QED-it temporary Rust 1.94 pin: stable when testing Zebra v4.2.0 on upstream CI; remove before upstream merge.
rust-version: [1.94]
type: [release, tests]
include:
- type: release
Expand All @@ -75,8 +72,7 @@ jobs:
cache-on-failure: true
- uses: ./.github/actions/setup-zebra-build
- name: Run clippy
# TODO: Temporary QED-it fork exception for clippy::manual_option_zip; remove before merging this branch upstream.
run: cargo clippy ${{ matrix.args }} --features "${{ matrix.features }}" -- -A unknown-lints -A clippy::manual_option_zip
run: cargo clippy ${{ matrix.args }} --features "${{ matrix.features }}"

crate-checks:
permissions:
Expand Down Expand Up @@ -170,11 +166,13 @@ jobs:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c #v1.15.2
with:
toolchain: nightly
# TODO: QED-it temp nightly pin: matches Zebra v4.2.0 CI test period; remove before upstream merge.
toolchain: nightly-2026-03-06
cache-on-failure: true
- uses: taiki-e/install-action@305bebabd4457bed9b82541755f034994382465b #v2.68.10
with:
tool: cargo-udeps
# TODO: QED-it temp cargo-udeps 0.1.60 pin: stable for Zebra v4.2.0 CI; remove before upstream merge.
tool: cargo-udeps@0.1.60
- uses: ./.github/actions/setup-zebra-build
- run: cargo udeps --workspace --all-targets --all-features --locked

Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/test-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Test Crate Build

on:
pull_request:
branches: [main]
branches:
- main
# TODO: Temporary ZSA integration branches. Remove before merging to main.
- zsa-support
- v4.2.0-dev
paths:
- "**/*.rs"
- "**/Cargo.toml"
Expand Down Expand Up @@ -57,7 +61,8 @@ jobs:

- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c #v1.15.2
with:
toolchain: stable
# TODO: QED-it temp Rust 1.94 pin: stable for Zebra v4.2.0 CI; remove before upstream merge.
toolchain: "1.94"
components: clippy
cache-on-failure: true
- uses: ./.github/actions/setup-zebra-build
Expand Down Expand Up @@ -109,7 +114,8 @@ jobs:

- uses: actions-rust-lang/setup-rust-toolchain@1780873c7b576612439a134613cc4cc74ce5538c #v1.15.2
with:
toolchain: stable
# TODO: QED-it temp Rust 1.94 pin: stable for Zebra v4.2.0 CI; remove before upstream merge.
toolchain: "1.94"
components: clippy
cache-key: crate-build-${{ matrix.crate }}
cache-on-failure: true
Expand Down Expand Up @@ -184,7 +190,6 @@ jobs:
cargo clippy --package ${{ matrix.crate }} --all-features --all-targets -- -D warnings
cargo build --package ${{ matrix.crate }} --all-features --all-targets


test-crate-build-success:
name: test crate build success
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Test Docker Config

on:
pull_request:
branches: [main]
branches:
- main
# TODO: Temporary ZSA integration branches. Remove before merging to main.
- zsa-support
- v4.2.0-dev
paths:
- "**/*.rs"
- "**/Cargo.toml"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Unit Tests

on:
pull_request:
branches: [main]
branches:
- main
# TODO: Temporary ZSA integration branches. Remove before merging to main.
- zsa-support
- v4.2.0-dev
paths:
- "**/*.rs"
- "**/Cargo.toml"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "1.94.0"
Loading