Skip to content

Smoke-test dispatch failed for 0.3.1-rc14 #421

Closed

Description

@vig-os-release-app

Smoke-test dispatch failed while orchestrating downstream release validation.

Dispatch metadata

Workflow context

Job results

  • validate: success
  • deploy: success
  • wait-deploy-merge: success
  • cleanup-release: success
  • trigger-prepare-release: success
  • ready-release-pr: success
  • trigger-release: failure
  • merge-release-pr: skipped
  • summary: failure

Manual cleanup guidance

  • Inspect deploy/release PRs and workflow logs before retrying.
  • If needed, close stale release PRs and delete stale release/<version> branch.
  • Re-dispatch using a new RC tag/version once root cause is fixed.

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

    Failure chain

    repository-dispatch.yml (trigger-release job)
      → release.yml (run 23459089461)
        → release-core.yml (Validate Release Core job)
          → step 8: "Validate image accessibility" ← FAILED
        → Rollback on Failure job
          → step 10: "Create failure issue" ← ALSO FAILED
    

    Primary cause: redundant image check runs docker CLI inside a container that doesn't have it

    The Validate Release Core job in release-core.yml runs inside a container:

    container:
      image: ghcr.io/vig-os/devcontainer:${{ needs.resolve-image.outputs.image-tag }}

    Step 8, "Validate image accessibility", then attempts:

    retry --retries 3 --backoff 5 --max-backoff 30 -- docker manifest inspect "$IMAGE" > /dev/null 2>&1

    This fails because:

    1. The docker CLI is not installed in the devcontainer image. Confirmed locally: docker run --rm ghcr.io/vig-os/devcontainer:0.3.1-rc14 bash -c 'which docker' → not found.
    2. retry detects the command-not-found (ENOENT) and exits immediately (exit 127) without retrying — total elapsed time ~70ms, consistent with the CI logs showing the step completing in ~80ms.
    3. The > /dev/null 2>&1 suppresses both retry's diagnostic output and the underlying error, so the logs only show the generic "Cannot access image manifest" message.

    The step is redundant by design. The validate job is already running inside the image it's trying to validate. If the image were inaccessible, the job container would never have started. The resolve-image composite action already performs this same check on the bare runner (where the docker CLI exists), and that check passed.

    Secondary cause: Rollback job cannot create failure issue

    The Rollback on Failure job also runs in a container. Its "Create failure issue" step runs gh issue create, but gh requires a git repository context to resolve --repo. The checkout step is gated on needs.core.outputs.pre_finalize_sha != '', which is empty because validation failed before that output was set. Without a checkout, gh fails:

    fatal: not a git repository (or any parent up to mount point /)
    

    This fails 3 times with backoff (5s, 10s) before giving up.

    Evidence

    Signal Value
    Failed step Validate image accessibility (step 8 of Validate Release Core)
    Elapsed time ~80ms (no retries occurred — retry exits immediately on ENOENT)
    Docker CLI in image Not installed (which docker → not found)
    resolve-image same check Passed on bare runner (docker CLI available there)
    Container image pull Succeeded (image is accessible)
    Rollback failure gh issue create → "not a git repository" (no checkout)

    Downstream state

    • Deploy PR #74: merged ✓
    • Release PR #75: open, not merged (labeled release-kind:candidate)
    • No tags were created, no finalization commits were pushed — no cleanup needed beyond the stale release PR/branch if desired.

    Fix direction

    Remove the redundant "Validate image accessibility" step from release-core.yml — the container job already proves image accessibility. The resolve-image composite action's check on the bare runner is sufficient.

    The rollback gh issue create failure is a separate issue (missing GH_REPO env or unconditional checkout).

  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