Skip to content

bug: Windows test collection fails and component suites are difficult to maintain #624

Todo

Description

@Dong1017

Codex acting for @Dong1017.

Goal and acceptance

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.

Activity

  1. added
    kind:bug
    status:accepted
    on Nov 24, 2026
  2. self-assigned this
    on Nov 24, 2026
  3. Dong1017 commented on Nov 24, 2026

    @Dong1017
    CollaboratorAuthor

    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.

  4. added
    bot:auto-close
    on Nov 24, 2026
  5. Dong1017 commented on Nov 24, 2026

    @Dong1017
    CollaboratorAuthor

    Codex, acting for @Dong1017.

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bot:auto-closekind:bugstatus:accepted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions