Skip to content

fix: coerce workspace release tag_already_exists for workflow_call - #452

Merged
c-vigo merged 2 commits into
release/0.3.1from
bugfix/451-smoke-test-dispatch-failed
Mar 26, 2026
Merged

c-vigo merged 2 commits into
release/0.3.1from
bugfix/451-smoke-test-dispatch-failed

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Description

Smoke-test orchestration failed for 0.3.1-rc24 because the workspace release.yml passed needs.core.outputs.tag_already_exists (a string from job outputs) into release-publish.yml, which declares that input as type: boolean. GitHub Actions rejects the reusable workflow call, so the Publish job never spawns sub-jobs and the downstream Release run fails. This PR coerces the value with == 'true' so the call receives a real boolean.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • assets/workspace/.github/workflows/release.yml — pass tag_already_exists: ${{ needs.core.outputs.tag_already_exists == 'true' }} into release-publish.yml.
  • CHANGELOG.md — document the fix under ## [0.3.1] - TBD → Fixed.
  • assets/workspace/.devcontainer/CHANGELOG.md — same entry (workspace SSoT mirror).

Changelog Entry

Pasted from CHANGELOG.md on this branch (under ## [0.3.1] - TBD → Fixed; this release branch uses the TBD section instead of ## Unreleased):

- **Workspace release publish `tag_already_exists` input coercion** ([#451](https://github.com/vig-os/devcontainer/issues/451))
  - Pass a boolean into `release-publish.yml` via `needs.core.outputs.tag_already_exists == 'true'` so `workflow_call` does not reject string `"true"`/`"false"` job outputs

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — workflow expression change only; behavior verified via RCA against failed run logs. Follow-up validation is a new smoke-test dispatch after template reaches the validation repo.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

RCA draft for posting on the issue: docs/issues/issue-451-github-comment.md (optional).

Refs: #451

@c-vigo c-vigo self-assigned this Mar 26, 2026
@c-vigo
c-vigo enabled auto-merge March 26, 2026 14:46
@c-vigo
c-vigo disabled auto-merge March 26, 2026 14:47
@c-vigo
c-vigo requested a review from Copilot March 26, 2026 14:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a GitHub Actions reusable-workflow contract mismatch in the workspace release template by coercing a string job output into a real boolean when calling release-publish.yml, preventing workflow_call validation failures during smoke-test orchestration.

Changes:

  • Coerce needs.core.outputs.tag_already_exists to a boolean via == 'true' when calling the reusable publish workflow.
  • Document the fix in the root changelog and the workspace .devcontainer changelog mirror.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
assets/workspace/.github/workflows/release.yml Ensures tag_already_exists is passed as a boolean to the reusable publish workflow.
CHANGELOG.md Adds a “Fixed” entry describing the coercion bugfix for release publishing.
assets/workspace/.devcontainer/CHANGELOG.md Mirrors the same changelog entry for the workspace template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c-vigo
c-vigo enabled auto-merge March 26, 2026 14:49
@c-vigo
c-vigo merged commit 11bc8e9 into release/0.3.1 Mar 26, 2026
11 checks passed
@c-vigo
c-vigo deleted the bugfix/451-smoke-test-dispatch-failed branch March 26, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants