Skip to content

Commit 18479c6

Browse files
bpiwowarclaude
andcommitted
fix: include run_id in TUI service table row key to avoid duplicates
Fixes #204 — two identical services from different experiments caused a DuplicateKey error because the row key only used exp_id:service_id. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c867cc4 commit 18479c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/experimaestro/tui/widgets/global_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _on_services_loaded(self, running_services: list) -> None:
156156
}
157157
state_icon = state_icons.get(state_name, "?")
158158

159-
service_key = f"{exp_id}:{service_id}"
159+
service_key = f"{exp_id}:{run_id}:{service_id}"
160160
table.add_row(
161161
exp_display,
162162
description or service_id,

0 commit comments

Comments
 (0)