Skip to content

feat(libSceNpCppWebApi): answer the empty ResponseHeaderBase header query - #12834

Merged
oneandonlydean merged 5 commits into
boykopovar:mainfrom
edubox:feat/npcpp-response-header
Nov 5, 2026
Merged

oneandonlydean merged 5 commits into
boykopovar:mainfrom
edubox:feat/npcpp-response-header

Conversation

@edubox

@edubox edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

What

Common::ResponseHeaderBase::getHeaderValue was an exported stub that always threw, although 15 dumps import it. The module bundled with PPSA21564/PPSA23732 (builds J03093737/J03341606) returns 0x80553512 when the object has no header block, which is the only reachable state offline:

Export Module address Behaviour
ResponseHeaderBase::ResponseHeaderBase 0x14980 zeroes the 32-bit count at +0x00 and the header pointer at +0x08
ResponseHeaderBase::~ResponseHeaderBase 0x149a0 no-op
ResponseHeaderBase::getHeaderValue(char const*, IntrusivePtr<String>&) 0x149b0 returns 0x80553512 when +0x08 is null

The 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 in main) and copies the result into a String; that path still throws NotImplemented_nid_no_patch here and remains documented by the existing response-accessor debt entry.

Tested

Linux x86-64, GCC 16.2.1, Release with BUILD_TESTING=ON, based on main b6f7133d27:

  • ctest --test-dir build -R '^guest_np_cpp_web_api': 8/8 passed, including the new guest_np_cpp_web_api_response_header (constructor/destructor, empty-object 0x80553512, non-null path throws, guard bytes and untouched output pointer).
  • python3 tools/check_conventions.py --base origin/main passes.
  • python3 tools/pr_overlap.py --branch feat/npcpp-response-header --jobs 32: no overlap with open pull requests.
  • No title run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Progress report (bf80054 → 13d03f5)

📈 System libraries: 27.3% (+0.01%, +4 implemented functions)

✅ 4 implemented
Library Name
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseC2Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseD1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseD2Ev
⚪ 2 behaviourally empty (constant return or throw)
Library Name
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseD1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common18ResponseHeaderBaseD2Ev

Changed libraries (implemented exports)

Library Before After Change
libSceNpCppWebApi 997/1426 (69.92%) 1001/1430 (70.00%) +0.08%

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@edubox The code is small and reads correctly: the constructors zero the 32-bit count at +0x00 and the header pointer at +0x08, the destructors do nothing, getHeaderValue returns 0x80553512 when +0x08 is null and otherwise reaches the existing NotImplemented_nid_no_patch, the four new symbols are declared and defined once, and static_assert pins the 0x10-byte layout. Two things need to change:

  1. TestHeaderWithStorageIsNotImplementedOffline sets the header pointer to 1 and asserts that getHeaderValue throws. A non-null header block is a valid state of the real object (it exists after a successful response, as your description says), so the test pins a throw for a valid but unimplemented call, which the project does not do: when that path is implemented the test would have to be deleted rather than updated. Please remove that test and keep TestEmptyHeaderHasNoValue, which checks real values.
  2. docs/dev/debt/libSceNpCppWebApi.md was not changed, and its first libSceNpCppWebApi entry now contradicts the code. It says "The reference-count offset 0x00 of ResponseHeaderBase ... is assumed from the other objects, not measured", and that ResponseHeaderBase::getHeaderValue throws because a failed request never produces a response. After this PR the offset has a source (the bundled module you read), and getHeaderValue returns 0x80553512 for an object with no header block. Please update the entry: state the layout (0x10 bytes, count at +0x00, header block at +0x08), name the module builds and addresses you read (J03093737 and J03341606, 0x14980, 0x149a0, 0x149b0), say that the non-null path (the response-header accessors) still throws, and keep the part about what is not measured.

