Repository navigation
fix(arrow-schema): stop asserting on unstable TryFromIntError message in tests - #10433
Merged
Merged
Conversation
bit2swaz
force-pushed
the
fix/miri-tryfromint-message
branch
from
July 25, 2026 03:30
96f5a42 to
b373c23
Compare
alamb
approved these changes
Jul 25, 2026
This was referenced Jul 25, 2026
alamb
pushed a commit
to alamb/arrow-rs
that referenced
this pull request
Oct 20, 2026
… in tests (apache#10433) # Which issue does this PR close? No separate issue. The fix is one line per test case and the failing CI runs are evidence enough. # Rationale for this change MIRI CI uses nightly Rust. A recent nightly changed the `Display` output of `TryFromIntError` from `"out of range integral type conversion attempted"` to `"number too large to fit in target type"` (and similar variants). Tests in `datatype_parse.rs` were asserting on that stdlib-owned suffix, so they broke on MIRI without any change to our code. # What changes are included in this PR? Trimmed 9 expected substrings in `parse_data_type_errors` to stop at the `:` that separates our message from the stdlib one. The tests now only assert on the part of the error string we control. # Are these changes tested? `parse_data_type_errors` passes on stable. MIRI CI should go green once this merges. # Are there any user-facing changes? No. Test-only change, no behavior or API impact. (cherry picked from commit b278c54)
Jefffrey
added a commit
that referenced
this pull request
Oct 21, 2026
…oc, MIRI and integration test fixes (#11727) # Which issue does this PR close? - Part of #11665 (58.4.1 release) # Rationale for this change CI on the 58_maintenance branch is red on every PR (e.g. #11365, #11703, #11704, #11705, #11707) for reasons unrelated to those PRs. # What changes are included in this PR? - Check in the root `Cargo.lock`, the same approach as #9941 - Backport #11305: remove duplicate `homepage` entries and let rustdoc infer the targets of five `arrow-avro` intra-doc links. - Backport #10433: stop asserting on the unstable `TryFromIntError` message in the `arrow-schema` tests. - Backport #9888: support `ListView`, `BinaryView` and `RunEndEncoded` in the integration test JSON parser. # Are these changes tested? Yes by CI # Are there any user-facing changes? No. --------- Signed-off-by: Jiawei Zhao <[email protected]> Co-authored-by: Aditya Mishra <[email protected]> Co-authored-by: Dewey Dunnington <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Jeffrey Vo <[email protected]> Co-authored-by: Phoenix <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
Jefffrey
added a commit
that referenced
this pull request
Oct 21, 2026
…9888, #10433, #11305 (#11728) # Which issue does this PR close? - Part of #11666 (57.3.2 release) # Rationale for this change The `Verify MSRV` job fails on PRs against `57_maintenance` (for example #11726) for reasons unrelated to those PRs. # What changes are included in this PR? Check in the root `Cargo.lock` (same approach as #9941 on `main`). This PR also carries the following backports needed to get CI green on `57_maintenance`: - #11305: remove redundant homepage and doc links (via the `59_maintenance` backport #11354) - #9888: - #10433: (fixes MIRI CI) - Fix Audit and MSRV CI jobs: install `cargo-audit` / `cargo-msrv` with `--locked` and ignore RUSTSEC-2026-0194/0195/0176/0177 (as on `59_maintenance`) # Are these changes tested? CI # Are there any user-facing changes? No. This only affects dependency resolution for workspace builds and CI. --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Jeffrey Vo <[email protected]> Co-authored-by: Dewey Dunnington <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Aditya Mishra <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
No separate issue. The fix is one line per test case and the failing CI runs are evidence enough.
Rationale for this change
MIRI CI uses nightly Rust. A recent nightly changed the
Displayoutput ofTryFromIntErrorfrom"out of range integral type conversion attempted"to"number too large to fit in target type"(and similar variants). Tests indatatype_parse.rswere asserting on that stdlib-owned suffix, so they broke on MIRI without any change to our code.What changes are included in this PR?
Trimmed 9 expected substrings in
parse_data_type_errorsto stop at the:that separates our message from the stdlib one. The tests now only assert on the part of the error string we control.Are these changes tested?
parse_data_type_errorspasses on stable. MIRI CI should go green once this merges.Are there any user-facing changes?
No. Test-only change, no behavior or API impact.