Skip to content

fix: improve error visibility across publish pipeline#62

Merged
brendanjryan merged 2 commits intowevm:masterfrom
brendanjryan:fix/python-publish-debugging
Feb 18, 2026
Merged

fix: improve error visibility across publish pipeline#62
brendanjryan merged 2 commits intowevm:masterfrom
brendanjryan:fix/python-publish-debugging

Conversation

@brendanjryan
Copy link
Contributor

@brendanjryan brendanjryan commented Feb 18, 2026

Problem

When commands fail in CI, error output is swallowed — you get Process completed with exit code 1 with zero context. Additionally, subprocess errors (cargo, python, twine, git) give generic io error messages when binaries aren't found, and omit stdout/exit codes on failure.

Changes

action.yml

  • Fix changelogs version output swallowing — same set -e bug as publish: use && exit=0 || exit=$? so output is always echoed before failing
  • Fix changelogs publish output swallowing — capture exit code separately so echo "$output" always runs

python.rs

  • python -m build — wrap .output() with .map_err() for clear "command not found" errors; include stdout, stderr, and exit code on failure
  • twine upload — same treatment

rust.rs

  • cargo publish — same treatment: .map_err() on .output(), include stdout + stderr + exit code

publish.rs

  • git tag — log failures instead of silently ignoring them when git tag -a exits non-zero

@vercel
Copy link

vercel bot commented Feb 18, 2026

@brendanjryan is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@brendanjryan brendanjryan force-pushed the fix/python-publish-debugging branch from 1068aab to 185bda1 Compare February 18, 2026 00:29
@brendanjryan brendanjryan changed the title feat: add python-version input, fix swallowed publish errors fix: improve publish error visibility Feb 18, 2026
@brendanjryan brendanjryan force-pushed the fix/python-publish-debugging branch from 185bda1 to 32380a0 Compare February 18, 2026 00:34
@brendanjryan brendanjryan changed the title fix: improve publish error visibility fix: improve error visibility across publish pipeline Feb 18, 2026
@brendanjryan brendanjryan force-pushed the fix/python-publish-debugging branch from 32380a0 to 97ca169 Compare February 18, 2026 00:35
@brendanjryan brendanjryan merged commit f4433bf into wevm:master Feb 18, 2026
5 of 6 checks passed
@brendanjryan brendanjryan deleted the fix/python-publish-debugging branch February 18, 2026 00:44
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.

1 participant