From 147457d91378abf969ff7c7655d66b8a3dca8e0b Mon Sep 17 00:00:00 2001 From: gilesb Date: Wed, 7 Jan 2026 19:41:04 +0000 Subject: [PATCH] feat: send L1 server URL when publishing to L2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Include l1_server in record-run request - Enables many-to-many L1/L2 topology 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- artdag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artdag.py b/artdag.py index 57c608d..2da49d2 100755 --- a/artdag.py +++ b/artdag.py @@ -411,11 +411,11 @@ def publish(run_id, output_name): click.echo("Not logged in. Please run: artdag login ", err=True) sys.exit(1) - # Post to L2 server with auth + # Post to L2 server with auth, including which L1 server has the run try: resp = requests.post( f"{get_l2_server()}/registry/record-run", - json={"run_id": run_id, "output_name": output_name}, + json={"run_id": run_id, "output_name": output_name, "l1_server": get_server()}, headers={"Authorization": f"Bearer {token_data['access_token']}"} ) if resp.status_code == 401: