Skip to content

πŸ› release.yml is registered with an unparsed definition β€” emits log-less failing push runsΒ #5339

Description

@clubanderson

Problem

GitHub has release.yml registered with an unparsed definition, even though the file declares a name on line 1 and is valid YAML. It is the only workflow in the repository in this state.

$ gh api repos/kubestellar/hive/actions/workflows
  Build and Push Docker Image   state=active  path=.github/workflows/docker.yml
  Release Line Guard            state=active  path=.github/workflows/release-line-guard.yml
  Release Lines Gate            state=active  path=.github/workflows/release-lines-gate.yml
  .github/workflows/release.yml state=active  path=.github/workflows/release.yml    <-- fallback name

Every healthy workflow reports its declared name:. release.yml reports its path, which is the fallback GitHub uses when it cannot resolve the definition. Meanwhile:

$ head -1 .github/workflows/release.yml
name: Tagged Release

and the file parses cleanly with yaml.safe_load.

Observable symptom

The repository is emitting push-event runs of release.yml that fail instantly with zero jobs and no logs, despite the workflow declaring only workflow_run:

18:39  push          name=".github/workflows/release.yml"  failure
18:38  push          name=".github/workflows/release.yml"  failure
18:36  push          name=".github/workflows/release.yml"  failure
18:36  workflow_run  name="Tagged Release"                 skipped
18:34  workflow_run  name="Tagged Release"                 skipped

The correlation is exact: runs carrying the fallback name are push-triggered and fail with no jobs; runs carrying Tagged Release are workflow_run and behave normally. GitHub's UI reports "This run likely failed because of a workflow file issue."

These appear whenever a branch touches release.yml β€” observed on PR branches for #5334, #5332, and #5329.

Why it matters

  1. It manufactures false failures. A red, log-less run against release.yml is indistinguishable at a glance from a genuine release failure. It cost real triage time today, and it is very likely the source of the "log-less failed runs" that [ci-maintainer] Tagged Release 5th recurrence, new root cause evidence: required status context 'tide' never reports β€” release PR #5319 stuck BLOCKED/PENDING through full 120s retry windowΒ #5324 attributed to scratch-branch deletion.
  2. It may not be cosmetic. A definition GitHub cannot fully resolve is a poor foundation for the one workflow that holds contents: write and cuts releases. Whether the push runs are the only consequence is unverified.

Not caused by the recent fix

The earliest instance is on the unmerged branch of #5334, before it landed, and further instances appear on #5332 and #5329. #5334 did not add a push trigger β€” release.yml declares workflow_run only, before and after.

What to investigate

  1. Why the definition does not resolve. The file is valid YAML with a line-1 name:, so the cause is something GitHub's workflow parser rejects that a YAML parser accepts β€” a bad on: shape, an unresolvable expression, a duplicate key, or an encoding artifact. Compare against a healthy neighbour.
  2. Whether re-registration clears it. Renaming the workflow file and renaming it back, or an empty commit touching it, may force a fresh parse. Worth trying before deeper work.
  3. Whether any real behavior is affected, or only the run-name and the spurious push runs.

Verification

  • gh api repos/kubestellar/hive/actions/workflows reports Tagged Release for release.yml.
  • Touching release.yml on a branch produces no push-event run.
  • No log-less zero-job failures appear for this workflow.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions