Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hack/base.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_VERSION ?= v2.9.0
GOLANGCI_VERSION ?= v2.10.1
# renovate: datasource=github-tags depName=protocolbuffers/protobuf
PROTOC_VERSION ?= v33.5
TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools)
Expand Down
8 changes: 4 additions & 4 deletions internal/profiles/profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func Start(runner string, profile *types.Profile, cfg *types.Config, interactive
}
}

if len(imgs) > 1 && term.IsTerminal(int(os.Stdout.Fd())) {
if len(imgs) > 1 && term.IsTerminal(int(os.Stdout.Fd())) { //nolint:gosec // G115: fd values fit in int
if proceed("Not all workload images are present. Start loading them on the background?") {
go images.PreemptWorkloadImages(binary, cfg)
}
Expand Down Expand Up @@ -417,8 +417,8 @@ func createMagicCookie(profile *types.Profile) error {
xauthority = os.ExpandEnv("${HOME}/.XAUTHORITY")
}

slog.Debug("opening parent xauthority", "path", xauthority)
parent, err := os.Open(xauthority)
slog.Debug("opening parent xauthority", "path", xauthority) //nolint:gosec // G706: path is from trusted env var
parent, err := os.Open(xauthority) //nolint:gosec // G703: path is from trusted env var
if err != nil {
slog.Debug("failed to open parent xauthority", "error", err)
return err
Expand Down Expand Up @@ -670,7 +670,7 @@ func createNewDisplay(bin string, ca, cert, key []byte, profile *types.Profile,
grabberShortcut())
}

slog.Debug("exec: "+bin, "args", dockerArgs)
slog.Debug("exec", "binary", bin, "args", dockerArgs) //nolint:gosec // G706: binary path is from trusted config
cmd := execabs.Command(bin, dockerArgs...)
cmd.Env = append(cmd.Env, os.Environ()...)

Expand Down
2 changes: 1 addition & 1 deletion internal/runners/docker/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func Run(ew types.EffectiveWorkload) error {
args = append(args, wl.Command)
args = append(args, wl.Args...)

slog.Debug(fmt.Sprintf("exec: %s", runnerBinary), "args", args)
slog.Debug("exec", "binary", runnerBinary, "args", args) //nolint:gosec // G706: binary path is from trusted config
cmd := execabs.Command(runnerBinary, args...)

if ew.Workload.HostAccess.Mime {
Expand Down
2 changes: 1 addition & 1 deletion internal/runners/podman/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func Run(ew types.EffectiveWorkload) error {
args = append(args, wl.Command)
args = append(args, wl.Args...)

slog.Debug(fmt.Sprintf("exec: %s", runnerBinary), "args", args)
slog.Debug("exec", "binary", runnerBinary, "args", args) //nolint:gosec // G706: binary path is from trusted config
cmd := execabs.Command(runnerBinary, args...)

if ew.Workload.HostAccess.Mime {
Expand Down
62 changes: 20 additions & 42 deletions pkg/inception/proto/host.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pkg/inception/proto/host_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.