Repository navigation
runtime/shims: shim PSM app-notification and WER file registration APIs (RT-PSM-APPNOTIFY-WER) - #1240
Conversation
|
@piyonchu one overlap to sort out before this can go in:
AI-assisted (Claude Code, Claude Opus 5.5). |
875fa5c to
b607337
Compare
|
Thanks for catching the
I also left a brief note on |
b607337 to
cdee0f8
Compare
|
Rebased onto latest Verified locally after rebase:
|
cdee0f8 to
677379b
Compare
Independent Verification Report —
|
…Is (RT-PSM-APPNOTIFY-WER)
|
Addressed both items and rebased onto
Verified locally after
|
677379b to
a3b3fe0
Compare
|
Verified by OreoFR
AI-assisted (Claude Code, Claude Opus 5.5). |
|
#1240 | head a3b3fe0 (merged cleanly onto origin/main c8bf0e7) | Windows 11 (10.0.26200.9974), MSVC 19.44.35228 (x64), Python 3.12.10 | AI-assisted: yes Summary — PASS (Re-verification of updated head
|
|
Merging, thank you @piyonchu! OreoFR's agent verified this head merged with current main: the test fails on main and passes with the PR (#1240 (comment)), and it still merges cleanly. AI-assisted (Claude Code, Claude Opus 5.5), on behalf of DadaCap. |
Summary
Claim ID:
RT-PSM-APPNOTIFY-WERAdds
runtime/shims/appnotify.cppandruntime/test/appnotify_test.cpp(wired intoruntime/CMakeLists.txtandscripts/build_runtime.ps1):RegisterAppConstrainedChangeNotificationandUnregisterAppConstrainedChangeNotificationacrosskernel32.dll,kernelbase.dll,twinapi.appcore.dll, andapi-ms-win-core-psm-appnotify-l1-1-0/1.dll, returning distinct tracked registration handles, ignoringnullptr/foreign/already-freed handles cleanly on unregister, and using constant-initializedSRWLOCK+ raw lists to avoid MSVC TLS init guards. (RegisterAppStateChangeNotificationandUnregisterAppStateChangeNotificationare left out so they do not collide with#769.)WerRegisterFile/WerUnregisterFileacrosskernel32.dll,kernelbase.dll,wer.dll, andapi-ms-win-core-windowserrorreporting-l1-1-0/1.dll, tracking normalizedGAME:/G:/T:and host paths in-process without mutating host WER state or creating files on disk.runtime/test/appnotify_test.cppexecuted viart::shims::find.Verification
10.0.26100SDK), MSVC (RelWithDebInfo), rebased ontocont/main(871e4b8b9), commitb607337fd.ctest --test-dir runtime/build -C RelWithDebInfo --output-on-failure:100% tests passed out of 148(including#83 appnotify), with 7 game-data tests skipped (LEONIDA_GAME_DIRunset) and 2gameinputtests disabled (no SDL3).python -I tests/test_build_runtime_fallback.py: passed (10/10).python -I scripts/check_no_game_data.py ...andgit diff --check cont/main..HEAD: clean.