fix: remove remaining workflow invoke surfaces

This commit is contained in:
2026-07-16 06:04:19 +09:00
parent d801b2698b
commit d30dca2d99
11 changed files with 43 additions and 26 deletions
+2 -5
View File
@@ -3324,7 +3324,7 @@ mod completion_flow_tests {
}
#[test]
fn live_system_item_workflow_appends_system_message_block() {
fn live_legacy_workflow_system_item_is_ignored() {
let mut app = App::new("test".into());
let item = serde_json::json!({
"kind": "workflow",
@@ -3333,10 +3333,7 @@ mod completion_flow_tests {
});
app.handle_worker_event(Event::SystemItem { item });
assert!(matches!(
app.blocks.as_slice(),
[Block::SystemMessage { text }] if text == "[Workflow /build]\nRun the build"
));
assert!(app.blocks.is_empty());
}
#[test]