Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: align golangci-lint checks with ci

Luigi Agostid1c09a2baf97
diff --git a/.github/workflows/reusable-go.yml b/.github/workflows/reusable-go.yml
index 06233dd0..a5353c53 100644
--- a/.github/workflows/reusable-go.yml
+++ b/.github/workflows/reusable-go.yml
@@ -86,7 +86,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
- version: v2.9.0
+ version: v2.10.1
security:
name: Security Scan
diff --git a/internal/autosolver/solvers/jschallenge_test.go b/internal/autosolver/solvers/jschallenge_test.go
index ca4f369d..ee57a22d 100644
--- a/internal/autosolver/solvers/jschallenge_test.go
+++ b/internal/autosolver/solvers/jschallenge_test.go
@@ -153,6 +153,7 @@ func TestJSChallenge_UsesSharedDetection(t *testing.T) {
)
if intent == nil {
t.Fatal("expected shared detection intent")
+ return
}
if intent.ChallengeType != "custom-js" {
t.Fatalf("expected custom-js challenge type, got %q", intent.ChallengeType)
diff --git a/internal/bridge/tabs/dialog_test.go b/internal/bridge/tabs/dialog_test.go
index 41170b1c..1f9fdc0b 100644
--- a/internal/bridge/tabs/dialog_test.go
+++ b/internal/bridge/tabs/dialog_test.go
@@ -112,6 +112,7 @@ func TestHandlePendingDialog_Pending_ErrorRequeues(t *testing.T) {
pending := dm.GetPending("tab1")
if pending == nil {
t.Fatal("expected dialog state to be re-queued")
+ return
}
if pending.Type != "confirm" {
t.Fatalf("pending.Type = %q, want confirm", pending.Type)