test(ci): isolate flaky scenarios and retain failure diagnostics (#6622)

* test(ci): isolate HTTP stubs and retain failure diagnostics

* test(agent): scope compaction watchdogs to each phase

* test(webui): isolate settings skeleton scenarios

* test(webui): await rendered rail content before scroll checks
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-10 13:53:51 +08:00
1 parent 220d5e6970
commit 62c05e7f7e
7 files changed
+40 -22

No files matched your search

@@ -10,3 +10,5 @@ def isolate_websocket_runtime_data(
) -> None:
"""Keep transcripts and other runtime files out of the active user data directory."""
monkeypatch.setattr("nanobot.config.paths.get_data_dir", lambda: tmp_path)
# In-process routes must not intercept a later test's real listener on a reused port.
monkeypatch.setattr("nanobot.channels.websocket.tests.ws_test_client._IN_PROCESS_HTTP_CHANNELS", {})