fix(SaveData): use C++20 file clock conversion #1260

Merged
MarcZX10 merged 2 commits from upstream-pr/1260 into main 2026-10-09 23:11:51 +00:00
MarcZX10 commented 2026-10-07 20:11:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-07T20:11:45Z.


What

Use C++20's file_time_type::clock::to_sys conversion when mapping saved-data file timestamps to system-clock time points. The source diff contains only this conversion. The nonportable directory-mtime check remains removed as requested in review.

Tested

Current head db3ccb5481226b1b2fae411bb01961a76d929495 is based linearly on upstream main at 8b393b6e. The complete source diff is one line in core/libs/prx/libSceSaveData.native/Export.cpp.

  • Linux x86-64, GCC 12.2, Release: built libSceSaveData.native and savedata_memory_metadata_tests; savedata_memory_metadata passed (1/1) on this head.
  • Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release: savedata_memory_metadata passed 3/3 on this head, tested alone on main 8b393b6e.
  • A separate batch build containing this PR plus 31 other PRs passed 520/521 CTests on the earlier head 4934c29f; the single failure was unrelated to this change (#2359). This aggregate run is not an exact-head full Build.
  • python3 tools/check_conventions.py --base upstream/main and git diff --check upstream/main...HEAD pass.
  • The required upstream Linux/Windows Build and relinker matrix still needs an authorized collaborator to run under the contribution policy. No PS5 hardware or title was tested.

Checklist

  • Based on current main; no other open PR implements the same change
  • One topic per PR; follow-ups go in a new PR
  • No code comments except technical debt comments
  • No silent stubs added
  • No investigation files or images added to the repository
  • No new third-party code
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4777909975 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-07T20:11:45Z. --- ### What Use C++20's `file_time_type::clock::to_sys` conversion when mapping saved-data file timestamps to system-clock time points. The source diff contains only this conversion. The nonportable directory-mtime check remains removed as requested in review. ### Tested Current head `db3ccb5481226b1b2fae411bb01961a76d929495` is based linearly on upstream `main` at `8b393b6e`. The complete source diff is one line in `core/libs/prx/libSceSaveData.native/Export.cpp`. - Linux x86-64, GCC 12.2, Release: built `libSceSaveData.native` and `savedata_memory_metadata_tests`; `savedata_memory_metadata` passed (1/1) on this head. - Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release: `savedata_memory_metadata` passed 3/3 on this head, tested alone on `main` `8b393b6e`. - A separate batch build containing this PR plus 31 other PRs passed 520/521 CTests on the earlier head `4934c29f`; the single failure was unrelated to this change (#2359). This aggregate run is not an exact-head full Build. - `python3 tools/check_conventions.py --base upstream/main` and `git diff --check upstream/main...HEAD` pass. - The required upstream Linux/Windows Build and relinker matrix still needs an authorized collaborator to run under the contribution policy. No PS5 hardware or title was tested. ### Checklist - [x] Based on current `main`; no other open PR implements the same change - [x] One topic per PR; follow-ups go in a new PR - [x] No code comments except technical debt comments - [x] No silent stubs added - [x] No investigation files or images added to the repository - [x] No new third-party code - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
oneandonlydean commented 2026-10-08 05:12:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T05:12:45Z.


Please drop the new check in SaveDataMemoryMetadata.cpp. The fix is compile-time, so it passes on main too, and on Windows it aborts setting the directory's mtime:

filesystem error: cannot set file time: Permission denied [_sd/mtime]

The to_sys change on its own can go in.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6052799567 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6052799567). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T05:12:45Z. --- Please drop the new check in `SaveDataMemoryMetadata.cpp`. The fix is compile-time, so it passes on main too, and on Windows it aborts setting the directory's mtime: ``` filesystem error: cannot set file time: Permission denied [_sd/mtime] ``` The `to_sys` change on its own can go in.
oneandonlydean commented 2026-10-08 06:37:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T06:37:18Z.


