Skip to content

Conversation

@danceratopz
Copy link
Member

@danceratopz danceratopz commented Oct 30, 2025

🗒️ Description

A suggestion how to fix the race condition observed in packages/testing unit tests, cf #1711.

The error described in #1711 can be reproduced on master by running the two tests in this order:

cd packages/testing
uv run pytest \
  src/execution_testing/cli/pytest_commands/plugins/filler/tests/test_filler.py::test_fill_variables[higher-gas-limit] \
  src/execution_testing/test_types/tests/test_types.py::test_model_copy[Environment]

🔗 Related Issues or PRs

#1711

✅ Checklist

  • All: Ran fast tox checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:
    uvx tox -e static
  • All: PR title adheres to the repo standard - it will be used as the squash commit message and should start type(scope):.
  • All: Considered adding an entry to CHANGELOG.md. skipped
  • All: Considered updating the online docs in the ./docs/ directory.
  • All: Set appropriate labels for the changes (only maintainers can apply labels).

Cute Animal Picture

image

@danceratopz danceratopz added C-bug Category: this is a bug, deviation, or other problem A-test-tests Area: tests for execution spec tests labels Oct 30, 2025
@danceratopz danceratopz requested a review from marioevz October 30, 2025 15:07
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

SamWilsn pushed a commit to SamWilsn/eth1.0-specs that referenced this pull request Oct 30, 2025
…ems (ethereum#1718)

* fix: move unit test

* Create Enums - Incomplete/broken attempt

* fix(filler/checklist): Template copying bug

* fix: EIPChecklist usage

* docs: Update usage

* refactor(eip_checklist): Remove new_* from all IDs

* fix: tox (minus spellcheck)

* fix: typing

* fix(docs,checklists): Rename section to be more descriptive

* docs: remove references to string EIP checklist notation

* docs: backtick `EIPChecklist` instances

* docs: update changelog

* docs: fix title

* fix(checklists): allow ommission of parentheses in checklist markers

* style(checklists): add stubs to solve mypy issues using checklist markers

* test(checkmarks): add fw tests that apply EIPChecklists in pytest.param

* fix(docs): fix bad links to exception tests

* fix(checklists): update test markers to use correct checklist IDs

Update test files to use the correct checklist IDs that match the template:
- Change 'new_precompile' prefix to 'precompile'
- This fixes mkdocs build warnings about missing checklist items

The checklist template uses 'precompile/test/*' IDs but tests were using
'new_precompile/test/*' IDs, causing template lookup failures during
documentation generation.

Also add missing docstrings to fix linting errors.

---------

Co-authored-by: danceratopz <[email protected]>
@marioevz marioevz changed the title fix: restore default gas after in fill pytester test fix(testing): restore default gas after in fill pytester test Oct 30, 2025
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.07%. Comparing base (15b5cfd) to head (9e00771).
⚠️ Report is 10 commits behind head on forks/osaka.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##           forks/osaka    #1718   +/-   ##
============================================
  Coverage        86.07%   86.07%           
============================================
  Files              743      743           
  Lines            44078    44078           
  Branches          3894     3894           
============================================
  Hits             37938    37938           
  Misses            5659     5659           
  Partials           481      481           
Flag Coverage Δ
unittests 86.07% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@marioevz marioevz merged commit 2857040 into ethereum:forks/osaka Oct 30, 2025
9 checks passed
@danceratopz danceratopz changed the title fix(testing): restore default gas after in fill pytester test fix(testing): restore default gas after fill pytester test Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-test-tests Area: tests for execution spec tests C-bug Category: this is a bug, deviation, or other problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants