feat: finish the xgameruntime port to Rust (XPackage, XAsync race, store handles) #285
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!285
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-285"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LooperSalty on GitHub · 2026-11-26 00:44 UTC · original
LooperSalty:codex/xgameruntime-finish→rust/full· +980 −22 · 15 files · 16 commits · closed without mergingChange
Finishes porting
runtime/xgameruntime(C++) tocrates/anyxboxx-xgameruntime, written by OpenAI Codex at the maintainer's request, in small commits on top ofrust/full0d5dfa16:E_NOTIMPLand logged (rule 3).docs/rust-full-status.mdanddocs/fr/rust-full-status.mdupdated together.Verification (local, Windows)
cargo build --release --workspace,cargo test --release --workspace, clippy (-D warnings), fmt, ruff: pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 00:44 UTC · original · edited 2026-11-26 00:46 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
e753e9aℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@ -608,0 +615,4 @@// Keep the call discoverable while cleanup runs: a waiting GetStatus must// not observe a missing call with its status still E_PENDING.call.cleaning.store(true, Ordering::Release);call.provider(OP_CLEANUP, block, 0, std::ptr::null_mut());@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 00:46 UTC · original
If an operation is canceled before its queued work runs, keeping it in
CALLSduring cleanup now allowsXAsyncSchedule's work callback to find it and invokeOP_DO_WORKafterOP_CLEANUPhas started freeing its context. For example,save_async::providerfrees its boxedCompletionduring cleanup, whileOP_DO_WORKdereferences that same pointer. Previously, removal before cleanup caused a work callback arriving in this interval to return without invoking the provider. The newcleaningflag only guardsrelease, not work or cancellation dispatch, so this introduces a use-after-free window. Keep status waiters able to discover the call without allowing further provider dispatch during cleanup.Useful? React with 👍 / 👎.
@ -23,0 +23,4 @@"xgameruntime.dll": ("xgameruntime.dll",[str(p.relative_to(REPO)) for pattern in ("tests/test_gdk_*.py", "tests/test_runtime_*.py")for p in sorted(REPO.glob(pattern))] + ["tests/test_native_services.py"],@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 00:46 UTC · original
On Windows machines without the system GDK runtime, the newly selected
test_runtime_cpp.pyintentionally skipstest_unknown_interface_delegated_to_windows_fails_cleanly;test_native_services.pylikewise skips cases when GameInput is unavailable. However, this wrapper asserts that the subprocess summary contains noskipped, so those supported environments fail the Rust parity check even when every runnable test passes. Account for these expected skips or select only tests whose prerequisites the parity runner guarantees.Useful? React with 👍 / 👎.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 00:46 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
e753e9a52aℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@LooperSalty on GitHub · 2026-11-26 11:46 UTC · original
Merged into main through #351 (rust/full into main), which contains every commit of this PR.
🤖 Generated with Claude Code
Pull request closed