chore(deps): update dependency golangci/golangci-lint to v2.10.1#152
Merged
chore(deps): update dependency golangci/golangci-lint to v2.10.1#152
Conversation
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
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.9.0→v2.10.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
golangci/golangci-lint (golangci/golangci-lint)
v2.10.1Compare Source
Released on 2026-02-17
v2.10.0Compare Source
Released on 2026-02-17
ginkgolinter: from 0.22.0 to 0.23.0gosec: 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.0godoclint: from 0.11.1 to 0.11.2Configuration
📅 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.
This PR has been generated by Renovate Bot.