Other open libSceNpCppWebApi PRs (#11631, #11644) also edit that debt file; they do not define these symbols, so whichever lands second only has to merge the entry text.

@edubox

edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Addressed both review items; head is now 7b62315070.

  1. Removed TestHeaderWithStorageIsNotImplementedOffline, which pinned a throw for a valid object state. TestEmptyHeaderHasNoValue remains and checks the real values (zero count, null block, empty call returns 0x80553512, untouched output pointer, guard bytes).
  2. Updated the ResponseHeaderBase debt entry in docs/dev/debt/libSceNpCppWebApi.md: it now records the 0x10-byte layout (count at 0x00, header block at 0x08), the source builds/addresses (J03093737/J03341606, 0x14980, 0x149a0, 0x149b0), that getHeaderValue returns 0x80553512 with no block and still throws when a block is present, and keeps the unmeasured WebApiFilterRequest offset.

Focused tests on this exact head (Linux x86-64, GCC 16.2.1, Release): ctest -R "^guest_np_cpp_web_api" passes 8/8, including guest_np_cpp_web_api_response_header. python3 tools/check_conventions.py --base origin/main passes, and git diff --check origin/main...HEAD is clean.

AI-assisted: yes

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 14136 core/libs/prx/libSceNpCppWebApi/Export.cpp L3521
core/libs/prx/libSceNpCppWebApi/include/Api.hpp L691
docs/dev/debt/libSceNpCppWebApi.md L27
_ZN3sce2Np9CppWebApi6Common18ResponseHeaderBase14getHeaderValueEPKcRNS2_12IntrusivePtrINS2_6StringEEE
PR 14273 core/libs/prx/libSceNpCppWebApi/Export.cpp L3521
core/libs/prx/libSceNpCppWebApi/include/Api.hpp L691
docs/dev/debt/libSceNpCppWebApi.md L27
_ZN3sce2Np9CppWebApi6Common18ResponseHeaderBase14getHeaderValueEPKcRNS2_12IntrusivePtrINS2_6StringEEE
PR 15998 core/libs/prx/libSceNpCppWebApi/Export.cpp L3521
core/libs/prx/libSceNpCppWebApi/include/Api.hpp L691
docs/dev/debt/libSceNpCppWebApi.md L27
_ZN3sce2Np9CppWebApi6Common18ResponseHeaderBase14getHeaderValueEPKcRNS2_12IntrusivePtrINS2_6StringEEE

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 12447 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md
PR 13486 core/libs/prx/libSceNpCppWebApi/CMakeLists.txt
core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md
PR 14212 docs/dev/debt/libSceNpCppWebApi.md
PR 15823 core/libs/prx/libSceNpCppWebApi/CMakeLists.txt
core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md

@edubox
edubox force-pushed the feat/npcpp-response-header branch from 7b62315 to 425cbd8 Compare October 29, 2026 15:10
@edubox

edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (bb04a4f1ea); head is now 425cbd8612. The three commits reapplied cleanly with no code changes.

Focused guest_np_cpp_web_api* tests pass 8/8 on this exact head (Linux x86-64, GCC 16.2.1, Release), including guest_np_cpp_web_api_response_header. python3 tools/check_conventions.py --base origin/main and git diff --check origin/main...HEAD are clean.

AI-assisted: yes

@edubox

edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Both points are addressed in the current head 425cbd8612: the test that pinned a throw for a non-null header block is removed, and the debt entry now records the 0x10-byte layout, the module builds and addresses (J03093737/J03341606, 0x14980, 0x149a0, 0x149b0), and that only the non-null response-header path still throws. Ready for re-review.

@edubox

edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (fd9b3f62d4); head is now b66f81f92e. No code changes; the three commits reapplied cleanly.

Focused tests on this exact head (Linux x86-64, GCC 16.2.1, Release): ctest -R '^guest_np_cpp_web_api' passes 8/8, including guest_np_cpp_web_api_response_header. python3 tools/check_conventions.py --base origin/main and git diff --check origin/main...HEAD are clean.

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

@edubox
edubox force-pushed the feat/npcpp-response-header branch from b66f81f to 133c335 Compare October 29, 2026 21:13
@edubox

edubox commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (9624d8c6bb9); head is now 133c3357f5. No code changes; the three commits reapplied cleanly.

On this exact head (Linux x86-64, CachyOS, GCC 16.2.1, Release): ctest --test-dir build -R '^guest_np_cpp_web_api' passes 8/8, including guest_np_cpp_web_api_response_header. check_conventions.py --base origin/main and git diff --check origin/main...HEAD are clean.

AI-assisted: yes

@maskym

maskym commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Windows result for head 133c3357f5, merged alone into main a5939f10a8 (the PR's Tested section names no Windows run; it conflicts with #13036 in docs/dev/debt/libSceNpCppWebApi.md, so it was tested on its own).

Host: Windows 11 26300, Intel i7-12700K, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. Build clean.

ctest -R '^guest_np_cpp_web_api': 8/8 pass, three runs, including guest_np_cpp_web_api_response_header. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 30, 2026
@edubox
edubox force-pushed the feat/npcpp-response-header branch from 133c335 to c61e8d8 Compare October 30, 2026 17:47
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 30, 2026
@edubox
edubox force-pushed the feat/npcpp-response-header branch from c61e8d8 to 31ff3f2 Compare October 30, 2026 19:34
@edubox

edubox commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (91db3f79f7); head is now 31ff3f2d6f (was c61e8d8d9e). The three commits reapplied cleanly with no code changes.

Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):

  • ctest --test-dir build -R '^guest_np_cpp_web_api' passes 10/10, including guest_np_cpp_web_api_response_header.
  • python3 tools/check_conventions.py --base origin/main: All conventions checks passed.
  • git diff --check origin/main...HEAD: clean.

Both review points from @oneandonlydean remain addressed on this head: TestHeaderWithStorageIsNotImplementedOffline is removed (TestEmptyHeaderHasNoValue checks the real values), and the debt entry records the 0x10-byte ResponseHeaderBase layout (count at 0x00, header block at 0x08), the module builds and addresses (J03093737/J03341606, 0x14980, 0x149a0, 0x149b0), that only the non-null response-header path still throws, and keeps what is not measured. Thanks to @maskym for the Windows 8/8 result on 133c3357f5; this head carries the same code. Ready for re-review.

AI-assisted: yes

@edubox
edubox force-pushed the feat/npcpp-response-header branch from 31ff3f2 to ad813c5 Compare October 30, 2026 20:29
@edubox

edubox commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (73ffb45110); head is now ad813c5865 (was 31ff3f2d6f). The three commits reapplied cleanly with no code changes.

Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):

  • ctest --test-dir build -R '^guest_np_cpp_web_api' passes 10/10, including guest_np_cpp_web_api_response_header.
  • python3 tools/check_conventions.py --base origin/main: All conventions checks passed.
  • git diff --check origin/main...HEAD: clean.

