Skip to content

Commit 992a0c3

Browse files
committed
Add test for duplicate complete
1 parent aa66d15 commit 992a0c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/exp_mcp_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,10 @@ func TestExpMcpReporter(t *testing.T) {
905905
URI: "https://dev.coder.com",
906906
},
907907
},
908+
// A completed update at this point from the watcher should be discarded.
909+
{
910+
event: makeStatusEvent(agentapi.StatusStable),
911+
},
908912
// Terminal becomes active again according to the screen watcher, but no
909913
// new user message. This could be the LLM being active again, but it
910914
// could also be the user messing around. We will prefer not updating the

0 commit comments

Comments
 (0)