Skip to content

Build with Go 1.27, add govulncheck and Dependabot - #268

Merged
yourconscience merged 3 commits into
mainfrom
chore/repo-checks
Nov 15, 2026
Merged

yourconscience merged 3 commits into
mainfrom
chore/repo-checks

Conversation

@yourconscience

@yourconscience yourconscience commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

What and why

The repository had no dependency or vulnerability checks, and releases were built with Go 1.25, which no longer gets security fixes.

  • Go 1.27 for CI and releases. govulncheck -mode=binary on the 2.7.0 release binary (Go 1.25.14) reports 14 standard-library vulnerabilities, all fixed only in Go 1.26.9 or later. A source scan under Go 1.27.4 reports none. release.yml also sets check-latest, so a release picks up the newest 1.27 patch. go.mod stays at go 1.25.0.
  • golangci-lint 2.15.0. 2.12.2 cannot read Go 1.27 export data and failed the lint step; 2.15.0 reports 0 issues.
  • Vulnerabilities workflow. Runs govulncheck 1.9.0 on the root module on every push to main, every pull request, and daily at 05:23 UTC. The two modules under tools/ are not scanned: they do not ship to users.
  • Dependabot. Weekly grouped updates for Go modules and GitHub Actions, with a three-day cooldown.

Turned on in the repository settings, outside this diff: Dependabot alerts, secret scanning, push protection, and CodeQL default setup.

How I checked it

  • govulncheck 1.9.0 on the installed 2.7.0 binary: 14 findings. On this branch under Go 1.27.4: No vulnerabilities found.

  • GOTOOLCHAIN=go1.27.4 go vet ./... and go test ./... pass; sh scripts/release_test.sh passes.

  • The cooldown, directories and groups keys are checked against GitHub's Dependabot options reference.

  • Not checked: a release build under Go 1.27 with goreleaser, and Dependabot reading this config. Both run only after merge.

  • go test ./... and go vet ./... pass

  • I can explain this change without an AI tool

Summary by Sourcery

Modernize Go build tooling and add automated dependency and vulnerability monitoring.

New Features:

  • Add automated vulnerability scanning for the user-facing Go module on pushes, pull requests, and a daily schedule.

Enhancements:

  • Upgrade CI and release builds to Go 1.27, using the latest available patch release for releases.
  • Upgrade golangci-lint to support Go 1.27.
  • Configure weekly, grouped Dependabot updates for Go modules and GitHub Actions with a three-day cooldown.

CI:

  • Run vulnerability checks with govulncheck 1.9.0 against the release Go version.

Documentation:

  • Document that release binaries are now built with Go 1.27 and note the minimum Go version for source builds.

@sourcery-ai

sourcery-ai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Sorry @yourconscience, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 2 days and 23 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6cdb167e-31ef-467b-b023-2da315121b61
  • 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

@sourcery-ai

sourcery-ai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Upgrade CI and release builds to Go 1.27, and update golangci-lint so it can read Go 1.27 export data.

  • .github/workflows/ci.yml L51, L66
  • .github/workflows/release.yml L67-68

Add a scheduled and event-triggered govulncheck workflow for the root module.

  • .github/workflows/vuln.yml L1-32

Configure weekly, grouped Dependabot updates with a three-day cooldown for Go modules and GitHub Actions.

  • .github/dependabot.yml L1-29

Documentation

Document the Go 1.27 release-build change and its security rationale in the upgrading guide.

  • docs/upgrading.md L17

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@yourconscience
yourconscience merged commit 6cc7379 into main Nov 15, 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