The review points from @oneandonlydean remain addressed on this head: TestHeaderWithStorageIsNotImplementedOffline is removed (only TestEmptyHeaderHasNoValue pins real values), and the debt entry records the measured 0x10-byte ResponseHeaderBase layout (count at 0x00, header block at 0x08) from J03093737/J03341606 (0x14980, 0x149a0, 0x149b0), the throw on the non-null path, and what is still unmeasured. Thanks @maskym for the Windows run.

AI-assisted: yes

@edubox
edubox force-pushed the feat/npcpp-response-header branch from ad813c5 to a1ee238 Compare October 30, 2026 21:19
@edubox

edubox commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (e584b5a7eb); head is now a1ee23836a (was ad813c5865). The three commits reapplied cleanly with no code changes.

Verified on this exact head (Linux x86-64, GCC 16.2.1, Release):

  • ctest --test-dir build -R '^guest_np_cpp_web_api' passes 10/10, including guest_np_cpp_web_api_response_header.
  • python3 tools/check_conventions.py --base origin/main: All conventions checks passed.
  • git diff --check origin/main...HEAD: clean.

AI-assisted: yes

@edubox

edubox commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (9605300f29); head is now 6fe480e90a5. No source changes in the rebase.

Focused tests pass: ctest --test-dir build -R '^guest_np_cpp_web_api' 10/10 (including the new guest_np_cpp_web_api_response_header). python3 tools/check_conventions.py --base origin/main and git diff --check origin/main...HEAD are clean. Pushed with --force-with-lease.

AI-assisted: yes (Claude Code).

@edubox
edubox force-pushed the feat/npcpp-response-header branch from a1ee238 to 6fe480e Compare October 30, 2026 22:21
@edubox

edubox commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (6b48aee) since the branch was 62 commits behind.

  • ctest --test-dir build -R '^guest_np_cpp_web_api': 10/10 passed.
  • python3 tools/check_conventions.py --base origin/main: passed.

Head is now 75d29298d87.

