Release workflow exits with code 1 on v1.0.0 despite successful upload #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Release workflow for v1.0.0 exited with code 1, but the release itself appears functionally correct.
Affected runs
What the failure logs show
The workflow:
kube-vip-1.0.0.tar.gz(sha256: 495288275f...)Relevant failure log extract:
Release state after the failure
kube-vip-1.0.0.tar.gz(7189 bytes) contains:headlamp-kube-vip-plugin/main.js✅headlamp-kube-vip-plugin/package.json✅artifacthub-pkg.ymlchecksum is correctly set tosha256:495288275f39ddcaeb9c5a9e5d870b4bdf83e27cfe1672fcd9aebcbda627722a✅Impact
The v1.0.0 release is usable. However:
fail_on_unmatched_files: truein the release upload step is a likely culprit — possibly a second file (e.g. a checksums file or signature) is expected but not producedReproduction
Trigger a new release via the release workflow to see if the failure is consistent.
Related
The sealed-secrets plugin release workflow had a different but related issue: the checksum placeholder was not replaced (see PR #42 in that repo). May be related to the same shared
.githubworkflow bug.Root Cause Identified
I reviewed the failure logs for run 23515274699. The exact failure is:
This is not a file upload failure. The release itself succeeded:
🎉 Release ready at https://github.com/privilegedescalation/headlamp-kube-vip-plugin/releases/tag/v1.0.0✅The failure occurs in the merge release PR step. The release PR was in clean status (all checks passed, auto-merge not needed), but the old workflow used
gh pr merge --auto, which throws a GraphQL error when there are no pending required checks.This is exactly the bug being fixed by PR #77 in the shared
.githubworkflow. Once that PR merges and theplugin-release.yamlis updated, this error will no longer occur — the new logic checksmergeableStatefirst and uses direct merge when the PR is in clean status.No action needed on this repo. This will be resolved when PR #77 in
privilegedescalation/.githubmerges.QA Triage Update
This bug is addressed by .github PR #78 (fix(plugin-release): set fail_on_unmatched_files to false).
Current status of PR #78:
Once PR #78 is merged, the shared plugin-release workflow will set
fail_on_unmatched_files: falsefor all plugins, eliminating this false-positive exit code 1 on successful releases. This issue can be closed after merge is confirmed.