Please rebase onto main and force-push instead of merging main in; the branch has two merge commits (6bc63c000, e5a90886a). The one-line change can go in after that.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6054011387 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6054011387). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-08T06:37:18Z. --- Please rebase onto main and force-push instead of merging main in; the branch has two merge commits (6bc63c000, e5a90886a). The one-line change can go in after that.
MarcZX10 commented 2026-10-08 10:52:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T10:52:26Z.


Rebased this branch onto current main and removed the nonportable directory-mtime test, leaving only the requested to_sys conversion in the diff. Built savedata_memory_metadata_tests; savedata_memory_metadata passed three consecutive Linux runs. The updated-head GitHub workflows are marked action_required with no jobs; could a maintainer approve the checks?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6058267093 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6058267093). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T10:52:26Z. --- Rebased this branch onto current `main` and removed the nonportable directory-mtime test, leaving only the requested `to_sys` conversion in the diff. Built `savedata_memory_metadata_tests`; `savedata_memory_metadata` passed three consecutive Linux runs. The updated-head GitHub workflows are marked `action_required` with no jobs; could a maintainer approve the checks?
MarcZX10 commented 2026-10-08 11:18:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T11:18:56Z.


Rebased onto current upstream/main (0596a7a2), now at head 99f38bc125bcc51dbdd094e835598df0841c7acd. The full diff remains only the file_time_type::clock::to_sys conversion. Built savedata_memory_metadata_tests; savedata_memory_metadata passed (1/1). Conventions and git diff --check pass. The upstream Build, Conventions and Progress report workflows have no jobs for this fork head. Could a maintainer approve them?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6058708342 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6058708342). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T11:18:56Z. --- Rebased onto current `upstream/main` (`0596a7a2`), now at head `99f38bc125bcc51dbdd094e835598df0841c7acd`. The full diff remains only the `file_time_type::clock::to_sys` conversion. Built `savedata_memory_metadata_tests`; `savedata_memory_metadata` passed (1/1). Conventions and `git diff --check` pass. The upstream Build, Conventions and Progress report workflows have no jobs for this fork head. Could a maintainer approve them?
MarcZX10 commented 2026-10-08 13:06:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T13:06:38Z.


Rebased directly onto upstream/main (c68c7576); current head is 5c783b8fdadc7d22a91e7d1674eace9bf8b04f3d. The reviewer-requested diff is only the to_sys conversion; the nonportable directory-mtime fixture is removed. On Debian 12/GCC 12.2, savedata_memory_metadata passed (1/1), and conventions plus git diff --check pass. The current-head workflows are action_required with no jobs. Could a maintainer approve them so CI can run?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6060540836 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6060540836). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T13:06:38Z. --- Rebased directly onto `upstream/main` (`c68c7576`); current head is `5c783b8fdadc7d22a91e7d1674eace9bf8b04f3d`. The reviewer-requested diff is only the `to_sys` conversion; the nonportable directory-mtime fixture is removed. On Debian 12/GCC 12.2, `savedata_memory_metadata` passed (1/1), and conventions plus `git diff --check` pass. The current-head workflows are `action_required` with no jobs. Could a maintainer approve them so CI can run?
MarcZX10 commented 2026-10-08 19:05:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T19:05:27Z.


Rebased onto current upstream main (55e8959b) and reran the focused Linux validation: savedata_memory_metadata passes (1/1), conventions and git diff --check pass. The full diff remains one to_sys conversion. The current upstream workflows still need maintainer approval before Windows CI can run.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067063019 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6067063019). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T19:05:27Z. --- Rebased onto current upstream `main` (`55e8959b`) and reran the focused Linux validation: `savedata_memory_metadata` passes (1/1), conventions and `git diff --check` pass. The full diff remains one `to_sys` conversion. The current upstream workflows still need maintainer approval before Windows CI can run.
MarcZX10 commented 2026-10-08 19:26:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T19:26:58Z.


