Skip to content

ci: Ensure panic without debug assertions#898

Draft
Sword-Smith wants to merge 1 commit intomasterfrom
add-release-tests-to-ci
Draft

ci: Ensure panic without debug assertions#898
Sword-Smith wants to merge 1 commit intomasterfrom
add-release-tests-to-ci

Conversation

@Sword-Smith
Copy link
Copy Markdown
Member

@Sword-Smith Sword-Smith commented Apr 1, 2026

A number of tests must panic, also when debug assertions are not activated. This should act as a tripwire test against the bad logic I reference here:
#816 (comment)

Please don't bother considering this before we have a result from CI.

A number of tests must panic, also when debug assertions are not
activated. This should act as a tripwire test against the bad logic I
reference here:
#816 (comment)
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 1, 2026

Merging this PR will not alter performance

✅ 5 untouched benchmarks


Comparing add-release-tests-to-ci (81ad3c1) with master (f7b67c0)

Open in CodSpeed

@Sword-Smith
Copy link
Copy Markdown
Member Author

Sword-Smith commented Apr 2, 2026

This new run of tests takes up to 30 minutes, at least without caching. That's up to 50 % of the total time CI workflow time. Maybe it's too high a price to pay? If we instead run these tests through separated crates, by placing them in neptune-core/tests/ instead, then the price would probably be a lot lower. Try that!

@Sword-Smith Sword-Smith marked this pull request as draft April 2, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant