High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: lint and dev check
Bosch89321ba086ba
diff --git a/internal/bridge/route_test.go b/internal/bridge/route_test.goindex 4a8ad826..68bf84aa 100644--- a/internal/bridge/route_test.go+++ b/internal/bridge/route_test.go@@ -684,6 +684,7 @@ func TestRouteManager_AddRule_PerTabCapEnforced(t *testing.T) {// rollback after fetch.Enable failure may have wiped state if it was// ever empty; here state existed before, so a snapshot was restored.t.Skip("rollback path consumed the state; cap-replace assertion still valid via no error")+ return}if len(state.rules) != originalLen {t.Errorf("expected rule count unchanged on replace, got %d (was %d)", len(state.rules), originalLen)diff --git a/scripts/check.sh b/scripts/check.shindex 7c4cc3a2..b8c77743 100755--- a/scripts/check.sh+++ b/scripts/check.sh@@ -36,7 +36,7 @@ section "Format"go_files=()while IFS= read -r file; do[ -f "$file" ] && go_files+=("$file")-done < <(git ls-files -- '*.go')+done < <(git ls-files -- '*.go'; git ls-files --others --exclude-standard -- '*.go')unformatted=""if [ ${#go_files[@]} -gt 0 ]; thenunformatted=$(gofmt -l "${go_files[@]}")@@ -51,7 +51,7 @@ if [ -n "$unformatted" ]; thengofmt -w "${go_files[@]}"ok "gofmt (fixed)"else- hint "Run: gofmt -w \$(git ls-files -- '*.go' | while read -r file; do [ -f \"\$file\" ] && printf '%s\\n' \"\$file\"; done)"+ hint "Run: gofmt -w \$( { git ls-files -- '*.go'; git ls-files --others --exclude-standard -- '*.go'; } | while read -r file; do [ -f \"\$file\" ] && printf '%s\\n' \"\$file\"; done)"exit 1fielsediff --git a/tests/tools/runner/internal/bench/browserbench.go b/tests/tools/runner/internal/bench/browserbench.goindex 1f7317b5..bf69b960 100644--- a/tests/tools/runner/internal/bench/browserbench.go+++ b/tests/tools/runner/internal/bench/browserbench.go@@ -38,41 +38,41 @@ type BrowserBenchArgs struct {}type BrowserBenchTask struct {- TaskID string- StartingURL string+ TaskID string+ StartingURL stringTaskDescription string- GroundTruthURL string- GroundTruth string+ GroundTruthURL string+ GroundTruth string}type BrowserBenchRow struct {- TaskID string- StartingURL string- TaskDescription string- GroundTruthURL string- GroundTruth string- Provider string- Timestamp string- Success bool- ErrorMessage string- AgentResult string- SessionURL string- ExecutionTimeSeconds string- PinchTabVersion string- StealthLevel string- SolverUsed string- SolveAttempts string- HARPath string- ScreenshotPath string- ConsoleLogPath string- CommandLogPath string- RequestCount string- InputTokens string- OutputTokens string- CacheCreationInputTokens string- CacheReadInputTokens string- TotalInputTokens string- TotalTokens string+ TaskID string+ StartingURL string+ TaskDescription string+ GroundTruthURL string+ GroundTruth string+ Provider string+ Timestamp string+ Success bool+ ErrorMessage string+ AgentResult string+ SessionURL string+ ExecutionTimeSeconds string+ PinchTabVersion string+ StealthLevel string+ SolverUsed string+ SolveAttempts string+ HARPath string+ ScreenshotPath string+ ConsoleLogPath string+ CommandLogPath string+ RequestCount string+ InputTokens string+ OutputTokens string+ CacheCreationInputTokens string+ CacheReadInputTokens string+ TotalInputTokens string+ TotalTokens string}func defaultBrowserBenchArgs() BrowserBenchArgs {