Skip to content

Comments

cannon: Feature toggle eventfd2 support#15408

Closed
ajsutton wants to merge 15 commits intombax/issue-13447/go-1.23from
aj/go-1.23-feature-toggles
Closed

cannon: Feature toggle eventfd2 support#15408
ajsutton wants to merge 15 commits intombax/issue-13447/go-1.23from
aj/go-1.23-feature-toggles

Conversation

@ajsutton
Copy link
Contributor

Description

Sets up feature toggling for eventfd2 support so that we can support both the current production STF and the new one supporting eventfd2. The solidity implementation hasn't been updated yet.

Also since all the examples are now built with go1.23 tests are failing for versions other than the new multithreaded. Either need to go back to compiling them for 1.22 or only run those tests on the new version.

Builds on #14692

@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 66.21622% with 25 lines in your changes missing coverage. Please review.

Project coverage is 42.93%. Comparing base (39666f4) to head (d50f78a).
Report is 78 commits behind head on mbax/issue-13447/go-1.23.

Files with missing lines Patch % Lines
cannon/mipsevm/tests/helpers.go 63.33% 9 Missing and 2 partials ⚠️
cannon/mipsevm/versions/state.go 73.68% 5 Missing ⚠️
cannon/cmd/load_elf.go 0.00% 4 Missing ⚠️
cannon/mipsevm/multithreaded/state.go 0.00% 2 Missing ⚠️
cannon/mipsevm/program/testutil/mocks.go 0.00% 1 Missing ⚠️
cannon/mipsevm/singlethreaded/state.go 0.00% 1 Missing ⚠️
cannon/mipsevm/testutil/vmtests.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##           mbax/issue-13447/go-1.23   #15408      +/-   ##
============================================================
- Coverage                     46.35%   42.93%   -3.43%     
============================================================
  Files                          1227     1114     -113     
  Lines                        103043    97543    -5500     
============================================================
- Hits                          47768    41881    -5887     
- Misses                        51906    52309     +403     
+ Partials                       3369     3353      -16     
Flag Coverage Δ
cannon-go-tests-32 18.19% <17.56%> (-43.80%) ⬇️
cannon-go-tests-64 51.31% <60.81%> (-5.73%) ⬇️
contracts-bedrock-tests ?

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

Files with missing lines Coverage Δ
cannon/mipsevm/arch/arch32.go 100.00% <ø> (ø)
cannon/mipsevm/arch/arch64.go 100.00% <ø> (ø)
cannon/mipsevm/multithreaded/instrumented.go 60.75% <100.00%> (+0.50%) ⬆️
cannon/mipsevm/multithreaded/mips.go 90.22% <100.00%> (-3.09%) ⬇️
cannon/mipsevm/versions/version.go 81.48% <100.00%> (+1.48%) ⬆️
cannon/mipsevm/program/testutil/mocks.go 46.66% <0.00%> (ø)
cannon/mipsevm/singlethreaded/state.go 12.25% <0.00%> (-43.63%) ⬇️
cannon/mipsevm/testutil/vmtests.go 0.00% <0.00%> (-91.00%) ⬇️
cannon/mipsevm/multithreaded/state.go 50.19% <0.00%> (-4.95%) ⬇️
cannon/cmd/load_elf.go 0.00% <0.00%> (ø)
... and 2 more

... and 139 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mbaxter mbaxter force-pushed the mbax/issue-13447/go-1.23 branch 2 times, most recently from df40740 to 2c6d87c Compare April 22, 2025 21:26
@ajsutton
Copy link
Contributor Author

We landed this feature toggle support separately to adding the new sys call support.

@ajsutton ajsutton closed this Apr 23, 2025
@ajsutton ajsutton deleted the aj/go-1.23-feature-toggles branch September 8, 2025 23:04
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