Skip to content

Release 0.3.0-rc2 failed -- automatic rollback #291

Closed

Description

@github-actions

Release 0.3.0-rc2 encountered an error during the automated release workflow.

Failed Jobs: build-and-test, publish

Workflow Run: View logs

Release PR: #270

Rollback Results:

  • Branch rollback: success
  • Tag deletion: success

Actions Taken:

  • 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.0-rc2-* and remove any orphaned images manually.

Next Steps:

  1. Review the workflow logs to identify the root cause
  2. Check rollback results above; fix any partial rollback manually
  3. Fix the issue on the release branch
  4. Re-run the workflow when ready

For details, check the workflow run linked above.

Activity

  1. added
    bug
    area:ci
    on Mar 13, 2026
  2. self-assigned this
    on Mar 13, 2026
  3. c-vigo commented on Mar 13, 2026

    @c-vigo
    Contributor

    Failure Diagnosis

    • Failed in Build and Test (arm64) during integration tests.
    • Failing test: tests/test_install_script.py::TestInstallScriptIntegration::test_install_creates_devcontainer_directory.

    Root Cause

    • The temp workspace directory generated by tempfile.mkdtemp(prefix=\"Install-Test-Project-\") can end with _.
    • That value flows into SHORT_NAME, then into pyproject.toml as project name.
    • In the failing case, it became install_test_project_fm7hy8q_ (trailing underscore), which uv sync rejects because package names must start/end with alphanumeric characters.

    Why RC1 Passed

    • RC1 used equivalent sanitization logic.
    • It passed because the random temp suffix happened to end with an alphanumeric character, so the latent bug did not trigger.

    Suggested Minimal Fix

    • In install.sh (and matching logic in assets/init-workspace.sh), normalize sanitized names so they cannot start/end with non-alphanumeric separators (e.g., trim leading/trailing _; optional collapse of repeated _), with a safe fallback if empty.

    References

  4. added a commit that references this issue on Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cibug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions