Uh oh!
There was an error while loading. Please reload this page.
Enable debug assertions in CI. - #20832
Conversation
alamb
commented
Mar 9, 2026
if we go this route we should also leave some breadcrumbs in the code to know when we can revert the changes too It might make more sense to just fix the upstream bug |
stuhood
commented
Mar 9, 2026
I believe that we want to enable this regardless of the upstream bug fixes, because this is about preventing further debug-assertion-failures from landing. |
mbutrovich
commented
Mar 9, 2026
+1 from me, I just raised this issue with @andygrove on Comet today when we are adding I love |
This did not fail because But this PR will/should fail until the arrow upgrade fix for #20689 is actually merged. |
stuhood
commented
Mar 9, 2026
Yea, it looks like you are right: https://doc.rust-lang.org/cargo/reference/profiles.html#dev I'm happy to remove it, or to leave it explicit. |
2010YOUY01
commented
Mar 11, 2026
Now most rust tests is running in Line 230 in 86cb815 However, for the extended SQLite test suite (which includes many test cases), the workload should be dominated by test execution time rather than compilation time, so this |
0c6dabc to
cbc4299Comparestuhood
commented
Mar 25, 2026
With #21044 in, this should now be unblocked: I've rebased it. @alamb, @mbutrovich: mind taking another look? |
mbutrovich
left a comment
There was a problem hiding this comment.
Approved pending CI. Thanks @stuhood!
Which issue does this PR close?
main#20831.Rationale for this change
CI uses release profiles to allow tests to run more quickly (and potentially also to provide more coverage for the most realistic case for end users of the system). But debug assertions can expose real bugs / mistaken assumptions, and so they should be covered in CI as well.
What changes are included in this PR?
Adjust the Rust build profiles which are used in CI to enable debug assertions.
Are these changes tested?
Yes, by CI.
Are there any user-facing changes?
No.