Rebased this two-commit PR onto current upstream/main (0447793); the final code diff is still only the C++20 file_clock::to_sys conversion. I rebuilt savedata_memory_metadata_tests; focused CTest passes (1/1), conventions pass, and git diff --check passes. The updated head is 88c1d1e, but upstream reports no checks or workflow runs for it yet. Per CONTRIBUTING, fork workflows may need maintainer approval; could an authorized maintainer approve them so CI validates this head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067438744 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6067438744). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T19:26:58Z. --- Rebased this two-commit PR onto current `upstream/main` (`0447793`); the final code diff is still only the C++20 `file_clock::to_sys` conversion. I rebuilt `savedata_memory_metadata_tests`; focused CTest passes (1/1), conventions pass, and `git diff --check` passes. The updated head is `88c1d1e`, but upstream reports no checks or workflow runs for it yet. Per CONTRIBUTING, fork workflows may need maintainer approval; could an authorized maintainer approve them so CI validates this head?
MarcZX10 commented 2026-10-08 21:23:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:23:39Z.


Rebased onto current upstream main (364a56b). Reviewed the full diff: the only code change remains replacing clock_cast with the C++20 file_time_type::clock::to_sys conversion. The focused SaveData CTest passed (1/1) on the prior head; conventions and git diff --check pass on this head. No checks are reported for the rebased head yet.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069323994 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6069323994). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:23:39Z. --- Rebased onto current upstream `main` (`364a56b`). Reviewed the full diff: the only code change remains replacing `clock_cast` with the C++20 `file_time_type::clock::to_sys` conversion. The focused SaveData CTest passed (1/1) on the prior head; conventions and `git diff --check` pass on this head. No checks are reported for the rebased head yet.
MarcZX10 commented 2026-10-08 21:24:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:24:50Z.


The Build/Conventions workflow runs for current head 45f4a5416bce3d55bfd07492103e7819c548cc54 are marked action_required and have no jobs, so upstream CI has not run yet. CONTRIBUTING requires maintainer approval for fork workflows. Could an authorized maintainer approve these current-head runs?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069341618 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6069341618). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:24:50Z. --- The Build/Conventions workflow runs for current head `45f4a5416bce3d55bfd07492103e7819c548cc54` are marked `action_required` and have no jobs, so upstream CI has not run yet. CONTRIBUTING requires maintainer approval for fork workflows. Could an authorized maintainer approve these current-head runs?
MarcZX10 commented 2026-10-08 21:53:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T21:53:04Z.


Rebased again onto current upstream main (94b1eecb; head 5eca5a56). Reviewed the full diff: the only code change remains the C++20 file-clock conversion. The focused SaveData CTest passed on a prior head; conventions and git diff --check pass now. Current Build/Conventions/Progress runs are action_required with no jobs; could a maintainer approve this final head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6069758576 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6069758576). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T21:53:04Z. --- Rebased again onto current upstream `main` (`94b1eecb`; head `5eca5a56`). Reviewed the full diff: the only code change remains the C++20 file-clock conversion. The focused SaveData CTest passed on a prior head; conventions and `git diff --check` pass now. Current Build/Conventions/Progress runs are `action_required` with no jobs; could a maintainer approve this final head?
MarcZX10 commented 2026-10-09 00:20:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T00:20:29Z.


Rebased onto current upstream main (f145139676a48306681d3a4d5fabf83938759daf) at head 0e5f7eb2a1661bb137f2db645c5e996d82eccd32. The final source diff is still one C++20 file-clock conversion. The focused SaveData CTest, conventions and git diff --check pass on this head. Upstream CI needs to run on this rebased head under the fork workflow policy.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071664096 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6071664096). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T00:20:29Z. --- Rebased onto current upstream `main` (`f145139676a48306681d3a4d5fabf83938759daf`) at head `0e5f7eb2a1661bb137f2db645c5e996d82eccd32`. The final source diff is still one C++20 file-clock conversion. The focused SaveData CTest, conventions and `git diff --check` pass on this head. Upstream CI needs to run on this rebased head under the fork workflow policy.
MarcZX10 commented 2026-10-09 00:25:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T00:25:23Z.


