MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestStaleStreamEventDoesNotMutateLiveTurn

Function TestStaleStreamEventDoesNotMutateLiveTurn

internal/tui/tui_test.go:2590–2609  ·  view source on GitHub ↗

TestStaleStreamEventDoesNotMutateLiveTurn: after Ctrl+C kills turn 1 and the user submits turn 2, turn 1's readEvent Cmd can still fire (buffered channel or producer not yet exited). That stale event must not write turn 2's streaming buffer or session counters.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

newTestModelFunction · 0.85
StringMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected