Skip to content

fix(ci): wire correct go-semantic-release outputs and Node 24 env#118

Closed
skynet2 wants to merge 3 commits intomasterfrom
ci/fix-semrel-outputs
Closed

fix(ci): wire correct go-semantic-release outputs and Node 24 env#118
skynet2 wants to merge 3 commits intomasterfrom
ci/fix-semrel-outputs

Conversation

@skynet2
Copy link
Copy Markdown
Member

@skynet2 skynet2 commented Apr 19, 2026

Summary

Two bugs in #117's workflow:

  1. Downstream jobs always skipped. I used output names from cycjimmy/semantic-release-action (new-release-published, new-release-version) but we actually use go-semantic-release/action, which emits version and never sets a published flag. The published output was empty, so every job gated on needs.version.outputs.published == 'true' was skipped — including goreleaser. That's why v1.0.0 tag was created but no binaries shipped.

  2. Node 20 deprecation warning. go-semantic-release/action@v1.24.1 still runs on Node 20. Setting FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at the workflow level silences the warning and opts in early, ahead of the 2026-09-16 removal.

Also drops allow-initial-development-versions: false — we're past v1.0.0, so the flag is moot (it only controls the 0.x→1.0 boundary).

Next commit behaviour

After merge, this fix(ci): commit will drive a patch bump → v1.0.1, and goreleaser will upload binaries (server + mcp-client × 5 platforms) to that release.

v1.0.0 has no binaries

The already-published v1.0.0 release is empty. To backfill it, run locally once:

git fetch --tags
git checkout v1.0.0
GITHUB_TOKEN=$(gh auth token) goreleaser release --clean

Or skip — v1.0.1 will carry the first real set of binaries a minute after merging this PR.

Test plan

  • Merge → workflow run shows published=true in the version job output
  • goreleaser job runs, uploads 10 archives + checksums to the v1.0.1 release
  • Docker / helm jobs still run (gate passes)
  • No Node.js 20 deprecation warning

skynet2 added 3 commits April 19, 2026 19:15
Previous SHA was invented and resolved to no tag.
The action emits 'version' (not 'new-release-version') and does not
publish a 'new-release-published' flag — my previous workflow read
nonexistent outputs, so 'published' was always empty and every
downstream job skipped. Derive both outputs from the single 'version'
output instead.

Also set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 at workflow level so the
Node 20-based action runs on Node 24 per GitHub's deprecation notice.

Drops allow-initial-development-versions=false since we're now past
v1.0.0 and the flag only affects the 0.x → 1.0 transition.
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.80%. Comparing base (3d5c3e4) to head (8b64ff1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   86.80%   86.80%           
=======================================
  Files          86       86           
  Lines        7155     7155           
=======================================
  Hits         6211     6211           
  Misses        717      717           
  Partials      227      227           
Flag Coverage Δ
unittests 86.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@skynet2 skynet2 closed this Apr 19, 2026
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.

1 participant