Rebased head 0e5f7eb2a1661bb137f2db645c5e996d82eccd32 is on current upstream main (f145139676a48306681d3a4d5fabf83938759daf), and the focused SaveData CTest passes. No checks are reported for the new head. Under CONTRIBUTING's fork workflow policy, could an authorized maintainer approve Build and Conventions for this head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071718343 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6071718343). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T00:25:23Z. --- Rebased head `0e5f7eb2a1661bb137f2db645c5e996d82eccd32` is on current upstream `main` (`f145139676a48306681d3a4d5fabf83938759daf`), and the focused SaveData CTest passes. No checks are reported for the new head. Under CONTRIBUTING's fork workflow policy, could an authorized maintainer approve Build and Conventions for this head?
MarcZX10 commented 2026-10-09 00:41:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T00:41:06Z.


The fork Build for current head 0e5f7eb2a1661bb137f2db645c5e996d82eccd32 passed: Linux, Windows, and relinker jobs on Ubuntu, Windows, and macOS. I added the run link to the PR description. Upstream still reports no checks for this fork head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6071889823 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6071889823). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T00:41:06Z. --- The fork Build for current head `0e5f7eb2a1661bb137f2db645c5e996d82eccd32` passed: Linux, Windows, and relinker jobs on Ubuntu, Windows, and macOS. I added the run link to the PR description. Upstream still reports no checks for this fork head.
MarcZX10 commented 2026-10-09 08:12:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:12:05Z.


Rebased the two commits onto current upstream main 25f10087 and reviewed the full diff; it remains only the requested C++20 file-clock conversion. The nonportable directory-mtime check stays removed as requested. The focused Linux SaveData test passed on the previous head with identical source; conventions and diff checks pass on this rebased head. Fork Build 37903483153 is running for the current head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077091857 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6077091857). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:12:05Z. --- Rebased the two commits onto current upstream `main` `25f10087` and reviewed the full diff; it remains only the requested C++20 file-clock conversion. The nonportable directory-mtime check stays removed as requested. The focused Linux SaveData test passed on the previous head with identical source; conventions and diff checks pass on this rebased head. Fork Build [37903483153](https://github.com/MarcZX100/AnyPS5/actions/runs/37903483153) is running for the current head.
MarcZX10 commented 2026-10-09 08:27:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:27:39Z.


Rebased the one-line conversion change onto current upstream main 6cc0503d and pushed head 3318c99b. The updated Linux savedata_memory_metadata CTest passes (1/1); conventions and diff checks pass. Fork Build 37905051633 is running on the new head. The description records the prior full-build failure from the missing SPIR-V test include path, addressed by #2093.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077313887 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6077313887). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:27:39Z. --- Rebased the one-line conversion change onto current upstream `main` `6cc0503d` and pushed head `3318c99b`. The updated Linux `savedata_memory_metadata` CTest passes (1/1); conventions and diff checks pass. Fork Build [37905051633](https://github.com/MarcZX100/AnyPS5/actions/runs/37905051633) is running on the new head. The description records the prior full-build failure from the missing SPIR-V test include path, addressed by #2093.
MarcZX10 commented 2026-10-09 08:37:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:37:59Z.


Addressed: the branch is now a linear rebase onto current upstream main 6cc0503d, with no merge commits (git log --merges upstream/main..HEAD is empty). The only source diff remains the requested one-line file_time_type::clock::to_sys conversion; focused SaveData CTest passes and the updated fork Build is running.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077462378 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6077462378). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:37:59Z. --- Addressed: the branch is now a linear rebase onto current upstream `main` `6cc0503d`, with no merge commits (`git log --merges upstream/main..HEAD` is empty). The only source diff remains the requested one-line `file_time_type::clock::to_sys` conversion; focused SaveData CTest passes and the updated fork Build is running.
MarcZX10 commented 2026-10-09 08:38:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:38:57Z.


