From 221a16342eddc09c64404fa70420745e485a8e89 Mon Sep 17 00:00:00 2001 From: Justin Ko Date: Thu, 11 Jun 2026 20:55:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(smoke):=20topology=20API=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20=EB=B0=98=EC=98=81=20=E2=80=94=20snapshot=5Fqueue?= =?UTF-8?q?=E2=86=92slots=5Fqueue,=20assets=20=ED=82=A4=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .claude/skills/run-trex-core-daemon/smoke.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude/skills/run-trex-core-daemon/smoke.py b/.claude/skills/run-trex-core-daemon/smoke.py index afc19c8..b30bbbc 100644 --- a/.claude/skills/run-trex-core-daemon/smoke.py +++ b/.claude/skills/run-trex-core-daemon/smoke.py @@ -37,7 +37,7 @@ INST = sys.argv[1] if len(sys.argv) > 1 else "default" def main() -> int: mq = RabbitMQTransport(URL, timeout=10.0) - snap_q = topology.snapshot_queue(INST) + snap_q = topology.slots_queue(INST) intent_q = topology.intent_queue(INST) def snap(): @@ -54,8 +54,8 @@ def main() -> int: print("=== 1) snapshot RPC ===") s = snap() slots = s["slots"] - print(f"assets={len(s['assets'])} slots={len(slots)} " - f"available_slots={s['available_slots']}") + available = [x for x in slots if x["status"] == "inactive" and not x["universe_detached"]] + print(f"slots={len(slots)} available_slots={len(available)}") inactive = [x for x in slots if x["status"] == "inactive" and not x["universe_detached"]] if not inactive: