This is an automated email from the ASF dual-hosted git repository.
Jefffrey pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new d8c5bc0922 chore: speed up miri workflow & include arrow-cmp (#10580)
d8c5bc0922 is described below
commit d8c5bc0922f53f2acbc2df5525cce1cd242f8274
Author: Jeffrey Vo <[email protected]>
AuthorDate: Sun Aug 9 11:10:11 2026 +0900
chore: speed up miri workflow & include arrow-cmp (#10580)
before https://github.com/apache/arrow-rs/pull/10507 (running miri on
more crates), miri took about 15-20 minutes on average. with the new PR
it increased to a bit over 30 minutes because we're running more tests.
increase the partitions count to try get average runtime down, also use
taiki-e to install nextest via binary to shave off 3 minutes spent on
compiling nextest from source.
also include arrow-cmp (new crate) in the miri execution
---
.github/workflows/miri.sh | 3 ++-
.github/workflows/miri.yaml | 10 ++++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/miri.sh b/.github/workflows/miri.sh
index c50073ec54..38ee0614d0 100755
--- a/.github/workflows/miri.sh
+++ b/.github/workflows/miri.sh
@@ -18,6 +18,7 @@ CRATES="
-p arrow-data
-p arrow-ipc
-p arrow-json
+ -p arrow-cmp
-p arrow-ord
-p arrow-row
-p arrow-schema
@@ -33,7 +34,7 @@ setup_miri() {
}
-case $# in
+case $# in
0)
setup_miri
diff --git a/.github/workflows/miri.yaml b/.github/workflows/miri.yaml
index f243890451..aa62af399e 100644
--- a/.github/workflows/miri.yaml
+++ b/.github/workflows/miri.yaml
@@ -42,6 +42,7 @@ on:
- arrow-data/**
- arrow-ipc/**
- arrow-json/**
+ - arrow-cmp/**
- arrow-ord/**
- arrow-row/**
- arrow-schema/**
@@ -57,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- partition: [1, 2, 3, 4]
+ partition: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
@@ -68,10 +69,11 @@ jobs:
rustup override set nightly
cargo miri setup
- name: Set up nextest
- run: |
- cargo install cargo-nextest --version 0.9.132 --locked
+ uses: taiki-e/install-action@1beb33eee6d086258184383af9a538940be190ed
# v2.85.6
+ with:
+ tool: nextest
- name: Run Miri Checks
env:
RUST_BACKTRACE: full
RUST_LOG: "trace"
- run: bash .github/workflows/miri.sh ${{ matrix.partition }} 4
+ run: bash .github/workflows/miri.sh ${{ matrix.partition }} 6