Skip to content

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

style: gofmt api.go and orchestrator_test.go

Mario7e086f24173d
diff --git a/internal/bridge/api.go b/internal/bridge/api.go
index 7cf26c5f..f2a6d11e 100644
--- a/internal/bridge/api.go
+++ b/internal/bridge/api.go
@@ -71,7 +71,7 @@ type OrchestratorService interface {
type ProfileInfo struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
- Path string `json:"path,omitempty"` // File system path to profile directory
+ Path string `json:"path,omitempty"` // File system path to profile directory
PathExists bool `json:"pathExists,omitempty"` // Whether the path exists on disk
Created time.Time `json:"created"`
LastUsed time.Time `json:"lastUsed"`
diff --git a/tests/integration/orchestrator_test.go b/tests/integration/orchestrator_test.go
index cb5bb618..b07c2940 100644
--- a/tests/integration/orchestrator_test.go
+++ b/tests/integration/orchestrator_test.go
@@ -193,8 +193,8 @@ func TestOrchestrator_PortReuse(t *testing.T) {
// Create instance 2 — register cleanup BEFORE any potential t.Fatal
status, body = httpPost(t, "/instances/launch", map[string]any{
- "name": fmt.Sprintf("reuse-test-2-%d", time.Now().Unix()),
- "mode": "headless",
+ "name": fmt.Sprintf("reuse-test-2-%d", time.Now().Unix()),
+ "mode": "headless",
})
if status != 201 {
t.Fatalf("instance 2 creation failed: %d", status)