Skip to content

chore(ci): fix broken release-please workflow - #177

Merged
TheMeinerLP merged 1 commit into
mainfrom
chore/fix-release-please
Aug 24, 2026
Merged

chore(ci): fix broken release-please workflow#177
TheMeinerLP merged 1 commit into
mainfrom
chore/fix-release-please

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Contributor

Problem

Commit c9406d8 (chore(ci): remove version step) removed the version job, but three jobs kept referencing it via needs: version / needs.version.outputs.*:

  • publish-snapshot
  • build-context-snapshot
  • docker-snapshot

GitHub rejects the entire workflow file when needs points at an unknown job. Every run since 2026-08-22 failed after 0s with "This run likely failed because of a workflow file issue", so release-please never executed — which is why feat: add project entity usage (#176) produced no release PR.

Side note: the removed job read ^version= from gradle.properties, where no version key exists (only group). It was already returning an empty string before it was deleted.

Changes

File Change
.github/workflows/release-please.yml Drop publish-snapshot, build-context-snapshot, docker-snapshot (-39 lines)
release-please-config.json Remove package-level "release-type": "java" so top-level "simple" applies
build.gradle.kts Realign version marker 2.4.2-SNAPSHOT2.4.1 to match the manifest

release-type: "java" drives the Maven-style SNAPSHOT bump that produced chore(main): release 2.4.2-SNAPSHOT (#150). A Gradle project using the x-release-please-version marker in build.gradle.kts doesn't need it — that's the OneLiteFeather standard ("simple" + a single extra-files entry).

Remaining jobs: release-pleasepublish, build-contextdocker, sbom. The workflow_dispatch path for manually rebuilding a Docker image is untouched.

Verification

  • needs graph resolves — no references to non-existent jobs, no needs.version leftovers anywhere in .github/workflows/.
  • Both JSON config files parse.
  • release-please release-pr --dry-run against this repo: finds v2.4.1 at 86f33e8, considers 56 commits, and would open chore(main): release 2.5.0 — the correct minor bump for the feat: commit, no reset. Updaters: CHANGELOG.md, build.gradle.kts (Generic, via the marker), .release-please-manifest.json.

Caveat: the dry run reads config and manifest from remote main, so it validates the version calculation and updater set but not the local release-type change. That effect (no more SNAPSHOT follow-up PRs after a release) only becomes observable after merge.

Note

This PR is titled chore(ci): so it doesn't itself trigger a version bump.

🤖 Generated with Claude Code

The `version` job was removed in c9406d8, but publish-snapshot,
build-context-snapshot and docker-snapshot still referenced it via
`needs: version`. GitHub rejected the entire workflow file, so every
run since then failed after 0s and release-please stopped producing
release PRs.

Drop the three snapshot jobs to align with the OneLiteFeather
release-please standard: releases only, no -SNAPSHOT intermediate
versions on main.

Also remove the package-level `release-type: "java"` so the top-level
`"simple"` applies — "java" drives the Maven-style SNAPSHOT bump that
produced `chore(main): release 2.4.2-SNAPSHOT`, which a Gradle project
using the x-release-please-version marker does not need. Realign the
marker in build.gradle.kts with .release-please-manifest.json (2.4.1).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test results

 42 files   42 suites   5s ⏱️
 79 tests  67 ✅ 12 💤 0 ❌
237 runs  201 ✅ 36 💤 0 ❌

Results for commit 302e920.

@TheMeinerLP
TheMeinerLP merged commit 400f0f0 into main Aug 24, 2026
13 checks passed
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