Session and stream itests: timing-dependent and always-true assertions #81
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/claude-code-query#81
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found closing kyo-experiment/02-kyo-session (code review and gate runs, 2026-10-01). Four follow-ups, one cause: tests whose result depends on scheduling under load, and one assertion that cannot fail.
QueryProcessIntegrationTest"each message arrives while the CLI is still running" fails under load — failed in./mill __.itestand once inkyo.itest(2026-10-01, with the 3072-line flood test and real-CLI E2E in the same run); passed 3/3 alone and 2/2 in later fullkyo.itestruns;directClaudeCodeStreamingTest,ProcessManagerTesttimeout cleanup andeffectfullifecycle failed in the same parallel run and pass alonebetween = 300.millis, a 2 s stand-in delay); a loaded host can reorder them —kyo/itest/.../ChatIntegrationTest.scala,SessionIntegrationTest.scala"send returns before the result lands" (02-kyo-session review)stillQueued.forall(_.nonEmpty), true for an empty list; ported as inzio—kyo/itest/.../SessionE2ETest.scala,zio/itest/.../SessionE2ETest.scala(02-kyo-session review)effectfulSessionIntegrationTest"full single-turn session lifecycle with mock CLI" gets the wrong message count under a parallel./mill __.itest(effectful/itest/.../SessionIntegrationTest.scala:47, failed in 2 of 3 parallel runs on 2026-10-01); passes alone; not touched by this branch