Build save_data_memory_tests from the kyty_tests aggregate #798
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!798
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/798/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@theantipopau on GitHub · 2026-09-24 06:00 UTC · original
theantipopau:test-aggregate-save-data→main· +1 −0 · 1 files · 1 commits · merged 2026-09-25 22:39 UTCProblem
save_data_memoryis registered withadd_test(), but its executablesave_data_memory_testsis declaredEXCLUDE_FROM_ALLand was not listed in thekyty_testsaggregate. Building--target kyty_teststherefore never produced thebinary, so a full
ctestrun reports it as:The test is registered but can never actually run, which is why a save-data regression
would go unnoticed.
Change
One line: add
save_data_memory_teststoadd_custom_target(kyty_tests DEPENDS ...).Verification
Windows, clang-cl + Ninja, Release:
cmake --build _Build/windows --target kyty_testsnow builds and linkssave_data_memory_tests.exe(KYTY_TESTS_RC=0);ctest -R "^save_data_memory$"→Passed 0.23 sec(previouslyNot Run).No source or test behaviour changes.
@coderabbitai[bot] on GitHub · 2026-09-24 06:02 UTC · original · edited 2026-09-25 22:35 UTC
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
c139cba6-0ab8-4abf-b1ba-fac17afb444a📥 Commits
Reviewing files that changed from the base of the PR and between 1c9c5c118fe211c67d7d0453a7bcf0d8dadd3bcd and
8bdcf63f2e.📒 Files selected for processing (1)
CMakeLists.txtIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
The
kyty_testsaggregate target now includessave_data_memory_testsas a dependency.Suggested reviewers:
6d4mPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
8bdcfThe aggregate now builds the registered save-data memory test. The cited socket-test timing concern does not apply, and no concrete merge-blocking risk remains.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring Coverage
Explanation
Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 14 functions across 2 files. (1 skipped: 1 unsupported.)
Comment
@coderabbitai helpto get the list of available commands.@coderabbitai[bot] on GitHub · 2026-09-24 09:24 UTC · original · reviewed
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
6067a8a7-c722-462d-b911-30b5ee615ef2📥 Commits
Reviewing files that changed from the base of the PR and between 266f6bb9e5812d55edd3a4097c01b7186cbc8eed and 1c9c5c118fe211c67d7d0453a7bcf0d8dadd3bcd.
📒 Files selected for processing (2)
src/libs/network.cpptests/KernelFileSystemTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.
@coderabbitai[bot] on GitHub · 2026-09-24 09:24 UTC · original
On
tests/KernelFileSystemTests.cppline 490 (outdated):🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
Wait for readability before non-waiting receives and accepts.
These checks run a non-waiting operation right after the peer acts:
Recv(..., 0xc2)runs right afterSendat Line 487.Recv(..., 0x42)on the guest nonblocking socket runs right afterSendat Line 500.Accepton the nonblockinginherited_listenerruns right after the blockingConnect.Recvon the inherited nonblocking socket starts right afterSendat Line 560.A successful
Senddoes not mean the bytes are already in the peer's receive buffer. A successful clientConnectdoes not mean the server's accept queue already holds the connection. On Winsock loopback, both can complete asynchronously. If the data or connection is not there yet, the call returns-1/EWOULDBLOCKor a short count, and theCheckaborts the test. Under CI scheduling pressure, the tests then fail even when the socket code is correct.Before each non-waiting operation, call
Net::Selectwith a deadline and wait until the descriptor is readable. For the receives, readable only means that some bytes arrived, not all of the prefix. The prefix is sent as a single segment withTCP_NODELAYon loopback, so it normally arrives in one piece. To remove all doubt, poll with a plainMSG_PEEKuntilprefix_lengthbytes are available.💚 Proposed helper and usage
Also applies to: 500-503, 558-568