diff --git a/.github/workflows/nightly-mcp-stress-test.lock.yml b/.github/workflows/nightly-mcp-stress-test.lock.yml index 8103a24e..7ebce332 100644 --- a/.github/workflows/nightly-mcp-stress-test.lock.yml +++ b/.github/workflows/nightly-mcp-stress-test.lock.yml @@ -21,7 +21,7 @@ # # Load 20 MCP servers, discover and summarize the tools exported by each server, test tool invocations, and post a comprehensive report as a GitHub issue # -# frontmatter-hash: 9274899348ad9372151983dd31d8fcbcc891c344169870bce19f07ca370bb3af +# frontmatter-hash: 3c5f8c2f8a590b992b360dd6d989a7b29eb1684e0a5ae6002b51e5361ab8832c name: "Nightly MCP Server Stress Test" "on": @@ -524,7 +524,7 @@ jobs: "type": "stdio", "container": "mcr.microsoft.com/playwright/mcp", "args": ["--init", "--network", "host"], - "entrypointArgs": ["--output-dir", "/tmp/gh-aw/mcp-logs/playwright", "--allowed-hosts", "localhost,localhost:*,127.0.0.1,127.0.0.1:*", "--allowed-origins", "localhost;localhost:*;127.0.0.1;127.0.0.1:*"], + "entrypointArgs": ["--output-dir", "/tmp/gh-aw/mcp-logs/playwright", "--allowed-hosts", "localhost,localhost:*,127.0.0.1,127.0.0.1:*", "--allowed-origins", "localhost;localhost:*;127.0.0.1;127.0.0.1:*", "--init", "--network", "host"], "mounts": ["/tmp/gh-aw/mcp-logs:/tmp/gh-aw/mcp-logs:rw"] }, "puppeteer": { diff --git a/.github/workflows/nightly-mcp-stress-test.md b/.github/workflows/nightly-mcp-stress-test.md index d5ab2d8d..e26427aa 100644 --- a/.github/workflows/nightly-mcp-stress-test.md +++ b/.github/workflows/nightly-mcp-stress-test.md @@ -94,14 +94,16 @@ mcp-servers: playwright: type: stdio container: "mcr.microsoft.com/playwright:v1.49.1-noble" - env: - PLAYWRIGHT_BROWSERS_PATH: "/ms-playwright" + args: ["--init", "--network", "host"] + entrypointArgs: ["--output-dir", "/tmp/gh-aw/mcp-logs/playwright", "--allowed-hosts", "localhost;localhost:*;127.0.0.1;127.0.0.1:*;github.com", "--allowed-origins", "localhost;localhost:*;127.0.0.1;127.0.0.1:*;github.com"] +# env: +# PLAYWRIGHT_BROWSERS_PATH: "/ms-playwright" # Launch options to prevent ERR_BLOCKED_BY_CLIENT errors in CI testing # ⚠️ SECURITY WARNING: These flags disable critical browser security features including # sandboxing, web security, and site isolation. Only use in controlled CI/testing # environments. DO NOT use in production or when browsing untrusted content. # Reference: https://playwright.dev/docs/docker - PLAYWRIGHT_LAUNCH_OPTIONS: '{"args": ["--no-sandbox", "--disable-setuid-sandbox", "--disable-gpu", "--disable-blink-features=AutomationControlled", "--disable-web-security", "--disable-features=IsolateOrigins,site-per-process"]}' +# PLAYWRIGHT_LAUNCH_OPTIONS: '{"args": ["--no-sandbox", "--disable-setuid-sandbox", "--disable-gpu", "--disable-blink-features=AutomationControlled", "--disable-web-security", "--disable-features=IsolateOrigins,site-per-process"]}' wikipedia: type: stdio container: "mcp/wikipedia-mcp"