fix(TASK-028): pin example-doc wording; make not-found escalation hint match queue semantics

This commit is contained in:
Dark-Alex-17 committed 2026-09-14 11:13:34 -06:00
1 parent 3339920377
commit b90e04f227
2 files changed
+22 -3

No files matched your search

+5 -1
View File
@@ -1711,7 +1711,7 @@ fn handle_reply_escalation(ctx: &mut RequestContext, args: &Value) -> Result<Val
}
None => Ok(json!({
"status": "error",
"message": format!("No pending escalation found with id '{escalation_id}'. It may have already been replied to, or the child is no longer waiting (aborted, or its configured `escalation_timeout` expired)."),
"message": format!("No pending escalation found with id '{escalation_id}'. It may have already been replied to."),
})),
}
}
@@ -3093,6 +3093,10 @@ mod tests {
)
.unwrap();
assert_eq!(result["status"], "error");
assert_eq!(
result["message"],
"No pending escalation found with id 'missing'. It may have already been replied to."
);
}
#[test]