Repository navigation
Commit 685abe8
committed
fix(s090): the trace test waits for the turn, not for the model call
The FIPS leg failed on slice 014's branch while its sibling run of the same commit
passed. That is R26's signature, and R26's own counter-example entry says the
signature is not the diagnosis, so the stack trace was read first. It was not R26.
Trinity.TelemetryTest, two turns are two traces, sent its second user message as
soon as it received the llm call stop event from the first. That event fires when
the model call ends, not when the turn does: the session is still thinking while
it writes the result, so the second message returned {:error, {:busy, :thinking}}.
It has been racy since slice 090 and passed on the ordinary gate for days because
that leg is faster where it matters. The FIPS leg is about half again as slow,
which is enough to lose the race reliably.
The test now waits for idle, which is what it meant: two turns is a claim about
two turns, and the end of a model call is not the end of a turn. A poll against a
deadline rather than a sleep, so it flunks naming the state it was stuck in rather
than trading one race for a slower one.
Signed-off-by: Ayla Croft <aylacroft@proton.me>1 parent cdf33a5 commit 685abe8
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
179 | 205 | | |
180 | 206 | | |
181 | 207 | | |
| |||
0 commit comments