Repository navigation
feat(libSceNpCppWebApi): answer the empty ResponseHeaderBase header query - #12834
Conversation
Progress report (bf80054 → 13d03f5)📈 System libraries: 27.3% (+0.01%, +4 implemented functions) ✅ 4 implemented
⚪ 2 behaviourally empty (constant return or throw)
Changed libraries (implemented exports)
|
|
@edubox The code is small and reads correctly: the constructors zero the 32-bit count at
Other open |
|
Addressed both review items; head is now
Focused tests on this exact head (Linux x86-64, GCC 16.2.1, Release): AI-assisted: yes |
|
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.
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.
|
7b62315 to
425cbd8
Compare
|
Rebased onto current Focused AI-assisted: yes |
|
Both points are addressed in the current head |
425cbd8 to
b66f81f
Compare
|
Rebased onto current Focused tests on this exact head (Linux x86-64, GCC 16.2.1, Release): Both review points from oneandonlydean remain addressed: the throw-pinning test is removed and the debt entry records the measured 0x10-byte layout and module addresses. Ready for re-review. AI-assisted: yes |
b66f81f to
133c335
Compare
|
Rebased onto current On this exact head (Linux x86-64, CachyOS, GCC 16.2.1, Release): AI-assisted: yes |
|
Windows result for head Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release,
AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine. |
133c335 to
c61e8d8
Compare
c61e8d8 to
31ff3f2
Compare
|
Rebased onto current Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):
Both review points from @oneandonlydean remain addressed on this head: AI-assisted: yes |
31ff3f2 to
ad813c5
Compare
|
Rebased onto current Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):
The review points from @oneandonlydean remain addressed on this head: AI-assisted: yes |
ad813c5 to
a1ee238
Compare
|
Rebased onto current Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):
AI-assisted: yes |
|
Rebased onto current Focused tests pass: AI-assisted: yes (Claude Code). |
a1ee238 to
6fe480e
Compare
|
Rebased onto current
Head is now |
75d2929 to
42b8eb6
Compare
|
Rebased onto current
Head is now |
|
Rebased automatically onto current |
42b8eb6 to
5b3fa9f
Compare
|
Rebased automatically onto current |
5b3fa9f to
f8629ea
Compare
|
Rebased automatically onto current |
c4a5b60 to
1b84140
Compare
|
Rebased automatically onto current |
|
Rebased automatically onto current |
1b84140 to
b09e989
Compare
|
Rebased automatically onto current |
b09e989 to
c83cfeb
Compare
|
Rebased automatically onto current |
c83cfeb to
d41b017
Compare
|
Rebased automatically onto current |
d41b017 to
dc4a192
Compare
docs/dev/debt/libSceNpCppWebApi.md: keep this branch's measured ResponseHeaderBase layout sentence and take main's change to the Vector and Iterator sentence (the BasicPresence vector's size no longer throws).
✅ AMD GPU test: passedPR head
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (8, not counted against this PR)Validation IDs already present on main (4 IDs in 698 tests)Skipped (10)ReproduceAutomated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
…eader # Conflicts: # docs/dev/debt/libSceNpCppWebApi.md
|
Rebased the merge conflict onto current Both review points were already in the branch: Verified on the new head: |
What
Common::ResponseHeaderBase::getHeaderValuewas an exported stub that always threw, although 15 dumps import it. The module bundled with PPSA21564/PPSA23732 (buildsJ03093737/J03341606) returns0x80553512when the object has no header block, which is the only reachable state offline:ResponseHeaderBase::ResponseHeaderBase0x14980+0x00and the header pointer at+0x08ResponseHeaderBase::~ResponseHeaderBase0x149a0ResponseHeaderBase::getHeaderValue(char const*, IntrusivePtr<String>&)0x149b00x80553512when+0x08is nullThe layout is 0x10 bytes: 32-bit reference count at
+0x00, header block at+0x08.The header block exists only after a successful response, which the offline implementation never produces. When it is non-null the module asks
libSceNpWebApi2GetHttpResponseHeaderValueLength/Value(already implemented inmain) and copies the result into aString; that path still throwsNotImplemented_nid_no_patchhere and remains documented by the existing response-accessor debt entry.Tested
Linux x86-64, GCC 16.2.1, Release with
BUILD_TESTING=ON, based onmainb6f7133d27:ctest --test-dir build -R '^guest_np_cpp_web_api': 8/8 passed, including the newguest_np_cpp_web_api_response_header(constructor/destructor, empty-object0x80553512, non-null path throws, guard bytes and untouched output pointer).python3 tools/check_conventions.py --base origin/mainpasses.python3 tools/pr_overlap.py --branch feat/npcpp-response-header --jobs 32: no overlap with open pull requests.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)