Skip to content

Upgrade Windows bindings to windows-sys 0.61.2 - #50058

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/86f53d9b300d13edff7154f4a7c32e34dacd2919
Oct 1, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/86f53d9b300d13edff7154f4a7c32e34dacd2919

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Upgrade Windows bindings to windows-sys 0.61.2

What changed

  • Centralize windows-sys at version 0.61.2 in the workspace and migrate dependent crates to it.
  • Adapt Windows API calls to the updated handle, boolean, and type definitions. Replace custom handle owners with OwnedHandle and use BorrowedHandle where ownership stays with the caller.
  • Add explicit wrappers for non-owning Windows handles passed between threads.

Testing

Enable the MCP refresh cleanup test on Windows. Retain process handles to verify that a superseded MCP server stays alive during an in-flight call, exits after cancellation, and leaves the replacement running until shutdown.

## What changed

- Centralize `windows-sys` at version `0.61.2` in the workspace and migrate dependent crates to it.
- Adapt Windows API calls to the updated handle, boolean, and type definitions. Replace custom handle owners with `OwnedHandle` and use `BorrowedHandle` where ownership stays with the caller.
- Add explicit wrappers for non-owning Windows handles passed between threads.

## Testing

Enable the MCP refresh cleanup test on Windows. Retain process handles to verify that a superseded MCP server stays alive during an in-flight call, exits after cancellation, and leaves the replacement running until shutdown.

GitOrigin-RevId: 86f53d9b300d13edff7154f4a7c32e34dacd2919
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/86f53d9b300d13edff7154f4a7c32e34dacd2919 branch from eeca018 to b06b7d2 Compare October 1, 2026 18:05
@copyberry
copyberry Bot merged commit b06b7d2 into main Oct 1, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/86f53d9b300d13edff7154f4a7c32e34dacd2919 branch October 1, 2026 18:05
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant