Skip to content

feat: add sync with coverage tool#1412

Open
souradeep-das wants to merge 2 commits intoethereum:forks/osakafrom
souradeep-das:souradeep/cov_sync
Open

feat: add sync with coverage tool#1412
souradeep-das wants to merge 2 commits intoethereum:forks/osakafrom
souradeep-das:souradeep/cov_sync

Conversation

@souradeep-das
Copy link
Copy Markdown
Contributor

What was wrong?

Related to Issue #1112

How was it fixed?

Added a script that runs live coverage of execution-specs while syncing mainnet blocks, and finds out blocks that hit code paths not covered by the baseline (json_infra tests).

This script:

  1. Generates a Baseline coverage by running json_infra tests if coverage.xml doesn't exist
  2. Converts coverage.xml to baseline_coverage.json if needed
  3. Runs slipcover along with the sync tool

Note:
To be able to pause/run from a midpoint, persist needs to work (on the sync tool). If state is persisted as a part of the sync tool, the syncing (and coverage) continues from that the last persisted state. This PR does not fix persist

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@SamWilsn SamWilsn added this to the Post-Osaka Refactoring milestone Dec 15, 2025
@github-actions
Copy link
Copy Markdown

This PR has had no activity for 60 days and is being closed.

@github-actions github-actions bot added the stale The Issue/PR has not had any activity for 60 days. PRs will be automatically closed. label Mar 10, 2026
@github-actions
Copy link
Copy Markdown

Closing this PR due to 60 days of inactivity.

@github-actions github-actions bot closed this Mar 10, 2026
@SamWilsn SamWilsn reopened this Mar 10, 2026
@github-actions github-actions bot removed the stale The Issue/PR has not had any activity for 60 days. PRs will be automatically closed. label Mar 14, 2026
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