Skip to content

Fix/release install syft - #14

Merged
jessn-dev merged 3 commits into
mainfrom
fix/release-install-syft
Jun 29, 2026
Merged

Fix/release install syft#14
jessn-dev merged 3 commits into
mainfrom
fix/release-install-syft

Conversation

@jessn-dev

@jessn-dev jessn-dev commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Fix/release install syft

Summary by CodeRabbit

  • Chores
    • Updated the release process to preload a required tool during publishing, helping make release builds more reliable and reducing the chance of release-time failures.

jessn-dev and others added 3 commits June 29, 2026 15:01
* Develop (#6)

* chore: gitignore agenticscope artifacts; note show-before-fire in M2 roadmap (#2)

Keep all agenticscope dev-tooling artifacts out of the Go repo
  (node_modules, .scope/, .mcp.json, generated vendor files). Add the
  show-before-fire security hard rule to the M2 roadmap so the
  malicious-cheatsheet injection mitigation is designed in, not retrofitted.

Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>

* docs: scaffold in-repo docs; wire README; add Discussions/wiki to roadmap (#3)

Add versioned docs/ (schema, CLI, MCP, install) that track the release.
  Fix stale README YAML note (YAML shipped in M1). Roadmap: launch-day
  GitHub Discussions and the docs-vs-wiki split under M2 ship.

Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>

* chore: gitignore agenticscope artifacts; note show-before-fire in M2 roadmap (#4)

Keep all agenticscope dev-tooling artifacts out of the Go repo
  (node_modules, .scope/, .mcp.json, generated vendor files). Add the
  show-before-fire security hard rule to the M2 roadmap so the
  malicious-cheatsheet injection mitigation is designed in, not retrofitted.

Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>

* Feat/m2 tui core (#5)

* feat(engine): include command id in fuzzy search haystack

  Operators can recall a command by its stable id (e.g. nmap-sv), not only
  its name/intent/tags. Covered by TestSearchFindsByID.

* feat(tui): interactive search/fill/confirm loop with show-before-fire

  Bubble Tea frontend over the engine: fuzzy search, sequential variable
  prompts, and a confirm screen that displays the fully resolved command
  before it is printed to stdout. nock never executes — emit is stdout only,
  gated on explicit confirm (ADR 009/015). Headless flow tests drive the
  model via key messages.

* ci: add Scorecard + Codecov + standalone govulncheck; regroup README badges

  Split govulncheck into its own workflow for a standalone badge, upload
  coverage to Codecov, add an OpenSSF Scorecard workflow, and reorganize the
  README badges (build/quality, activity, community). Privacy-respecting:
  no third-party visitor or traffic trackers.

* fix(tui): use fmt.Fprintf to satisfy staticcheck QF1012; pin golangci-lint

  CI runs golangci-lint latest (v2.12.2) which flagged WriteString(fmt.Sprintf).
  Pin the linter version so new rules can't break CI silently.

---------

Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>

---------

Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>

* chore(deps): bump the actions group with 3 updates (#7)

Bumps the actions group with 3 updates: [codecov/codecov-action](https://github.com/codecov/codecov-action), [github/codeql-action](https://github.com/github/codeql-action) and [ossf/scorecard-action](https://github.com/ossf/scorecard-action).


Updates `codecov/codecov-action` from 5 to 7
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v5...v7)

Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v3...v4)

Updates `ossf/scorecard-action` from 2.4.0 to 2.4.3
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@v2.4.0...v2.4.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs(readme): fix codecov badge, drop vanity badges

  Fix the codecov badge URL (old /branch/main/ path) and wire CODECOV_TOKEN in CI
  (tokenless uploads are no longer accepted). Remove downloads/stars/forks/watchers
  badges; replace with Conventional Commits, gitleaks, and CodeRabbit.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jesse Ngolab <jessengolab.dev@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  The .gitignore binary rule 'nock' was unanchored, so it also matched the cmd/nock/
  directory — the program entry point was never committed. CI 'go build ./...' only
  sees tracked packages, so it passed; the release failed (couldn't find cmd/nock).
  Anchor the rule to /nock and add the missing main.go.
  GoReleaser's sboms step shells out to syft, which isn't preinstalled on the runner
  -> 'syft: executable file not found'. Add anchore/sbom-action/download-syft before
  the GoReleaser step. Validated locally: full snapshot incl. SBOM + cask succeeds.
  Binaries, archives, and .deb/.rpm/.apk already built fine.
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 4137636c-1e44-4040-b50a-475284301f33

📥 Commits

Reviewing files that changed from the base of the PR and between a051941 and c23aa3b.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

The release workflow gains a single new step that installs Syft via anchore/sbom-action/download-syft@v0 before GoReleaser runs, ensuring the syft binary is available for GoReleaser's SBOM generation.

Changes

Release Workflow – Syft Dependency

Layer / File(s) Summary
Add Syft install step
.github/workflows/release.yml
Inserts anchore/sbom-action/download-syft@v0 step before GoReleaser so the syft binary is present during SBOM generation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: installing Syft in the release workflow to fix SBOM generation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/release-install-syft

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jessn-dev
jessn-dev merged commit 4f4c152 into main Jun 29, 2026
9 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.

3 participants