Commit 8f5bcca
committed
fix(smoke): skip terminal sidecar in mock smoke runs
The Linux release smoke path uses the mock terminal backend, so it should not spawn the terminal session sidecar at all. Skipping that helper in smoke mode avoids the CI-only auxiliary-process crash while preserving normal runtime persistence behavior outside smoke runs.
Constraint: Smoke mode must still exercise the real app binary and embedded terminal host startup path
Rejected: Disable the terminal sidecar globally for mock backend runs | normal desktop sessions may still want persistence fallback semantics outside smoke mode
Confidence: high
Scope-risk: narrow
Directive: Keep CI smoke-specific runtime relaxations gated on smoke mode, not on backend choice alone
Tested: cargo test -p taskers smoke_with_mock_backend_skips_terminal_sidecar -- --nocapture; cargo build -p taskers --bin taskers --bin taskers-gtk --bin taskersctl --bin taskers-terminald; TASKERS_TERMINAL_BACKEND=mock TIMEOUT_SECONDS=90 bash scripts/headless-smoke.sh ./target/debug/taskers --smoke-script baseline --diagnostic-log stderr --quit-after-ms 5000
Not-tested: Full GitHub release-assets workflow rerun after retag1 parent 826d00e commit 8f5bcca
1 file changed
Lines changed: 52 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
1355 | 1363 | | |
1356 | 1364 | | |
1357 | 1365 | | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
1371 | 1386 | | |
1372 | 1387 | | |
1373 | 1388 | | |
| |||
2456 | 2471 | | |
2457 | 2472 | | |
2458 | 2473 | | |
2459 | | - | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
2460 | 2478 | | |
2461 | 2479 | | |
2462 | 2480 | | |
| |||
2504 | 2522 | | |
2505 | 2523 | | |
2506 | 2524 | | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
2507 | 2545 | | |
0 commit comments