Latest fork Build completed with the same baseline failure on Linux and Windows: agc_shader_fusion_tests cannot include spirv/unified1/spirv.hpp from VulkanTestDevice.hpp. The relinker jobs passed. This matches #2093; I recorded the exact result in the PR description and kept this PR's scope separate.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077476276 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6077476276). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T08:38:57Z. --- Latest fork Build completed with the same baseline failure on Linux and Windows: `agc_shader_fusion_tests` cannot include `spirv/unified1/spirv.hpp` from `VulkanTestDevice.hpp`. The relinker jobs passed. This matches #2093; I recorded the exact result in the PR description and kept this PR's scope separate.
MarcZX10 commented 2026-10-09 09:26:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T09:26:04Z.


Rebased the one-line conversion onto current main d9484c71 at head 04713edc. The focused SaveData CTest passed on the immediately preceding head with the identical source diff; local and exact-head Conventions pass. The earlier full Build failure was the missing SPIRV-Headers include, fixed by #2099 now in this base. Under #2113, could an upstream collaborator run the manual Build for PR #1260?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6078178782 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6078178782). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T09:26:04Z. --- Rebased the one-line conversion onto current `main` `d9484c71` at head `04713edc`. The focused SaveData CTest passed on the immediately preceding head with the identical source diff; local and exact-head Conventions pass. The earlier full Build failure was the missing SPIRV-Headers include, fixed by #2099 now in this base. Under #2113, could an upstream collaborator run the manual Build for PR #1260?
MarcZX10 commented 2026-10-09 11:14:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T11:14:52Z.


Rebased PR #1260 linearly onto current main (d70b8998); the one-line source diff is unchanged. On head 2ef6b821, savedata_memory_metadata passed (1/1), Conventions is green, and GitHub reports the PR mergeable. Under #2113, could a collaborator with write access run Actions → Build for this PR so the full Linux, Windows and relinker checks are recorded on the rebased head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6079762000 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6079762000). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T11:14:52Z. --- Rebased PR #1260 linearly onto current `main` (`d70b8998`); the one-line source diff is unchanged. On head `2ef6b821`, `savedata_memory_metadata` passed (1/1), Conventions is green, and GitHub reports the PR mergeable. Under #2113, could a collaborator with write access run Actions → Build for this PR so the full Linux, Windows and relinker checks are recorded on the rebased head?
MarcZX10 commented 2026-10-09 18:44:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T18:44:46Z.


Done: I rebased the branch linearly onto current main (f8c2f072) and force-pushed the existing PR branch. The full code diff remains the single file_clock::to_sys conversion, with the directory-mtime test removed as requested.

On the rebased source, libSceSaveData.native and savedata_memory_metadata_tests build on Linux/GCC 12.2, and the focused CTest passes (1/1). Conventions and git diff --check pass. I updated the description with the new head and evidence; the authorized upstream Build/relinker matrix remains pending under #2113.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6087119757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6087119757). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T18:44:46Z. --- Done: I rebased the branch linearly onto current `main` (`f8c2f072`) and force-pushed the existing PR branch. The full code diff remains the single `file_clock::to_sys` conversion, with the directory-mtime test removed as requested. On the rebased source, `libSceSaveData.native` and `savedata_memory_metadata_tests` build on Linux/GCC 12.2, and the focused CTest passes (1/1). Conventions and `git diff --check` pass. I updated the description with the new head and evidence; the authorized upstream Build/relinker matrix remains pending under #2113.
MarcZX10 commented 2026-10-09 19:05:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T19:05:44Z.


Updated the existing branch with a linear rebase onto current main (ae3d5f95); current head is 4934c29f. The complete source diff is still the single file_clock::to_sys conversion. On this head, the SaveData target builds, savedata_memory_metadata passes (1/1), and Conventions is green.\n\nThe full upstream Build and relinker matrix was required to rerun after this head update under CONTRIBUTING/#2113. Could a collaborator with write access run Actions → Build for PR #1260 on this current head?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6087448870 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6087448870). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T19:05:44Z. --- Updated the existing branch with a linear rebase onto current `main` (`ae3d5f95`); current head is `4934c29f`. The complete source diff is still the single `file_clock::to_sys` conversion. On this head, the SaveData target builds, `savedata_memory_metadata` passes (1/1), and Conventions is green.\n\nThe full upstream Build and relinker matrix was required to rerun after this head update under CONTRIBUTING/#2113. Could a collaborator with write access run Actions → Build for PR #1260 on this current head?
MarcZX10 commented 2026-10-09 19:37:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T19:37:00Z.


Validation on the updated head

I rebased the existing branch linearly onto upstream main at 8b393b6e and pushed head db3ccb54. The complete source diff remains the single file_time_type::clock::to_sys conversion. The Linux SaveData target builds, savedata_memory_metadata passes (1/1), and local Conventions plus git diff --check pass.

The repository contribution policy requires the full Linux/Windows Build and relinker matrix to be dispatched by a collaborator with write access. Could someone run Actions → Build for PR #1260 on this head? The earlier runs were on prior heads and do not validate this rebase.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6087937039 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6087937039). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T19:37:00Z. --- ### Validation on the updated head I rebased the existing branch linearly onto upstream `main` at `8b393b6e` and pushed head `db3ccb54`. The complete source diff remains the single `file_time_type::clock::to_sys` conversion. The Linux SaveData target builds, `savedata_memory_metadata` passes (1/1), and local Conventions plus `git diff --check` pass. The repository contribution policy requires the full Linux/Windows Build and relinker matrix to be dispatched by a collaborator with write access. Could someone run Actions → Build for PR #1260 on this head? The earlier runs were on prior heads and do not validate this rebase.
popcoder565 commented 2026-10-09 19:44:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T19:44:40Z.


Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release.

  • Head db3ccb54, alone on main 8b393b6e: savedata_memory_metadata passes 3 of 3, so the C++20 file clock conversion builds with MinGW.
  • The earlier head 4934c29f has the same libSceSaveData.native change. It was in a batch build with 31 other PRs, where the full ctest passed apart from one unrelated failure from #2359 (520 of 521).

No title was run.

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6088052229 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6088052229). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T19:44:40Z. --- Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. - Head `db3ccb54`, alone on `main` 8b393b6e: `savedata_memory_metadata` passes 3 of 3, so the C++20 file clock conversion builds with MinGW. - The earlier head `4934c29f` has the same `libSceSaveData.native` change. It was in a batch build with 31 other PRs, where the full ctest passed apart from one unrelated failure from #2359 (520 of 521). No title was run. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
MarcZX10 commented 2026-10-09 19:52:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T19:52:13Z.


Thanks for the Windows validation. I updated the description to distinguish the exact-head savedata_memory_metadata result (3/3 on Windows 10/MinGW, head db3ccb54) from the separate 520/521 batch CTest result, whose only failure was unrelated #2359. That gives focused Linux and Windows evidence for the one-line conversion; the upstream full Build/relinker matrix and title testing remain outstanding.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6088169644 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6088169644). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-09T19:52:13Z. --- Thanks for the Windows validation. I updated the description to distinguish the exact-head `savedata_memory_metadata` result (3/3 on Windows 10/MinGW, head `db3ccb54`) from the separate 520/521 batch CTest result, whose only failure was unrelated #2359. That gives focused Linux and Windows evidence for the one-line conversion; the upstream full Build/relinker matrix and title testing remain outstanding.
adriadam10 commented 2026-10-09 23:11:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T23:11:48Z.


Checked on Linux with the PR merged onto current main: full build and ctest green (550/550, including savedata_memory_metadata). The diff is the single to_sys conversion that was requested, with no merge commits. Windows/MinGW result from @popcoder565 covers the head. Merging.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6090832459 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1260#issuecomment-6090832459). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-09T23:11:48Z. --- Checked on Linux with the PR merged onto current `main`: full build and ctest green (550/550, including `savedata_memory_metadata`). The diff is the single `to_sys` conversion that was requested, with no merge commits. Windows/MinGW result from @popcoder565 covers the head. Merging.
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!1260
No description provided.