Skip to content

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

fix(e2e): use close_lru tab eviction policy instead of increasing limit

Bosch925426e5a1f9
diff --git a/tests/e2e/Dockerfile.pinchtab b/tests/e2e/Dockerfile.pinchtab
index ad94f29b..03528a1d 100644
--- a/tests/e2e/Dockerfile.pinchtab
+++ b/tests/e2e/Dockerfile.pinchtab
@@ -43,9 +43,9 @@ ENV PINCHTAB_BIND=0.0.0.0 \
# Config goes in XDG_CONFIG_HOME which defaults to ~/.config
# AllowedDomains replaces defaults, so include localhost + fixtures
# Enable evaluate/download/upload for comprehensive E2E testing
-# Increase maxTabs for E2E test suite (40 tests open many tabs)
+# Use LRU tab eviction so tests don't hit tab limit
RUN mkdir -p /root/.config/pinchtab && \
- echo '{"browser":{"extraFlags":"--no-sandbox --disable-dev-shm-usage"},"instanceDefaults":{"maxTabs":50},"security":{"allowEvaluate":true,"allowDownload":true,"allowUpload":true,"idpi":{"enabled":true,"allowedDomains":["localhost","127.0.0.1","::1","fixtures"]}}}' > /root/.config/pinchtab/config.json
+ echo '{"browser":{"extraFlags":"--no-sandbox --disable-dev-shm-usage"},"instanceDefaults":{"tabEvictionPolicy":"close_lru"},"security":{"allowEvaluate":true,"allowDownload":true,"allowUpload":true,"idpi":{"enabled":true,"allowedDomains":["localhost","127.0.0.1","::1","fixtures"]}}}' > /root/.config/pinchtab/config.json
EXPOSE 9999