Skip to content

refactor(devnet): Configure sequential tasks and exit on error#481

Merged
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
refactor/devnet-build-tasks
May 27, 2026
Merged

refactor(devnet): Configure sequential tasks and exit on error#481
brunomenezes merged 1 commit into
prerelease/v2-alphafrom
refactor/devnet-build-tasks

Conversation

@brunomenezes
Copy link
Copy Markdown
Contributor

Summary

Code changes to stop publishing of now-considered-incomplete builds and also to avoid race conditions in the dependencies task, which downloads and extracts artefact information. After the release/publishing of version alpha.12, the expected testnet and mainnet deployment information was missing. Through careful checking in the release action:8:43, an EEXIST followed by an ENOENT error was logged.

In more detail, local replication is not 100% guaranteed due to timing, but it occurs not only in the temporary folder build/ but also a few times in the out/ folder, as the build process flattens content and puts it together for subsequent tasks to consume.

As a result, the download and extraction tasks now run sequentially, and the Task runner is explicitly instructed to exit on error.

…ner to exit on error.

* Dependencies task download and extract artifacts information. The change prevents race-condition errors that cause EEXIST and ENOENT errors.
* Set task runner to exit on error. That change is targeting the release CI action to avoid publishing a package with missing data.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 27, 2026

🦋 Changeset detected

Latest commit: 7c5511c

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

Copy link
Copy Markdown
Contributor

@endersonmaia endersonmaia left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation Bot moved this from Todo to Waiting Merge in Rollups SDK May 27, 2026
@brunomenezes brunomenezes merged commit f8ce0a2 into prerelease/v2-alpha May 27, 2026
4 checks passed
@brunomenezes brunomenezes deleted the refactor/devnet-build-tasks branch May 27, 2026 10:49
@github-project-automation github-project-automation Bot moved this from Waiting Merge to Done in Rollups SDK May 27, 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