@edubox
edubox force-pushed the feat/npcpp-response-header branch 2 times, most recently from 75d2929 to 42b8eb6 Compare October 31, 2026 02:04
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (4b7af94e1d); the branch was 213 commits behind.

  • ctest --test-dir build -R '^guest_np_cpp_web_api': 10/10 passed.
  • python3 tools/check_conventions.py --base origin/main: passed.

Head is now 42b8eb62bdb.

@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (2364892547); head is now 5b3fa9fa03. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from 42b8eb6 to 5b3fa9f Compare October 31, 2026 04:01
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (3d1330179a); head is now f8629ea34e. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from 5b3fa9f to f8629ea Compare October 31, 2026 05:02
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (de83e8f270); head is now c4a5b60577. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch 2 times, most recently from c4a5b60 to 1b84140 Compare October 31, 2026 10:01
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (45f4f82449); head is now 1b84140680. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (1847a6f9da); head is now b09e989f41. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from 1b84140 to b09e989 Compare October 31, 2026 11:03
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (b8f0a6b202); head is now c83cfebfdb. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from b09e989 to c83cfeb Compare October 31, 2026 12:02
@edubox

edubox commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (ca073ec3ad); head is now d41b0172e1. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from c83cfeb to d41b017 Compare October 31, 2026 18:01
@edubox

edubox commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Rebased automatically onto current main (7fad683776); head is now dc4a192c44. Focused tests pass; check_conventions.py --base origin/main and git diff --check are clean.

@edubox
edubox force-pushed the feat/npcpp-response-header branch from d41b017 to dc4a192 Compare November 1, 2026 23:01
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).
@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head 69c2d40 merged onto main 7feb37e · tested 2026-11-03 07:28 UTC · 18 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 2,166 passed · 9 failed (0 new, 8 also fail on main, 1 unstable on main) · 10 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 2,185 of 3,743 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (927 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.3 s, ⚠️ agc_driver_graphics_maps_fallback 114.1 s, ⚠️ agc_driver_graphics 100.8 s, ⚠️ public_headers 63.8 s, ⚠️ agc_driver_bda_device 52.3 s
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 5 of the last 7 main runs
Failing on main too (8, not counted against this PR)
agc_driver_guest_memory_lifetime_direct
agc_driver_image_table
agc_driver_job_manager_compute_capacity
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_driver_native_multisample_depth
agc_driver_submit_progress
Validation IDs already present on main (4 IDs in 698 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (698 tests): agc_compute_pipeline_replay, agc_driver_address_passes, agc_driver_address_passes_draw_transitions, agc_driver_address_passes_targets_split, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_array_layer_target_cpu, and 690 more
VUID-vkCmdCopyImage-srcImage-01548 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, and 3 more
VUID-vkCmdCopyImage-srcImage-01551 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_storage_dispatch, and 3 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
Skipped (10)
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_copied_writer_label_order_drain: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
Reproduce
git fetch origin 69c2d406949895d00a43f1dd68b92d14aa29eddb 7feb37ee3e30e10139b483fb4df689d5b5b69ab8
git checkout 7feb37ee3e30e10139b483fb4df689d5b5b69ab8 && git merge --no-ff 69c2d406949895d00a43f1dd68b92d14aa29eddb
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated 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
@edubox

edubox commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Rebased the merge conflict onto current main (merge commit 13d03f5257). The only conflict was the UserProfile::V1, ProfanityFilter::V2, CommunicationRestrictionStatus::V3 debt entry: I kept this branch's measured ResponseHeaderBase layout and module addresses (J03093737/J03341606, 0x14980/0x149a0/0x149b0, 0x80553512 for a null block, throw for the non-null path) together with main's updated Vector/Iterator wording, and removed getHeaderValue from the later list of unconditional throws.

Both review points were already in the branch: guest_np_cpp_web_api_response_header only has TestEmptyHeaderHasNoValue, and the debt entry records the measured layout/addresses while keeping the unmeasured WebApiFilterRequest offset.

Verified on the new head: guest_np_cpp_web_api_response_header passes, git diff --check is clean, and python3 tools/check_conventions.py --base origin/main reports all checks passed. AI-assisted: yes.

@oneandonlydean
oneandonlydean merged commit 87a89e5 into boykopovar:main Nov 5, 2026
12 checks passed
@edubox
edubox deleted the feat/npcpp-response-header branch November 5, 2026 23:12
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.

4 participants