Skip to content

Remove unnecessary execution_time_us assertions - #93

Merged
andrewhassan merged 1 commit into
mainfrom
ah.remove-unnecessary-assertions
Jan 22, 2026
Merged

Remove unnecessary execution_time_us assertions#93
andrewhassan merged 1 commit into
mainfrom
ah.remove-unnecessary-assertions

Conversation

@andrewhassan

Copy link
Copy Markdown
Contributor

Fixes https://github.com/shop/issues-shopifyvm/issues/844

In a recent build, we noticed that there was a failure in the defaults_to_counting_all_instructions test due to execution_time_us being 3 instead of 0. This assertion doesn't make sense for this test since the test is about instruction counts. It also doesn't add value to check that it's >= 0, since that's a guarantee for a uint64.

I've also removed this assertion in can_bypass_deserialization_instructions for a similar reason.

@andrewhassan
andrewhassan merged commit 2130ffc into main Jan 22, 2026
6 checks passed
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.

3 participants