ci: reduce Python test overhead and Windows latency (#6357)
* test: merge overlapping semantic contract coverage Consolidate the six confirmed NAN-310 overlap groups while preserving replay, usage, generation kwargs, archive metadata, inspect fields, and subagent crash/redelivery assertions. * test: lighten history seeds and layer runner progress rules * ci: defer test storage setup and record phase timings Close each listener-owned binary bridge before waiting for its TCP server; retain active upload and undecided-connection regressions. Avoid consuming readiness twice and run the repository import scan once in its static gate. NAN-310. * test: scope filesystem mocks and observe consumed socket prefixes * test: publish subprocess readiness files atomically * ci: isolate external tool discovery and use three Windows workers
This commit is contained in:
1 parent
743c51e81f
commit
f284749d2f
28 files changed
+518
-448
No files matched your search
@@ -102,10 +102,11 @@ def test_webui_session_list_scans_empty_display_directory_once_per_request(tmp_p
|
||||
scans.append(Path(path))
|
||||
return original_scandir(path)
|
||||
|
||||
monkeypatch.setattr(Path, "stat", stored_files_only)
|
||||
monkeypatch.setattr(session_list_index.os, "scandir", scan)
|
||||
for _ in range(2):
|
||||
assert {row["key"] for row in list_webui_sessions(manager)} == keys
|
||||
with monkeypatch.context() as patch:
|
||||
patch.setattr(Path, "stat", stored_files_only)
|
||||
patch.setattr(session_list_index.os, "scandir", scan)
|
||||
for _ in range(2):
|
||||
assert {row["key"] for row in list_webui_sessions(manager)} == keys
|
||||
assert scans == [webui_dir, webui_dir]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user