test_q3_desktop_stress.py python
28 lines 895 B
Raw
sha256:0e9549ec7b463911bc08b7d586dc320b1ac9b1f5c943ee7e3865dcc6cb0f6f83 chore(governance): sync handover+roadmap to 84db8c8 (drift:… Human 1 day ago
1 """Stress tests for Track Q / Q3 Tauri desktop packaging."""
2
3 from __future__ import annotations
4
5 from pathlib import Path
6
7 from tests.fixtures.app import seed_app_repo
8 from tests.fixtures.desktop import make_desktop_launcher
9 from tools.desktop.banner import parse_startup_stderr
10
11
12 def test_repeated_launch_stop_cycles_leave_no_tmp_artifacts(tmp_path: Path) -> None:
13 seed_app_repo(tmp_path)
14 for cycle in range(5):
15 launcher = make_desktop_launcher(tmp_path, seed=False)
16 banner = launcher.start()
17 assert parse_startup_stderr(
18 [
19 "ok app listening\n",
20 f"url: {banner.url}\n",
21 f"session_credential: {banner.session_credential}\n",
22 f"csrf_token: {banner.csrf_token}\n",
23 ]
24 )
25 launcher.stop()
26
27 temps = list(tmp_path.rglob("*.overseer.tmp"))
28 assert temps == []
File History 1 commit
sha256:6abcf1fa82a7a621ccbc945f19acdba5bc0db54569599404a1452fb4a096a199 fix(ISR): default require_independent_second_reviewer to require Human minor 1 day ago