fix(camofox): bump browser idle timeout to 1h for VNC human handoffs - #183
Merged
Merged
Conversation
…-min reaper Human-in-the-loop checkout/login via VNC generates no camofox API activity, so the server's 5-minute default idle timeout kills the browser mid-payment (hit live 2026-07-28 during a Ticket Tailor checkout handoff). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The camofox server reaps the browser after 5 idle minutes (
BROWSER_IDLE_TIMEOUT_MSdefault), and only API calls count as activity — VNC keyboard/mouse input from a human is invisible to it. During the live checkout handoff test today (2026-07-28) it killed the browser mid-payment three separate times.One hour covers any realistic human handoff (payment, login, CAPTCHA). Added to the VPN compose template's camofox service (plain mode has no camofox sidecar).
Related follow-up (not in this PR): the camofox image's vnc plugin doesn't re-size browser windows after a playwright relaunch — windows come back 200×200 and the VNC shows black. Workaround today was an in-container xdotool resize loop; proper fix belongs in NimbleCoAI/camofox.
🤖 Generated with Claude Code