You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] repository_dispatch smoke-test release job treats missing tag release as existing #355
area:ciCI/CD, GitHub Actions, workflowsarea:workflowDeveloper workflow, commands, rules, skillsbugSomething isn't workingeffort:smallLess than 1 hourpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
The Publish smoke-test release artifact job fails in Create or validate GitHub release for tag 0.3.1-rc3, even when the release does not exist.
The workflow captures gh api .../releases/tags/${TAG} output with || true and checks only for non-empty stdout. On 404, GitHub CLI still returns a JSON error payload, so the script incorrectly enters the "release exists" branch and compares prerelease=null against expected true, then exits 1.
Steps to Reproduce
Trigger repository_dispatch with:
event_type=smoke-test-trigger
tag=0.3.1-rc3
release_kind=candidate
Run workflow Repository Dispatch Listener in vig-os/devcontainer-smoke-test.
Observe job Publish smoke-test release artifact fail at step Create or validate GitHub release.
Expected Behavior
If no release exists for the tag, the workflow should create it (gh release create ... --prerelease for candidate tags).
area:ciCI/CD, GitHub Actions, workflowsarea:workflowDeveloper workflow, commands, rules, skillsbugSomething isn't workingeffort:smallLess than 1 hourpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
Activity
fix(ci): use status-aware smoke-test release lookup
docs(ci): add changelog entry for release lookup fix
fix(ci): fail fast on non-404 release lookup errors
fix(ci): detect missing release via HTTP status
fix(ci): use status-aware smoke-test release lookup (#356)
chore: release 0.3.1 (#342)