Secure, Fast, and Extensible Sandbox runtime for AI agents.
fix(execd): pin local lint to GOOS=linux and fix gci import order
高然9c9e78c1821d
diff --git a/components/execd/Makefile b/components/execd/Makefileindex ff8585ad1..9589c2bcd 100644--- a/components/execd/Makefile+++ b/components/execd/Makefile@@ -104,7 +104,9 @@ install-golint:.PHONY: golintgolint: fmt install-golint- "$(GOLANGCI_LINT)" run -v ./...+ # execd targets Linux; lint with GOOS=linux so platform-tagged files+ # (e.g. *_linux.go consumers) resolve the same way as CI.+ GOOS=linux "$(GOLANGCI_LINT)" run -v ./...##@ Native helpersdiff --git a/components/execd/pkg/web/filesystem_identity_other.go b/components/execd/pkg/web/filesystem_identity_other.goindex f75491368..3f5b3dd17 100644--- a/components/execd/pkg/web/filesystem_identity_other.go+++ b/components/execd/pkg/web/filesystem_identity_other.go@@ -20,8 +20,9 @@ import ("fmt""net/http"- "github.com/alibaba/opensandbox/execd/pkg/web/model""github.com/gin-gonic/gin"++ "github.com/alibaba/opensandbox/execd/pkg/web/model")func serveFilesystemIdentity(c *gin.Context, _, _ uint32) {