GeezerVison is showing github.com — fix(ci): repair goreleaser workflow — go-version-file pointed at deleted go.work (#344) by dezren39 · Pull Request #452 · developing-today/code
Conversation
dezren39
commented
Oct 21, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem → solution
Fixes #344 (repair direction).
Problem: the goreleaser workflow's Set up Go step pointed go-version-file / cache-dependency-path at ./go.work / ./go.work.sum — go.work was deleted in Feb 2024 (8ec08d0), so the next tag push would fail in setup before GoReleaser ever runs. The break was dormant only because no tag has been pushed since v1.2.7 (Nov 2023).
Solution:
go-version-file: pkgs/graph/go.mod, cache-dependency-path: pkgs/graph/go.sum — the module .goreleaser.yaml actually builds (dir: sources/graph; sources is a symlink to pkgs/), and the same pair mod-tidy.yml already uses. Action pins were already aligned to v7 by Renovate since the issue was filed, so no version changes were needed there.
- Added
workflow_dispatch: manual runs use release --snapshot --clean (no publish, no tag needed) so the workflow can be proven runnable without cutting a release; tag pushes keep release --clean.
- Migrated
.goreleaser.yaml to the v2 schema the workflow pins (goreleaser v2.18.3): version: 2 header, archives.builds → ids, archives.format → formats, format_overrides.format → formats. goreleaser check failed on the old file (version 0 + three deprecations); the release pipe only warned, but the config was one goreleaser bump from breaking.
Verification (local, pinned goreleaser v2.18.3 binary — the exact version the workflow installs)
- Reproduced the issue on main 830a8ea: audit of every workflow's
go-version-file/cache-dependency-path — goreleaser was the only literal reference to a nonexistent file (./go.work).
goreleaser check post-fix: 1 configuration file validated, no deprecations.
goreleaser release --snapshot --clean post-fix: release succeeded after 10m55s — all 12 targets built (including the pkgs/graph build repaired in pkgs/graph Go build fails on sshmarshal/x/crypto symbol collision #166), 12 archives produced (9 tar.gz + 3 Windows zip via the migrated format override), and the pre-build go mod tidy hooks left go.mod/go.sum untouched.
- Workflow YAML parses; diff is 2 files.
Single-repo: no goreleaser workflow/config in opencode, openchamber, or dezren39/nix (per the issue's grep verification).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2Fef26d88456de9cc93cf03b8611c53675c8af4fc8361b0049e62a133b46e853b6%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2e737667)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Release Process
- Added support for manually triggered release workflow runs using snapshot builds.
- Tag-based releases continue to use the standard release process.
- Updated release packaging to generate tar.gz archives and Windows ZIP archives.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…ork, deleted Feb 2024 (#344)
setup-go@v7 was asked to read ./go.work (matrix working-directory '.'
+ go.work), a file deleted in 8ec08d0 (2024-02-06), so the next tag
push would fail in setup before GoReleaser runs. Point go-version-file
and cache-dependency-path at pkgs/graph/go.mod / go.sum — the module
.goreleaser.yaml actually builds (dir sources/graph; sources -> pkgs/)
and the same pair mod-tidy.yml already uses. Action pins were already
aligned to v7 by Renovate since the issue was filed.
Also:
- Add workflow_dispatch: manual runs build a snapshot
(release --snapshot --clean) instead of cutting a release, so the
workflow can be proven runnable without a tag push. Tag pushes keep
release --clean.
- Migrate .goreleaser.yaml to the v2 schema the workflow pins
(goreleaser v2.18.3): version: 2 header, archives.builds -> ids,
archives.format -> formats, format_overrides.format -> formats.
goreleaser check failed on the old file (version 0 + three
deprecations); it now validates clean.
Verified locally with the pinned goreleaser v2.18.3 binary:
- goreleaser check: 1 configuration file validated, no deprecations
- goreleaser release --snapshot --clean: release succeeded in 10m55s,
all 12 targets built (incl. the pkgs/graph build fixed in #166),
12 archives produced (9 tar.gz + 3 windows zip via the override),
and the pre-build go mod tidy hooks left go.mod/go.sum untouched
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-21T02:24:50.940253Z |
dc23b96 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Note Currently processing new changes in this PR. This may take a few minutes, please wait...
⚙️ Run configuration
-
- Configuration used: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3d23e416-7686-4db0-8c9a-27c8719c57b5
📥 Commits
-
Reviewing files that changed from the base of the PR and between 5d0f071 and dc23b96.
📒 Files selected for processing: 2
-
.github/workflows/goreleaser.yml
.goreleaser.yaml
+-------------------------------------------------------------------+
| This refactor is like rearranging furniture during an earthquake. |
+-------------------------------------------------------------------+
\
\ /)/)
( '')
/ |
o(___)
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 21, 2026
This was referenced Nov 21, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|