fix(ci): reset failed v0.3.7 release and fix syft SBOM scan#593
fix(ci): reset failed v0.3.7 release and fix syft SBOM scan#593
Conversation
This reverts commit 2e8e633.
Syft tried to auto-detect the archive format and failed because it attempted to treat .tar.gz/.zip as container images. The file: scheme prefix tells syft to scan the archive as a local file. Also reverts the Release Please v0.3.7 commit (2e8e633) since the CLI workflow failed on the syft error. Tag and release deleted. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (5)
WalkthroughThis change rolls back the project version from 0.3.7 to 0.3.6 across multiple files, including the release manifest, Commitizen configuration, and the package's version constant. The entire 0.3.7 release section is removed from the changelog. Additionally, the GoReleaser SBOM generation configuration is updated to use the Suggested labels
📝 Coding Plan
Comment |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses and rectifies issues that led to the failure of the v0.3.7 CLI release. It systematically rolls back the version to 0.3.6 and implements a crucial correction in the SBOM generation process, ensuring that future releases can proceed without encountering the same obstacles. The changes prepare the repository for a successful re-release of version 0.3.7 with the necessary fixes in place. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly reverts the project version to reset a failed release and fixes the syft SBOM generation in the CI pipeline. The change to prefix the artifact path with file: is the right solution for the described problem. I have one suggestion to use the non-deprecated syft command to improve future compatibility.
| - artifacts: archive | ||
| cmd: syft | ||
| args: ["scan", "$artifact", "--output", "cyclonedx-json=$document"] | ||
| args: ["scan", "file:$artifact", "--output", "cyclonedx-json=$document"] |
🤖 I have created a release *beep* *boop* --- ## [0.3.7](v0.3.6...v0.3.7) (2026-03-19) ### Features * **engine:** implement Hybrid Plan + ReAct execution loop ([#582](#582)) ([008147c](008147c)) * implement first-run setup wizard ([#584](#584)) ([dfed931](dfed931)) ### Bug Fixes * **api:** address ZAP DAST scan findings ([#579](#579)) ([ce9a3e0](ce9a3e0)) * **ci:** reset failed v0.3.7 release and fix syft SBOM scan ([#593](#593)) ([d1508c2](d1508c2)) * **cli:** auto-delete binary on Windows, prune images, fix GoReleaser ([#590](#590)) ([eb7c691](eb7c691)) * **cli:** regenerate compose and re-exec binary on update ([#576](#576)) ([3f226eb](3f226eb)) ### CI/CD * add SBOM generation to Docker and CLI releases ([#580](#580)) ([db459cf](db459cf)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #593 +/- ##
=======================================
Coverage 92.46% 92.46%
=======================================
Files 551 551
Lines 27681 27681
Branches 2678 2678
=======================================
Hits 25595 25595
Misses 1634 1634
Partials 452 452 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🤖 I have created a release *beep* *boop* --- ## [0.3.7](v0.3.6...v0.3.7) (2026-03-19) ### Features * **engine:** implement Hybrid Plan + ReAct execution loop ([#582](#582)) ([008147c](008147c)) * implement first-run setup wizard ([#584](#584)) ([dfed931](dfed931)) ### Bug Fixes * **api:** address ZAP DAST scan findings ([#579](#579)) ([ce9a3e0](ce9a3e0)) * **ci:** remove CLI SBOM generation, reset failed v0.3.7 ([#595](#595)) ([d0f4992](d0f4992)) * **ci:** reset failed v0.3.7 release and fix syft SBOM scan ([#593](#593)) ([d1508c2](d1508c2)) * **cli:** auto-delete binary on Windows, prune images, fix GoReleaser ([#590](#590)) ([eb7c691](eb7c691)) * **cli:** regenerate compose and re-exec binary on update ([#576](#576)) ([3f226eb](3f226eb)) ### CI/CD * add SBOM generation to Docker and CLI releases ([#580](#580)) ([db459cf](db459cf)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
Two issues caused the v0.3.7 CLI release to fail:
.tar.gz/.ziparchives as container images and failed. Fix: prefix$artifactwithfile:scheme so syft knows to scan as a local file archiveThis PR:
2e8e633) to reset version back to 0.3.6.goreleaser.ymlAfter merge, Release Please will auto-create a new 0.3.7 release PR with both fixes in place.
Changes
.github/.release-please-manifest.json: 0.3.7 -> 0.3.6.github/CHANGELOG.md: remove 0.3.7 entrypyproject.toml: 0.3.7 -> 0.3.6src/synthorg/__init__.py: 0.3.7 -> 0.3.6cli/.goreleaser.yml:scan $artifact->scan file:$artifact🤖 Generated with Claude Code
Summary by CodeRabbit
Revert
Chores