Skip to content

Smoke-test release phase 2 failed for 0.3.1 #419

Closed

Description

@vig-os-release-app

Smoke-test release phase 2 failed while triggering downstream release workflow.

Release metadata

Workflow context

Job results

  • validate: success
  • trigger-release: failure
  • summary: failure

Activity

  1. added
    bug
    on Mar 23, 2026
  2. self-assigned this
    on Mar 23, 2026
  3. c-vigo commented on Mar 23, 2026

    @c-vigo
    Contributor

    Root cause analysis (0.3.1 smoke-test phase 2)

    Summary

    Phase 2 failed because the downstream release.yml run in devcontainer-smoke-test tries to check out release/0.3.1, but that branch no longer exists when the workflow runs. The branch was removed automatically when the release PR merged, before phase 2’s release.yml could use it.

    Reconstructed timeline (UTC, 2026-03-23)

    So: deployment and prepare-release (phase 1) behaved as designed; the failure is confined to phase 2 waiting on a release.yml that assumes release/<version> still exists after the release PR has merged.

    Technical root cause

    Downstream release-core.yml checks out release/${{ version }} unconditionally in the validate job (see assets/workspace/.github/workflows/release-core.yml, step Checkout release branch).

    After phase 1 enables auto-merge, the release PR merges quickly; with delete branch on merge, release/0.3.1 is removed immediately. Phase 2 then dispatches release.yml, which still expects that ref — hence the checkout error.

    This is a design gap: phase 2 orchestration assumes the release branch survives the merge, but auto-merge plus auto-delete-head-branch removes it first.

    Possible directions for a fix (separate scope)

    1. Recreate the branch in phase 2 — e.g. in on-release-pr-merge.yml, recreate release/<version> from the merge commit before dispatching release.yml.
    2. Make release-core.yml resilient — if release/<version> is missing, fall back to main (content already merged).
    3. Turn off auto-delete head branches on the smoke-test repo (keeps the branch; needs cleanup discipline).
    4. Change orchestration — e.g. defer merge until after downstream release.yml succeeds (larger behavioral change).

    Happy to help turn one of these into a concrete issue/PR once we pick an approach.

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions