You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release branch rolled back to pre-finalization state
Release tag deleted (if created)
This issue created for investigation
Manual Cleanup May Be Needed:
If images were pushed to GHCR before the failure, they are not automatically deleted. Check ghcr.io/vig-os/devcontainer:0.3.1-rc4-* and remove any orphaned images manually.
Next Steps:
Review the workflow logs to identify the root cause
Check rollback results above; fix any partial rollback manually
PR fix(ci): harden setup-env uv sync retry path #371 hardened uv sync with cache cleanup/retry logic, but also introduced a new retry-helper export path in setup-env (3aa4f4c), which writes and reuses BASH_ENV.
In release run 23296757616, setup-env runs twice in the same build-and-test job (build-image then test-image).
On the second invocation, PREV_BASH_ENV already equals RETRY_HELPER ($RUNNER_TEMP/setup-env-retry.sh). The merge logic prepends source "$PREV_BASH_ENV" into that same file, creating a self-reference.
The next bash step sources BASH_ENV, recursively sources itself, and crashes with SIGSEGV (exit 139).
Why CI can still pass: in CI workflow, build and image tests run in separate jobs/runners, so setup-env is not re-invoked in the same runner context.
Reference successful baseline run before this regression: run 23232712985.
Activity
c-vigo commentedon Mar 19, 2026
Root Cause Analysis
This failure is a regression related to, but distinct from, #370 and the fix merged in PR #371.
uv sync --frozen --all-extrascrashing intermittently (exit 139) during repeated environment setup.uv syncwith cache cleanup/retry logic, but also introduced a new retry-helper export path insetup-env(3aa4f4c), which writes and reusesBASH_ENV.23296757616,setup-envruns twice in the samebuild-and-testjob (build-imagethentest-image).PREV_BASH_ENValready equalsRETRY_HELPER($RUNNER_TEMP/setup-env-retry.sh). The merge logic prependssource "$PREV_BASH_ENV"into that same file, creating a self-reference.BASH_ENV, recursively sources itself, and crashes with SIGSEGV (exit 139).Why CI can still pass: in CI workflow, build and image tests run in separate jobs/runners, so
setup-envis not re-invoked in the same runner context.Reference successful baseline run before this regression: run 23232712985.
c-vigo commentedon Mar 19, 2026
Implementation Plan
Patch
setup-envself-reference guard.github/actions/setup-env/action.ymlPREV_BASH_ENVequalsRETRY_HELPER.if [ -n "$PREV_BASH_ENV" ] && [ -f "$PREV_BASH_ENV" ] && [ "$PREV_BASH_ENV" != "$RETRY_HELPER" ]; thenUpdate changelog (
Unreleased/ Fixed)CHANGELOG.mdFixedentry for Release 0.3.1-rc4 failed -- automatic rollback #374 describing the BASH_ENV self-reference recursion fix in setup-env.Verify call patterns and risk surface
setup-envin one job (the failing path).setup-envinvocation.Validation
Run image testsno longer crashes with exit 139.fix(ci): prevent setup-env BASH_ENV self-source recursion
fix(ci): prevent setup-env BASH_ENV self-source recursion (#375)
chore: release 0.3.1 (#342)