Skip to content

Conversation

@fselmo
Copy link
Contributor

@fselmo fselmo commented Dec 5, 2025

🗒️ Description

  • --traces with --evm-dump-dir is currently broken due to improper LazyAlloc handling. This PR fixes it by validating with get() and properly serializing via model_dump_json.
  • Use a default --evm-dump-dir of traces/ which is also in .gitignore so we don't have to keep removing it from the working dir. Previously, --traces did absolutely nothing without a specified --evm-dump-dir but it also didn't tell you anything in the cli if you did this, which is quite confusing DevEx.

🔗 Related Issues or PRs

✅ 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.
  • 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

Screenshot 2025-12-05 at 11 53 25

@fselmo fselmo added C-bug Category: this is a bug, deviation, or other problem A-test-cli-fill Area: Tests Fill CLI—runs tests and generates fixtures (eg. `p/t/s/e/cli/pytest_commands/fill.py`) labels Dec 5, 2025
@fselmo fselmo force-pushed the fix/traces-default-evm-dump-dir branch from be310c6 to 0793283 Compare December 5, 2025 19:06
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.31%. Comparing base (2a6f9ee) to head (0793283).
⚠️ Report is 1 commits behind head on forks/osaka.

Additional details and impacted files
@@             Coverage Diff              @@
##           forks/osaka    #1852   +/-   ##
============================================
  Coverage        87.31%   87.31%           
============================================
  Files              541      541           
  Lines            32832    32832           
  Branches          3015     3015           
============================================
  Hits             28668    28668           
  Misses            3557     3557           
  Partials           607      607           
Flag Coverage Δ
unittests 87.31% <ø> (ø)

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.

@fselmo fselmo changed the title fix(test-cli-fill): Use default evm-dump-dir for traces; gitignore it bug(test-cli-fill): Use default evm-dump-dir for traces; gitignore it Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-test-cli-fill Area: Tests Fill CLI—runs tests and generates fixtures (eg. `p/t/s/e/cli/pytest_commands/fill.py`) C-bug Category: this is a bug, deviation, or other problem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant