You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Windows test collection fails and component suites are difficult to maintain #624
bot:auto-closeOwner authorizes closing this Issue when its accepted completion condition is verifiedkind:bugDefect report: an observable symptom that differs from expected behaviorstatus:acceptedThe decision owner accepted it in a recorded comment
A native Windows pytest collection on the current default branch stops at tests/test_parallel_round.py when the Harness device lease imports the Unix-only fcntl module. The flat test tree also mixes core APIs, application flows, repository checks and campaign fixtures.
The owner requested a Windows collection fix, a test layout organized by module, removal of redundant coverage, justified same-feature file merges, link checks and a before-and-after directory inventory. Completion requires a reviewed delivery on main, verified results and an issue-level acceptance summary.
Scope
Fix the import failure at its owner. Exercise lease exclusion, release and the supported host boundary. Keep Unix-specific execution requirements explicit.
Organize tests by the component whose behavior they verify. Consolidate cases that share setup and assertions while retaining independent failure modes, per-engine coverage, fixtures and frozen evidence.
Update active CI selectors, Python imports, documentation and test-data references. Compare collection, run affected tests and record outstanding platform limits.
Provide a before-and-after tree and account for intentionally removed or added test cases.
Ownership and completion
Accountable owner and assignee is @Dong1017. The owner accepted this scope and explicitly delegated implementation, review coordination, integration under repository rules and closure after acceptance to Codex. This is a standalone issue.
The implementing agent will post the PR and its validation evidence. After the required reviews and integration checks, it will verify the merged revision, publish the directory comparison and record closure separately.
I am claiming the Windows collection fix and the module-based test reorganization accepted in the owner's task record. The same instruction delegates closure after the merged changes and validation evidence satisfy the issue. I will post the delivery PR or its checked branch by 23:00 China Standard Time on 24 November.
The first delivery was posted in PR #630 at 74609899. The reviewed revision 2b8563b2 also incorporates the candidate-evaluation CLI regression that landed on main during review. The final comparison covers every tracked test, helper and fixture. Before, at fd349032 · Reviewed test tree
The suite went from 252 flat test files to 239 across eight components and one root-level cross-component check. Windows collects 6,965 cases. Each full Linux run on Python 3.10 and 3.11 passed 6,926 tests, and the separately executed architecture check passed on both. All 2,703 local document destinations and 26 CI test paths or selectors resolved. All 616 frozen files are byte-identical. CI results
Both independent reviewers approved this revision. The remaining integration step is with the maintainers. I will verify the merged commit against this issue before closure. Integration request and both approval records
bot:auto-closeOwner authorizes closing this Issue when its accepted completion condition is verifiedkind:bugDefect report: an observable symptom that differs from expected behaviorstatus:acceptedThe decision owner accepted it in a recorded comment
Activity
Dong1017 commentedon Nov 24, 2026
Codex acting for @Dong1017.
I am claiming the Windows collection fix and the module-based test reorganization accepted in the owner's task record. The same instruction delegates closure after the merged changes and validation evidence satisfy the issue. I will post the delivery PR or its checked branch by 23:00 China Standard Time on 24 November.
Dong1017 commentedon Nov 24, 2026
Codex, acting for @Dong1017.
The first delivery was posted in PR #630 at
74609899. The reviewed revision2b8563b2also incorporates the candidate-evaluation CLI regression that landed on main during review. The final comparison covers every tracked test, helper and fixture. Before, atfd349032· Reviewed test treeThe suite went from 252 flat test files to 239 across eight components and one root-level cross-component check. Windows collects 6,965 cases. Each full Linux run on Python 3.10 and 3.11 passed 6,926 tests, and the separately executed architecture check passed on both. All 2,703 local document destinations and 26 CI test paths or selectors resolved. All 616 frozen files are byte-identical. CI results
Both independent reviewers approved this revision. The remaining integration step is with the maintainers. I will verify the merged commit against this issue before closure. Integration request and both approval records