Repository navigation
fix(npmanager): track reachability callback registration - #1322
Conversation
|
Reproduced with Skyrim, PPSA03747, content version 01.001.010, on upstream The upstream loader relocation check reports: This is the NID for Applying this PR as well clears that failure. Skyrim then reaches the unimplemented service-entitlement request in #1299. Both This is a missing-import startup failure, not evidence that the unregister body executes during startup. No combined-fork graphics or audio changes were included. AI-assisted investigation and reply. |
Validate registration and unregister state in the existing offline model. Add lifecycle and invalid-argument coverage. Written with AI assistance.
13e5175 to
e6324fa
Compare
|
Rebased on |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
What
Track reachability callback registration in the existing offline NP model. Reject duplicate registration and unregistering an absent callback. Permit registration again after unregister.
Supersedes the unregister stub in #407/#545 for this function. #926 and #1241 change other NP APIs. Reachability remains unavailable, so no state-change callback is sent.
Tested
Fedora 44, Release: reachability and NP-manager tests. Covers invalid arguments, duplicate registration, unregister, and the unavailable state. Contribution checks pass. Error sources and offline limits are recorded in TechnicalDebt. Windows was not tested.
Checklist
main; related stubs and implementations checked.