personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

link: publish convey port in live harness

Run the in-process convey test server with a threaded Werkzeug listener and publish its
port so the TCP pipe can resolve the loopback target during live relay tests.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+4 -1
+4 -1
tests/link/live_helpers.py
··· 20 20 from werkzeug.security import generate_password_hash 21 21 from werkzeug.serving import make_server 22 22 23 + from think.utils import write_service_port 24 + 23 25 RELAY_URL = "https://spl-relay-staging.jer-3f2.workers.dev" 24 26 CONVEY_PASSWORD = "pytest-link-pass" 25 27 _READY_LINE = "listen WS open" ··· 127 129 128 130 _prepare_journal(journal_path) 129 131 app = create_app(str(journal_path)) 130 - server = make_server("127.0.0.1", 0, app) 132 + server = make_server("127.0.0.1", 0, app, threaded=True) 133 + write_service_port("convey", server.server_port) 131 134 thread = threading.Thread(target=server.serve_forever, daemon=True) 132 135 thread.start() 133 136 try: