fix(savedata): queue conversion completion events #6313

Merged
mazen320 merged 1 commit from upstream-pr/6313 into main 2026-10-23 06:28:08 +00:00
mazen320 commented 2026-10-15 11:02:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T11:02:12Z.


What

Successful sceSaveDataConvert calls now queue one type-5 completion event with the result, user and directory. Previously conversion returned success and reported full progress but never published completion, so callers waiting on sceSaveDataGetEventResult could wait indefinitely.

Tested

Windows 11, MinGW GCC 15.2, Release, tip f63840070 on current upstream/main:

  • guest_savedata_convert passed (queues type 5 once, then NOT_FOUND)
  • python tools/check_conventions.py --base upstream/main — all checks passed

Checklist

  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: N/A
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4872205449 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6313). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T11:02:12Z. --- ### What Successful `sceSaveDataConvert` calls now queue one type-5 completion event with the result, user and directory. Previously conversion returned success and reported full progress but never published completion, so callers waiting on `sceSaveDataGetEventResult` could wait indefinitely. ### Tested Windows 11, MinGW GCC 15.2, Release, tip `f63840070` on current `upstream/main`: - `guest_savedata_convert` passed (queues type 5 once, then `NOT_FOUND`) - `python tools/check_conventions.py --base upstream/main` — all checks passed ### Checklist - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: N/A - [x] AI-assisted: yes
xXPBSXx commented 2026-10-21 18:42:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T18:42:54Z.


Independent Windows run of this PR (data only).

Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against main is clean. I built only guest_savedata_convert_tests; ctest -N -R guest_savedata_convert lists exactly one test.

PR head tested: f63840070996b554af6c5af97c138c8f1130d206.

Results (3 runs each):

  • PR head: guest_savedata_convert passes 3/3.
  • Baseline: I kept the PR's test and replaced only core/libs/prx/libSceSaveData.native/Export.cpp with the version from the PR's merge base (f90a3f7297), then rebuilt. The test fails 3/3 (ctest reports Failed). I restored the PR's files afterwards.

Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6323763321 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6313#issuecomment-6323763321). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-21T18:42:54Z. --- Independent Windows run of this PR (data only). **Environment:** Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against `main` is clean. I built only `guest_savedata_convert_tests`; `ctest -N -R guest_savedata_convert` lists exactly one test. **PR head tested:** `f63840070996b554af6c5af97c138c8f1130d206`. **Results (3 runs each):** - PR head: `guest_savedata_convert` passes 3/3. - Baseline: I kept the PR's test and replaced only `core/libs/prx/libSceSaveData.native/Export.cpp` with the version from the PR's merge base (`f90a3f7297`), then rebuilt. The test fails 3/3 (ctest reports Failed). I restored the PR's files afterwards. **Not run:** other platforms, the other tests in the same family, the full repository CTest, and any title or console run. AI-assisted (Claude Code).
mazen320 commented 2026-10-21 18:51:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-21T18:51:50Z.


Thanks for the independent Windows run and the baseline check — good to have the negative control too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6323940542 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6313#issuecomment-6323940542). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-21T18:51:50Z. --- Thanks for the independent Windows run and the baseline check — good to have the negative control too.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6313
No description provided.