Skip to content

Commit ac8c716

Browse files
sjmiller609claude
andcommitted
wrapper: settle delay before infobar dismiss click
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 747c4ec commit ac8c716

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

server/cmd/wrapper/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,11 @@ func dismissNoSandboxWarning() {
566566
}
567567
time.Sleep(100 * time.Millisecond)
568568
}
569+
// Without a settle delay the click can land before the --no-sandbox infobar
570+
// has finished painting, leaving the warning on screen. The legacy
571+
// wrapper.sh slept 5s here for the same reason. Runs off the hot path
572+
// (goroutine fired post-readiness) so this doesn't extend time-to-CDP.
573+
time.Sleep(5 * time.Second)
569574
port := os.Getenv("KERNEL_IMAGES_API_PORT")
570575
if port == "" {
571576
port = defaultAPIPort

0 commit comments

Comments
 (0)