Skip to content

refactor(devnet): Improve anvil version detection and parsing.#501

Merged
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
refactor/devnet-anvil-version-check
Jul 13, 2026
Merged

refactor(devnet): Improve anvil version detection and parsing.#501
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
refactor/devnet-anvil-version-check

Conversation

@brunomenezes

Copy link
Copy Markdown
Contributor

Summary

Code changes to improve Anvil's version detection and provide better feedback on why failures are happening in that part.
Replace the regex matching with normalising the stdout as a JS Object and using the semver library to parse and recover a clean major.minor.patch from the anvil-version, as it follows the semver format but with some quirks like adding tag suffixes (e.g. 1.4.3-v1.4.3, 1.5.1-stable and so on).

@brunomenezes brunomenezes self-assigned this Jul 13, 2026
@brunomenezes brunomenezes moved this from Todo to Waiting review in Rollups SDK Jul 13, 2026
@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7b3abee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/devnet Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation Bot moved this from Waiting review to Waiting Merge in Rollups SDK Jul 13, 2026
@brunomenezes brunomenezes merged commit 4a19328 into prerelease/v2-alpha Jul 13, 2026
4 checks passed
@brunomenezes brunomenezes deleted the refactor/devnet-anvil-version-check branch July 13, 2026 14:09
@github-project-automation github-project-automation Bot moved this from Waiting Merge to Done in Rollups SDK Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants