xtf* tool services: #4 entry points and client creators #3

Open
opened 2026-11-26 06:06:58 +00:00 by github-bot · 4 comments
Owner

@⁠omonkeyz on GitHub · 2026-11-21 16:52 UTC · original

Crate: crates/compat/xtfdebugmonitor, xtfdiaginfo, xtfeventserver, xtffileio

Missing exports: xtfdebugmonitor: #4, XtfCreateDebugMonitorClient. xtfdiaginfo: #4, #10. xtfeventserver: #4. xtffileio: #4, XtfCreateFileIOClient.

Notes: Ordinal #4 in each is the XbtpServerEntryPoint-style extension entry (see xtfpix src/server.rs for a finished example: extension-ID and IID checks, handler table).

The export rows are marked missing in each crate's exports.txt. Read CONTRIBUTING.md first: console behaviour, tests, no fake success, no game files or binaries in the PR. Comment here to claim it so work isn't duplicated.

**@⁠omonkeyz** on GitHub · 2026-11-21 16:52 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/3) **Crate:** `crates/compat/xtfdebugmonitor, xtfdiaginfo, xtfeventserver, xtffileio` **Missing exports:** xtfdebugmonitor: #4, XtfCreateDebugMonitorClient. xtfdiaginfo: #4, #10. xtfeventserver: #4. xtffileio: #4, XtfCreateFileIOClient. **Notes:** Ordinal #4 in each is the XbtpServerEntryPoint-style extension entry (see xtfpix `src/server.rs` for a finished example: extension-ID and IID checks, handler table). The export rows are marked `missing` in each crate's `exports.txt`. Read [CONTRIBUTING.md](../blob/main/CONTRIBUTING.md) first: console behaviour, tests, no fake success, no game files or binaries in the PR. Comment here to claim it so work isn't duplicated.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:06:58 +00:00
Author
Owner

@⁠figmasigma122343-bot on GitHub · 2026-11-21 19:07 UTC · original · edited 2026-11-22 07:58 UTC

xtffileio #4 is now in main with the 15 fileio-a and 8 fileio-b handlers tested; the #5 client code is ported in src/client.rs but still not exported. #43 was repurposed to the xbtp global_asm build fix.

**@⁠figmasigma122343-bot** on GitHub · 2026-11-21 19:07 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/3#issuecomment-7067778475) · edited 2026-11-22 07:58 UTC xtffileio #4 is now in main with the 15 fileio-a and 8 fileio-b handlers tested; the #5 client code is ported in src/client.rs but still not exported. #43 was repurposed to the xbtp global_asm build fix.
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-23 15:55 UTC · original

I tested #3 on commit f89e4106fe, using Windows/MSVC and Rust 1.96.0.

Without elevation: xtfeventserver 14 passed; xtfdiaginfo 69 passed, 1 ignored.

As Administrator: each suite has one failure. The event-server test receives ETW session metadata before its expected provider event. The diagnostics test expects WPP_STATE.logger to remain enabled after the state-capture routine has stopped it.

These appear to be test-assumption issues; I haven’t established a production defect. Report and stdout/stderr logs attached.

issue-3-etw-validation.txt
xtfdiaginfo-admin.log
xtfdiaginfo-admin-stderr.log
xtfeventserver-admin.log
xtfeventserver-admin-stderr.log

**@⁠BaggyALPHA** on GitHub · 2026-11-23 15:55 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/3#issuecomment-7106317943) I tested #3 on commit f89e4106fe8a1728515afa34ceb5097132cadcda, using Windows/MSVC and Rust 1.96.0. Without elevation: xtfeventserver 14 passed; xtfdiaginfo 69 passed, 1 ignored. As Administrator: each suite has one failure. The event-server test receives ETW session metadata before its expected provider event. The diagnostics test expects WPP_STATE.logger to remain enabled after the state-capture routine has stopped it. These appear to be test-assumption issues; I haven’t established a production defect. Report and stdout/stderr logs attached. [issue-3-etw-validation.txt](https://github.com/user-attachments/files/35284830/issue-3-etw-validation.txt) [xtfdiaginfo-admin.log](https://github.com/user-attachments/files/35284832/xtfdiaginfo-admin.log) [xtfdiaginfo-admin-stderr.log](https://github.com/user-attachments/files/35284829/xtfdiaginfo-admin-stderr.log) [xtfeventserver-admin.log](https://github.com/user-attachments/files/35284831/xtfeventserver-admin.log) [xtfeventserver-admin-stderr.log](https://github.com/user-attachments/files/35284833/xtfeventserver-admin-stderr.log)
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-23 16:52 UTC · original

Following up on my earlier report: I’ve attached a test-only fix for the event-server failure. The test now collects preceding ETW session metadata before validating the intended provider event, retaining the exact descriptor and payload assertions.

All 14 tests passed normally and elevated, with two additional elevated repeats. Cargo check and the PR gate passed. Production behavior is unchanged; the separate diagnostics failure remains outside this patch.

issue-3-event-provider-fix.patch
issue-3-event-provider-before.txt
issue-3-event-provider-after.txt
issue-3-event-provider-notes.txt

**@⁠BaggyALPHA** on GitHub · 2026-11-23 16:52 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/3#issuecomment-7107806067) Following up on my earlier report: I’ve attached a test-only fix for the event-server failure. The test now collects preceding ETW session metadata before validating the intended provider event, retaining the exact descriptor and payload assertions. All 14 tests passed normally and elevated, with two additional elevated repeats. Cargo check and the PR gate passed. Production behavior is unchanged; the separate diagnostics failure remains outside this patch. [issue-3-event-provider-fix.patch](https://github.com/user-attachments/files/35287319/issue-3-event-provider-fix.patch) [issue-3-event-provider-before.txt](https://github.com/user-attachments/files/35287321/issue-3-event-provider-before.txt) [issue-3-event-provider-after.txt](https://github.com/user-attachments/files/35287320/issue-3-event-provider-after.txt) [issue-3-event-provider-notes.txt](https://github.com/user-attachments/files/35287322/issue-3-event-provider-notes.txt)
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-23 16:58 UTC · original

I’ve attached a separate test-only fix for the diagnostics failure. The state-capture routine stops its logger before returning, so the test now checks that stopped state and reads the completed ETL to verify the state header and all five diagnostic sections.

Both normal and elevated suites passed 69 tests, with one helper ignored. Two additional elevated runs, Cargo check, and the PR gate passed. Production behavior is unchanged.

issue-3-diag-state-capture.patch
issue-3-diag-state-before.txt
issue-3-diag-state-after.txt
issue-3-diag-state-notes.txt

**@⁠BaggyALPHA** on GitHub · 2026-11-23 16:58 UTC · [original](https://github.com/omonkeyz/xbox-emulator/issues/3#issuecomment-7107961332) I’ve attached a separate test-only fix for the diagnostics failure. The state-capture routine stops its logger before returning, so the test now checks that stopped state and reads the completed ETL to verify the state header and all five diagnostic sections. Both normal and elevated suites passed 69 tests, with one helper ignored. Two additional elevated runs, Cargo check, and the PR gate passed. Production behavior is unchanged. [issue-3-diag-state-capture.patch](https://github.com/user-attachments/files/35287548/issue-3-diag-state-capture.patch) [issue-3-diag-state-before.txt](https://github.com/user-attachments/files/35287551/issue-3-diag-state-before.txt) [issue-3-diag-state-after.txt](https://github.com/user-attachments/files/35287550/issue-3-diag-state-after.txt) [issue-3-diag-state-notes.txt](https://github.com/user-attachments/files/35287549/issue-3-diag-state-notes.txt)
This discussion has been locked. Commenting is limited to contributors.
No description provided.