From 2280e8aef99481c08c5fd18a26bd72d9a2378c4a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 01:11:44 +0000 Subject: [PATCH] fix(ai): remove broken tracker wss://tracker.btorrent.xyz (agent) Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- ..._01-10-14_frontend-console-debug-agent_completed.md | 10 ++++++++++ js/constants.js | 1 - scripts/agent/debug_frontend.py | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 docs/agents/task-logs/weekly/2026-02-18_01-10-14_frontend-console-debug-agent_completed.md diff --git a/docs/agents/task-logs/weekly/2026-02-18_01-10-14_frontend-console-debug-agent_completed.md b/docs/agents/task-logs/weekly/2026-02-18_01-10-14_frontend-console-debug-agent_completed.md new file mode 100644 index 00000000..68542557 --- /dev/null +++ b/docs/agents/task-logs/weekly/2026-02-18_01-10-14_frontend-console-debug-agent_completed.md @@ -0,0 +1,10 @@ +# Agent Run: frontend-console-debug-agent + +- **Date:** 2026-02-18 +- **Status:** Completed +- **Changes:** + - Removed `wss://tracker.btorrent.xyz` from `js/constants.js` (caused `net::ERR_CERT_COMMON_NAME_INVALID` on initialization). + - Updated `scripts/agent/debug_frontend.py` to target port 3000 (default `npx serve` port) instead of 8000. +- **Verification:** + - Ran `python3 scripts/agent/debug_frontend.py`: Error count dropped from 5 to 4 (removed the blocking initialization error). Remaining errors are content-specific CORS/404s. + - Ran `npm run test:unit:shard1`: Passed. diff --git a/js/constants.js b/js/constants.js index 80fda600..49616ea0 100644 --- a/js/constants.js +++ b/js/constants.js @@ -138,7 +138,6 @@ function sanitizeTrustSeedList(candidate) { const DEFAULT_WSS_TRACKERS = Object.freeze([ "wss://tracker.openwebtorrent.com", "wss://tracker.files.fm:7073/announce", - "wss://tracker.btorrent.xyz", "wss://tracker.novage.com.ua:443/announce", "wss://tracker.webtorrent.dev", ]); diff --git a/scripts/agent/debug_frontend.py b/scripts/agent/debug_frontend.py index 373aa044..27c6a960 100644 --- a/scripts/agent/debug_frontend.py +++ b/scripts/agent/debug_frontend.py @@ -38,8 +38,8 @@ def run(): page.on("requestfailed", on_request_failed) try: - log("INFO", "Navigating to http://localhost:8000...") - page.goto("http://localhost:8000") + log("INFO", "Navigating to http://localhost:3000...") + page.goto("http://localhost:3000") # Wait for load state to ensure initial resources are loaded try: