Skip to content

Conversation

@adambratschikaye
Copy link
Contributor

No description provided.

adambratschikaye and others added 5 commits December 11, 2025 10:18
Our tests on canister backtraces currently assert that error messages
contain exact backtraces for test canisters built with Rust. But those
backtraces can change slightly with different versions of the Rust
compiler or the CDK.

This makes those tests more robust to changes in the compiler or CDK by
performing regex matches against the essential parts of the expected
backtrace. This allows us to ignore boilerplate inserted by the compiler
or CDK.
@adambratschikaye adambratschikaye changed the title Switch from regex to regex-lite crates chore(DSM): Switch from regex to regex-lite crates Dec 16, 2025
@github-actions github-actions bot added the chore label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant