Skip to content

chore(deps): update dependency golangci/golangci-lint to v2.10.1#152

Merged
pjbgf merged 4 commits intomainfrom
renovate/golangci-golangci-lint-2.x
Feb 25, 2026
Merged

chore(deps): update dependency golangci/golangci-lint to v2.10.1#152
pjbgf merged 4 commits intomainfrom
renovate/golangci-golangci-lint-2.x

Conversation

@qubesome-renovate
Copy link
Contributor

This PR contains the following updates:

Package Update Change
golangci/golangci-lint minor v2.9.0v2.10.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.10.1

Compare Source

Released on 2026-02-17

  1. Fixes
    • buildssa panic

v2.10.0

Compare Source

Released on 2026-02-17

  1. Linters new features or changes
    • ginkgolinter: from 0.22.0 to 0.23.0
    • gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    • staticcheck: from 0.6.1 to 0.7.0
  2. Linters bug fixes
    • godoclint: from 0.11.1 to 0.11.2

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copilot AI and others added 3 commits February 25, 2026 10:39
Co-authored-by: pjbgf <5452977+pjbgf@users.noreply.github.com>
`make verify` was failing due to 5 gosec violations across three files.
Fixes suppress legitimate false positives (trusted env vars, fd-to-int
casts) and refactors log calls to use structured fields instead of
interpolated messages.

## Changes

- **G115** (`profiles.go`): Suppress integer overflow warning on
`int(os.Stdout.Fd())` — fd values are always safe to cast to `int`
- **G706** (`profiles.go`, `docker/run.go`, `podman/run.go`): Replace
`slog.Debug(fmt.Sprintf("exec: %s", bin), ...)` with structured
`slog.Debug("exec", "binary", bin, ...)` to avoid tainted data in the
log message; suppress remaining instance where `xauthority` env var
appears as a log field
- **G703** (`profiles.go`): Suppress path traversal warning on
`os.Open(xauthority)` — path is sourced from the user's own
`$XAUTHORITY` env var

```go
// Before
slog.Debug(fmt.Sprintf("exec: %s", runnerBinary), "args", args)

// After
slog.Debug("exec", "binary", runnerBinary, "args", args) //nolint:gosec // G706: binary path is from trusted config
```

Also includes regenerated proto files (`host.pb.go`, `host_grpc.pb.go`)
that were stale relative to the `.proto` source, causing `verify-dirty`
to fail.

<!-- START COPILOT CODING AGENT TIPS -->
---

💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
@pjbgf pjbgf merged commit 1c80d53 into main Feb 25, 2026
5 checks passed
@pjbgf pjbgf deleted the renovate/golangci-golangci-lint-2.x branch February 25, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants