You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor(sandbox): remove socat proxy and fix chromium keyring deadlock
* fix(sandbox): address review feedback by reinstating cdp isolation and stability flags
* fix(sandbox): increase entrypoint cdp timeout to 20s to honor autoStartTimeoutMs
* fix(sandbox): align implementation with PR description (keyring bypass, fail-fast, watchdog)
* fix
* fix(sandbox): remove bash CDP watchdog to eliminate dual-timeout race
* fix(sandbox): apply final fail-fast and lifecycle bindings
* fix(sandbox): restore noVNC and CDP port offset
* fix(sandbox): add max-time to curl to prevent HTTP hang
* fix(sandbox): align timeout with host and restore env flags
* fix(sandbox): pass auto-start timeout to container and restore wait -n
* fix(sandbox): update hash input type to include autoStartTimeoutMs
* fix(sandbox): implement production-grade lifecycle and timeout management
- Add strict integer validation for port and timeout environment variables
- Implement robust two-stage trap cleanup (SIGTERM with SIGKILL fallback) to prevent zombie processes
- Refactor CDP readiness probe to use absolute millisecond-precision deadlines
- Add early fail-fast detection if Chromium crashes during the startup phase
- Track all daemon PIDs explicitly for reliable teardown via wait -n
* fix(sandbox): allow renderer process limit to be 0 for chromium default
* fix(sandbox): add autoStartTimeoutMs to SandboxBrowserHashInput type
* test(sandbox): cover browser timeout cleanup
---------
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
if [[ "${DISABLE_GRAPHICS_FLAGS_LOWER}"=="1"||"${DISABLE_GRAPHICS_FLAGS_LOWER}"=="true"||"${DISABLE_GRAPHICS_FLAGS_LOWER}"=="yes"||"${DISABLE_GRAPHICS_FLAGS_LOWER}"=="on" ]];then
127
+
if [[ "${DISABLE_GRAPHICS_FLAGS_LOWER}"=~ ^(1|true|yes|on)$ ]];then
if [[ "${DISABLE_EXTENSIONS_LOWER}"=="1"||"${DISABLE_EXTENSIONS_LOWER}"=="true"||"${DISABLE_EXTENSIONS_LOWER}"=="yes"||"${DISABLE_EXTENSIONS_LOWER}"=="on" ]];then
80
-
CHROME_ARGS+=(
81
-
"--disable-extensions"
82
-
)
136
+
if [[ "${DISABLE_EXTENSIONS_LOWER}"=~ ^(1|true|yes|on)$ ]];then
137
+
CHROME_ARGS+=("--disable-extensions")
83
138
fi
84
139
85
140
if [[ "${RENDERER_PROCESS_LIMIT}"=~ ^[0-9]+$ &&"${RENDERER_PROCESS_LIMIT}"-gt 0 ]];then
`Sandbox browser CDP did not become reachable on 127.0.0.1:${mappedCdp} within ${params.cfg.browser.autoStartTimeoutMs}ms.`,
353
+
`Sandbox browser CDP did not become reachable on 127.0.0.1:${mappedCdp} within ${params.cfg.browser.autoStartTimeoutMs}ms. The hung container has been forcefully removed.`,
0 commit comments