Skip to content

fix(savedata): queue conversion completion events - #6313

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
mazen320:fix/savedata-convert-completion-event
Oct 23, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
mazen320:fix/savedata-convert-completion-event

Conversation

@mazen320

@mazen320 mazen320 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

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

This was referenced Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestSaveDataConvert.cpp
PR 7780 core/libs/prx/libSceSaveData.native/Export.cpp
docs/dev/debt/libSceSaveData.native.md
PR 8285 core/libs/prx/libSceSaveData.native/Export.cpp
PR 9819 core/libs/prx/libSceSaveData.native/Export.cpp
PR 9826 core/libs/prx/libSceSaveData.native/Export.cpp

@mazen320
mazen320 marked this pull request as ready for review October 21, 2026 14:13
@mazen320
mazen320 force-pushed the fix/savedata-convert-completion-event branch from 2fd2572 to f638400 Compare October 21, 2026 14:13
@github-actions github-actions Bot removed the unblocks title Names a title ID on the Unblocks line label Oct 21, 2026
@xXPBSXx

xXPBSXx commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

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

@oneandonlydean oneandonlydean self-assigned this Oct 22, 2026
@oneandonlydean
oneandonlydean merged commit dd7a2c9 into boykopovar:main Oct 23, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants