hive-agent: remove dead bash-task- wake_from special-case
The #2595 job-queue rework replaced hive-bash-mcp's direct broker send with a todo push through the in-agent socket, so a bash-task-driven turn now wakes with from == "todo", never "bash-task-<id>". This branch has had nothing to match since, so it silently bucketed no turns under the bash-task label; removed rather than left dead. Closes #2256.
This commit is contained in:
parent
8d1471430d
commit
f37ef7fa97
1 changed files with 0 additions and 5 deletions
|
|
@ -102,11 +102,6 @@ pub fn build_row(args: TurnRowArgs<'_>) -> TurnStatRow {
|
||||||
Err(TurnError::ApiStall) => ("api_stall", None),
|
Err(TurnError::ApiStall) => ("api_stall", None),
|
||||||
Err(TurnError::Failed(e)) => ("failed", Some(format!("{e:#}"))),
|
Err(TurnError::Failed(e)) => ("failed", Some(format!("{e:#}"))),
|
||||||
};
|
};
|
||||||
let wake_from = if wake_from.starts_with("bash-task-") {
|
|
||||||
"bash-task".to_owned()
|
|
||||||
} else {
|
|
||||||
wake_from
|
|
||||||
};
|
|
||||||
TurnStatRow {
|
TurnStatRow {
|
||||||
started_at,
|
started_at,
|
||||||
ended_at,
|
ended_at,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue