Commit fa68455
authored
fix(test): unbreak qwen serve integration suites after daemon batch merge (#5041)
Three integration tests have failed every nightly Release and E2E run
since the daemon-mode feature batch (#4490) merged, because these
suites only run post-merge:
- routes: resync the capabilities envelope baseline with the features
the batch added (verified against a live daemon), and strip the env
toggles that flip conditional tags so the exact-equality assertion
is hermetic on dev machines.
- baseline: the 2xN MCP grandchildren tripwire fired as designed —
the workspace MCP pool eliminated the bootstrap/session duplicate
discovery. Assert exactly N pooled children and cross-check the
pool's per-server accounting against pgrep.
- streaming: the permission test could finish with its turn still
blocked on a second permission request nobody would ever answer;
the abandoned request wedges the shared session's prompt FIFO and
the downstream Last-Event-ID resume test times out waiting for a
turn_complete that never comes (reproduced empirically). Pin the
session to default approval mode (hermetic vs host user settings)
and cancel the possibly-in-flight turn before finishing.
The daemon-side wedge (abandoned permission request blocks the FIFO
until an explicit cancel) is real beyond tests and tracked separately.1 parent e07d069 commit fa68455
3 files changed
Lines changed: 113 additions & 42 deletions
File tree
- integration-tests/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
| 446 | + | |
450 | 447 | | |
451 | 448 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
464 | 460 | | |
465 | 461 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
473 | 470 | | |
474 | 471 | | |
475 | 472 | | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
| 473 | + | |
| 474 | + | |
481 | 475 | | |
482 | 476 | | |
483 | 477 | | |
| |||
490 | 484 | | |
491 | 485 | | |
492 | 486 | | |
493 | | - | |
494 | | - | |
| 487 | + | |
| 488 | + | |
495 | 489 | | |
496 | 490 | | |
497 | 491 | | |
498 | 492 | | |
499 | | - | |
500 | 493 | | |
501 | 494 | | |
502 | | - | |
| 495 | + | |
503 | 496 | | |
504 | 497 | | |
505 | 498 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
74 | 93 | | |
75 | 94 | | |
76 | 95 | | |
| |||
187 | 206 | | |
188 | 207 | | |
189 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
190 | 218 | | |
191 | 219 | | |
192 | 220 | | |
| |||
209 | 237 | | |
210 | 238 | | |
211 | 239 | | |
| 240 | + | |
212 | 241 | | |
213 | 242 | | |
| 243 | + | |
214 | 244 | | |
215 | 245 | | |
216 | 246 | | |
| 247 | + | |
217 | 248 | | |
218 | 249 | | |
| 250 | + | |
219 | 251 | | |
220 | 252 | | |
221 | 253 | | |
| 254 | + | |
222 | 255 | | |
| 256 | + | |
223 | 257 | | |
224 | 258 | | |
225 | 259 | | |
226 | 260 | | |
227 | 261 | | |
| 262 | + | |
228 | 263 | | |
229 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
230 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
231 | 279 | | |
232 | 280 | | |
233 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
| |||
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
318 | 340 | | |
319 | 341 | | |
320 | 342 | | |
| |||
0 commit comments