fix: update workflow-free tui tests
This commit is contained in:
@@ -3584,12 +3584,11 @@ mod completion_flow_tests {
|
||||
```json\n{\n \"tasks\": [\n {\n \"taskid\": 4,\n \
|
||||
\"status\": \"inprogress\",\n \"subject\": \"from snapshot\",\n \
|
||||
\"description\": \"d\"\n }\n ]\n}\n```\n";
|
||||
// Snapshot text injected as a workflow body (kind doesn't matter
|
||||
// for task-store parsing, only the text contents do).
|
||||
// Snapshot text injected through an active system item kind; legacy
|
||||
// workflow items are intentionally ignored and must not carry active state.
|
||||
app.handle_worker_event(Event::SystemItem {
|
||||
item: serde_json::json!({
|
||||
"kind": "workflow",
|
||||
"slug": "task-snapshot",
|
||||
"kind": "task_reminder",
|
||||
"body": snapshot,
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -826,17 +826,9 @@ fn ticket_queue_notification_message_carries_routing_contract() {
|
||||
assert!(message.contains("before any worktree/SpawnWorker implementation side effects"));
|
||||
assert!(message.contains("After inprogress acceptance"));
|
||||
assert!(message.contains("implementation worktree"));
|
||||
assert!(message.contains("`.worktree/<task-name>`"));
|
||||
assert!(message.contains("tracked `.yoi` project records visible"));
|
||||
assert!(
|
||||
message.contains(
|
||||
"`.yoi/memory` plus local/runtime/log/lock/secret-like `.yoi` paths excluded"
|
||||
)
|
||||
);
|
||||
assert!(message.contains("generated/local/runtime/log/lock/secret-like `.yoi` paths excluded"));
|
||||
assert!(message.contains("sibling coder/reviewer Workers"));
|
||||
assert!(message.contains("sibling coder/reviewer Workers"));
|
||||
assert!(message.contains("coder narrow child-worktree write scope"));
|
||||
assert!(message.contains("reviewer read-only by default"));
|
||||
assert!(message.contains(
|
||||
"integrate the implementation branch into the orchestration branch automatically"
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user