Skip to content

Conversation

@ureeves
Copy link
Contributor

@ureeves ureeves commented Jun 10, 2025

In this commit we add the infrastructure necessary to test the runtime's cost tracking. We take advantage of the tests that already exist to check the interpreter and the runtime match in the results that they produce, and add an assertion that the tracked costs should also be equivalent.

To trigger the cost tracking tests, a new feature test-cost-tracking is added. By default cost tracking checks are not included, to preserve current behavior.

We also add the tests to the CI infrastructure, by adding a new matrix field controlling if we test with cost tracking or not.

Resolves: #636

@ureeves ureeves force-pushed the test/cost-tracking branch 2 times, most recently from 54f1ea8 to 66b9e50 Compare June 10, 2025 14:11
In this commit we add the infrastructure necessary to test the runtime's
cost tracking. We take advantage of the tests that already exist to
check the interpreter and the runtime match in the results that they
produce, and add an assertion that the tracked costs should also be
equivalent.

To trigger the cost tracking tests, a new feature `test-cost-tracking`
is added. By default cost tracking checks are *not* included, to
preserve current behavior.

We also add the tests to the CI infrastructure, by adding a new matrix
field controlling if we test with cost tracking or not.

Resolves: #636
@ureeves ureeves force-pushed the test/cost-tracking branch from c078d5e to cdcaa30 Compare August 3, 2025 20:33
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ ureeves
❌ Acaccia
You have signed the CLA already but the status is still pending? Let us recheck it.

@ed-stacks
Copy link
Contributor

Closed in favor of #735

@ed-stacks ed-stacks closed this Oct 28, 2025
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.

Cost Tracking Testing

5 participants