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
@@ -80,11 +80,15 @@ def _make_tool(loop=None):
|
||||
class TestInspectSummary:
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_inspect_returns_current_state(self):
|
||||
async def test_inspect_returns_current_state_and_description_keys(self):
|
||||
tool = _make_tool()
|
||||
result = await tool.execute(action="check")
|
||||
assert "max_iterations: 40" in result
|
||||
assert "context_window_tokens: 65536" in result
|
||||
assert "model" in result
|
||||
assert "workspace" in result
|
||||
assert "provider_retry_mode" in result
|
||||
assert "max_tool_result_chars" in result
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_inspect_includes_scratchpad(self):
|
||||
@@ -94,18 +98,6 @@ class TestInspectSummary:
|
||||
result = await tool.execute(action="check")
|
||||
assert "task" in result
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_inspect_summary_shows_all_description_keys(self):
|
||||
"""check without key should show all top-level keys listed in description."""
|
||||
tool = _make_tool()
|
||||
result = await tool.execute(action="check")
|
||||
assert "max_iterations" in result
|
||||
assert "context_window_tokens" in result
|
||||
assert "model" in result
|
||||
assert "workspace" in result
|
||||
assert "provider_retry_mode" in result
|
||||
assert "max_tool_result_chars" in result
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# check — single key (direct)
|
||||
|
||||
Reference in new issue
Block a user