Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add Cannon STF verify recurring job #12165

Merged
merged 4 commits into from
Sep 27, 2024
Merged

ci: Add Cannon STF verify recurring job #12165

merged 4 commits into from
Sep 27, 2024

Conversation

Inphi
Copy link
Contributor

@Inphi Inphi commented Sep 26, 2024

This patch adds a recurring CI job that compares the generated states and execution of cannon against an older cannon release. It's an sanity check, over the existing VM tests, asserting that the Cannon STF isn't altered. This can be more robust than existing tests in the VM as it avoids bugs introduced to the test themselves.

For now, the job asserts that changes to Cannon does not alter the state transition function of the singlethreaded V1 state version (i.e. the version used for the Granite upgrade). In the future, the new job will be extended to verify multithreaded cannon and the upcoming cannon STF changes for holocene.

@Inphi Inphi force-pushed the inphi/cannon-verify-ci branch 2 times, most recently from f51ef22 to 66d7168 Compare September 26, 2024 21:53
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.97%. Comparing base (c8afa15) to head (63a8dba).
Report is 9 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12165      +/-   ##
===========================================
- Coverage    75.19%   74.97%   -0.22%     
===========================================
  Files           49       49              
  Lines         3656     3656              
===========================================
- Hits          2749     2741       -8     
- Misses         734      743       +9     
+ Partials       173      172       -1     
Flag Coverage Δ
cannon-go-tests 74.97% <ø> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

@Inphi Inphi force-pushed the inphi/cannon-verify-ci branch from e127562 to a9ac786 Compare September 26, 2024 22:49
@Inphi Inphi requested a review from ajsutton September 26, 2024 23:16
@Inphi Inphi marked this pull request as ready for review September 26, 2024 23:16
@Inphi Inphi requested review from a team as code owners September 26, 2024 23:16
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea.

@Inphi Inphi added this pull request to the merge queue Sep 27, 2024
Merged via the queue into develop with commit 6163b32 Sep 27, 2024
70 of 71 checks passed
@Inphi Inphi deleted the inphi/cannon-verify-ci branch September 27, 2024 01:38
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* ci: Add Cannon STF verify recurring job

* setup remote docker

* change make dir

* fix cwd
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.

2 participants