Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Devnet 0.7.0 rc (for CI) #804

Merged
merged 29 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2e5d667
ci: move rust build/test to ghcloud (#752)
brad-mysten Aug 12, 2022
1d02581
Use `TaskGroup` to ensure all primary / worker tasks are cancelled on…
mwtian Aug 13, 2022
5e5f197
chore(deps): bump signature from 1.5.0 to 1.6.0 (#770)
dependabot[bot] Aug 15, 2022
3c0adac
chore(deps): bump libc from 0.2.127 to 0.2.131 (#771)
dependabot[bot] Aug 15, 2022
de13f19
chore(deps): bump k256 from 0.11.3 to 0.11.4 (#772)
dependabot[bot] Aug 15, 2022
a453ead
chore(deps): bump futures-io from 0.3.21 to 0.3.23 (#774)
dependabot[bot] Aug 15, 2022
fc0e1f4
fix: Avoid spammy logging on hitting the entwork's BoundedExecutor (#…
huitseeker Aug 15, 2022
3a2da22
[fix] block_waiter serve blocks with batches of similar digest ids (#…
akichidis Aug 15, 2022
374c2c2
[refactor] use block_waiter instead of batch_loader (#738)
akichidis Aug 15, 2022
4d19178
chore(deps): bump futures-channel from 0.3.21 to 0.3.23 (#775)
dependabot[bot] Aug 15, 2022
39889ef
chore(deps): bump multihash from 0.16.2 to 0.16.3 (#781)
dependabot[bot] Aug 15, 2022
e236e79
chore(deps): bump pin-project from 1.0.11 to 1.0.12 (#783)
dependabot[bot] Aug 15, 2022
86a7613
chore(ci): retire ubuntu-latest for performance-sensitive jobs
huitseeker Aug 15, 2022
8edcb96
fix: kill slow tests after 5 minutes
huitseeker Aug 15, 2022
df2adef
chore(deps): bump futures-task from 0.3.21 to 0.3.23 (#767)
dependabot[bot] Aug 15, 2022
744011d
chore: bump rust toolchain to 1.63 (#764)
huitseeker Aug 15, 2022
66cde3f
chore(deps): bump ahash from 0.7.6 to 0.8.0 (#769)
dependabot[bot] Aug 15, 2022
52ffcbe
chore(deps): bump os_str_bytes from 6.2.0 to 6.3.0 (#784)
dependabot[bot] Aug 15, 2022
dbd5c40
chore(deps): bump axum from 0.5.14 to 0.5.15 (#786)
dependabot[bot] Aug 15, 2022
71cc9a0
chore(deps): Update the mysten-infra pointer
huitseeker Aug 15, 2022
4e53a94
chore(deps): bump futures-util from 0.3.21 to 0.3.23
dependabot[bot] Aug 15, 2022
b53824a
chore: adapt to new version of futures-executor
huitseeker Aug 15, 2022
c0fce26
chore(deps): bump serde from 1.0.142 to 1.0.143 (#788)
dependabot[bot] Aug 15, 2022
9be99e1
chore(deps): bump time from 0.3.12 to 0.3.13 (#793)
dependabot[bot] Aug 15, 2022
12f9314
chore(deps): bump futures from 0.3.21 to 0.3.23 (#792)
dependabot[bot] Aug 15, 2022
371f0e8
fix(ci): repair the nightly build (#797)
huitseeker Aug 16, 2022
a0f7628
fix: Make leader election select from the whole Committee (#762)
huitseeker Aug 16, 2022
333a064
chore(deps): bump hdrhistogram from 7.5.0 to 7.5.1 (#794)
dependabot[bot] Aug 16, 2022
ade7d1d
fix: ignore RUSTSEC-2020-0159, for now
huitseeker Aug 16, 2022
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
14 changes: 14 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@ status-level = "skip"
fail-fast = false
# Retry failing tests in order to not block builds on flaky tests
retries = 2
# Mark tests as slow after 1 minute, kill them after 5
slow-timeout = { period = "60s", terminate-after = 5 }

[profile.ignored]
# Print out output for failing tests as soon as they fail, and also at the end
# of the run (for easy scrollability).
failure-output = "immediate-final"
# Show skipped tests in the CI output.
status-level = "skip"
# Do not cancel the test run on the first failure.
fail-fast = false
# Retry failing tests in order to not block builds on flaky tests
retries = 2
# no killing slow tests, by design
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
codecov-grcov:
name: Generate code coverage
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
strategy:
fail-fast: true
steps:
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
jobs:
end-to-end-tests:
name: Run long-running end-to-end tests
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -43,13 +43,14 @@ jobs:
# These are considered the end-to-end "slow" tests for us
- name: cargo nextest
run: |
cargo nextest run -E 'kind(test) + package(primary)' --run-ignored ignored-only
cargo nextest run -E 'kind(test) + package(primary)' --profile ignored --run-ignored ignored-only

beta:
name: Run test on the beta channel
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@nextest
- name: Install beta toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -60,14 +61,17 @@ jobs:
- name: cargo clippy
run: cargo xclippy -D warnings
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --features celo
run: |
cargo nextest run --features celo --profile ci
- name: Doctests
run: |
cargo test --doc --features celo
# Ensure there are no uncommitted changes in the repo after running tests
- run: scripts/changed-files.sh

release:
name: build release binaries
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -78,7 +82,7 @@ jobs:
args: --all-targets --features celo --release --profile=release

cargo-udeps:
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
# TODO: reactivate when we have self-hosted runners
# - windows-latest
- ubuntu-ghcloud
- windows-ghcloud
fail-fast: false
env:
RUSTFLAGS: -D warnings
Expand All @@ -78,7 +77,7 @@ jobs:
- run: scripts/changed-files.sh

clippy:
runs-on: ubuntu-latest
runs-on: ubuntu-ghcloud
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down
Loading