Skip to content

Run arrow tests for --lib and --tests on CI builds - #9814

Merged
alamb merged 3 commits into
apache:mainfrom
alamb:alamb/run_release_test
Jun 9, 2026
Merged

Run arrow tests for --lib and --tests on CI builds#9814
alamb merged 3 commits into
apache:mainfrom
alamb:alamb/run_release_test

Conversation

@alamb

@alamb alamb commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

As noted in #9813 (comment), Rust debug builds panic on arithmetic overflow / underflow but release builds do not (they simply overflow / underflow). This means that some code paths may panic in debug builds that would have silently failed in release builds.

As we harden down the security posture of arrow-rs I would like to start testing in release mode too to ensure overflows such as #9813 can be properly validation

What changes are included in this PR?

Add Some new release mode tests: linux-release-test: et al

Are these changes tested?

They are only tests, no code changes

Are there any user-facing changes?

No

@alamb alamb added the development-process Related to development process of arrow-rs label Apr 25, 2026
@alamb alamb changed the title Run tests for --lib and --tests on CI builds Run arrow tests for --lib and --tests on CI builds Apr 25, 2026
@alamb

alamb commented Apr 25, 2026

Copy link
Copy Markdown
Contributor Author

A bunch of these tests take quite a bit of time:

https://github.com/apache/arrow-rs/actions/runs/24918932041/job/72976578508?pr=9814

I could reduce overall CI time by splitting out a few of the runs. But I will wait to see if anyone has additonal thoughts about this approach before spending more time on that

Screenshot 2026-04-24 at 9 18 45 PM

@alamb
alamb force-pushed the alamb/run_release_test branch from 79836cc to e3b56a9 Compare April 25, 2026 01:20
@alamb
alamb marked this pull request as ready for review April 25, 2026 15:23

@Jefffrey Jefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7min more seems a drop in the bucket compared to the miri run anyway

@alamb

alamb commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

7min more seems a drop in the bucket compared to the miri run anyway

Though @AdamGS is fixing the MIRI runs little by little 🤷

@alamb
alamb merged commit 7aa9782 into apache:main Jun 9, 2026
35 checks passed
@alamb

alamb commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Thank you @Jefffrey

@alamb
alamb deleted the alamb/run_release_test branch June 9, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of arrow-rs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run arrow tests for --lib and --tests on CI builds

2 participants