Repository navigation
build: replace the exec release commands with a local semantic-release plugin - #8097
Conversation
…lugin Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Release setup and preparation tools/semantic-release-plugin.js, tools/prepare-release.js |
The plugin sets release environment variables, builds the project, creates a versioned archive and SHA-512 checksums, and builds images for linux/amd64 and linux/arm64. The previous preparation command is removed. |
Image publishing and signing tools/semantic-release-plugin.js, tools/publish-release.js |
The plugin pushes images and records the image digest. When a digest is available, it signs image references with and without the ghcr.io prefix. Signing failures are logged and reported without failing the release. The previous publishing command is removed. |
Semantic-release configuration .releaserc.json, package.json |
The release configuration uses the local plugin. The release:prepare and release:publish scripts and the @semantic-release/exec development dependency are removed. |
Priority:
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Other
Sequence Diagram(s)
sequenceDiagram
participant SemanticRelease as semantic-release
participant Plugin as semantic-release-plugin.js
participant DockerBuildx as Docker Buildx
participant Cosign
SemanticRelease->>Plugin: call prepare
Plugin->>DockerBuildx: build multi-platform images
SemanticRelease->>Plugin: call publish
Plugin->>DockerBuildx: push images and write build metadata
DockerBuildx-->>Plugin: return image digest
SemanticRelease->>Plugin: call success
Plugin->>Cosign: sign image references when digest exists
Merge Risk: 
Minimal · up to 83316
-
No merge-blocking issue was identified in the release migration.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 5 functions across 1 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 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.
Comment @coderabbitai help to get the list of available commands.
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
Co-Authored-By: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
|
🎉 This PR is included in version 14.57.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
@semantic-release/execcommands with a local plugintools/semantic-release-plugin.js, drop therelease:prepare/release:publishscripts.preparebuilds the cli, archives and images,publishpushes the images.success, so after the npm publish. A failed signing no longer fails the release, it logs an error and adds a::errorannotation to the run.execaand inherited output instead ofshelljs.Context
Please select one of the following:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Code written with Claude Code (Claude Opus 5.5).
Use of AI in replying to PR comments
Who answers review comments:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
🤖 Generated with Claude Code