feat: preserve custom ecc2 harness labels

This commit is contained in:
Affaan Mustafa
2026-04-10 08:57:59 -07:00
parent bcd869d520
commit 4a1f3cbd3f
5 changed files with 172 additions and 26 deletions

View File

@@ -1230,8 +1230,8 @@ async fn main() -> Result<()> {
for s in sessions {
let harness = harnesses
.get(&s.id)
.map(|info| info.primary.to_string())
.unwrap_or_else(|| "unknown".to_string());
.map(|info| info.primary_label.clone())
.unwrap_or_else(|| session::SessionHarnessInfo::runner_key(&s.agent_type));
println!("{} [{}] [{}] {}", s.id, s.state, harness, s.task);
}
}