feat(libSceIcu): implement usearch_next #27185
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/27185"
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?
Imported from boykopovar/AnyPS5. Originally posted by Thimo188 on 2026-11-25T10:31:22Z.
What
Implement
usearch_nextfor registered string-search handles with ICU match iteration and status propagation.Inherit #27182's correction:
USEARCH_ATTRIBUTE_VALUE_COUNTreportsU_ILLEGAL_ARGUMENT_ERROReven for a prefailed status, matching ICU 68.2 and 78.1; other prefailed calls skip handle access.Tested
Current integration validation: Ubuntu 24.04 x86_64 Docker, GCC 13.3, CMake 3.28.3, Ninja, Release, BUILD_TESTING=ON, at
d8bcf1b9a7283d155ed26f61568eb68df2654f99with upstreammain5cf487d16805a9c90a41d153363adac12a1082efmerged. The focused PR CTests passed 3/3. Conventions, debt fragments, diff whitespace, public headers and test-registration audits passed. This update merges upstream main and current declared dependencies without changing the topic implementation. No title or PS5 run.Ubuntu 24.04 x86_64 Docker (
anyps5-dev:24.04), GCC 13.3, Ninja, Release,BUILD_TESTING=ON, after merging upstreammainfc294cbbb539and the refreshed declared dependency: built and ranguest_icu_recovered_signatures,guest_icu_display_keyword_value, andguest_icu_break_iterator; all 3/3 passed.python3 tools/check_conventions.py,python3 tools/debt_fold.py --check, andgit diff --checkpassed. Retested the inherited sentinel fix with native-oracle coverage for null, forged and live handles, errno, unchanged attributes and read-only status memory; all 3/3 tests passed. Source-only negative control on #27182 built with the corrected tests and failed at the expected sentinel-status assertion; restoring the fix passes. Public-header, script and configured test-registration audits passed. No title or console run.Revalidated on 2026-12-02 at
a4c2f172de120b94f567ab928e6ae40287d092adwith upstreammainfc294cbbb539ca1a93570b6bc063fd8e9a5fd97bincluded.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)Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T10:47:20Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this change based on the code inspected; the review is incomplete, so a formal approval is not justified.
What I ran
Reviewed prepared diff at head
d91b54ca212490fe8c20cf2281a3e9a28d7876b2usingrepo_read.py. No build or test commands were run. The description reports Linux and Windows test runs; those results were not independently verified.Read:
review/description.md,review/commits.md,review/manifest.json,review/diff.patch; changed sourcecore/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/tests/StringSearch.cpp, andcore/libs/prx/libSceIcu/CMakeLists.txt. Other changed files were not read. The prepared folder’sfiles.jsonwas unavailable;list_filesshowed the changed-file inventory.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
None.
Not verified
The review did not cover most changed files, including ICU build/data generation, break-iterator and collator implementations, and their tests. No build, tests, negative control, CI results, or console behavior were independently verified. No claim is made about code that was not read.
To get this to a good state
Nothing is required. The optional next step is to complete review of the remaining changed files before treating this as a full review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T15:18:58Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected string-search wrapper and tests show no verified blocking defect; the review is incomplete because most changed files were not read.
What I ran
Reviewed head
6c68d828c694cef77764c92daacd01225073ad23using the prepared review materials and pinned reader. No commands or tests were run. The PR description reports Linux and Windows test runs; those were not independently verified.Results
Findings
Blocking
None identified in the code read.
Non-blocking
SearchStateto the global registry, and the reviewed code has no path that removes it. The state owns the ICU handle and copied pattern/text, so repeated opens retain those resources for the process lifetime. The PR documents the missing close export as outstanding debt. Consider addressing the resource lifecycle when a close export is identified. (core/libs/prx/libSceIcu/StringSearch.cpp:55)Sources
Not verified
Read fully:
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp,core/libs/prx/libSceIcu/StringSearchHost.hpp, andcore/libs/prx/libSceIcu/tests/StringSearch.cpp. Read partially:core/libs/prx/libSceIcu/CMakeLists.txt. Also inspected selected ranges ofreview/diff.patch, plus the prepared description, commit list, manifest, and changed-file listing. The remaining changed-file contents and diff hunks were not reviewed; build integration, other ICU APIs, and platform or console behavior therefore remain unverified.To get this to a good state
Nothing is required. Optional: track the search-handle lifecycle issue described above.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T16:31:20Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: prevent ICU from retaining a caller-owned break iterator that this backend neither validates nor keeps alive.
What I ran
Reviewed head
ad231582133a53a2a37ae96e31adbd3523189399from the prepared diff and repository reader context. No build or tests were run. The description reports Linux and Windows test runs; those were not independently verified.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:166passesbreakIteratordirectly to ICUusearch_openwhile the new registry only tracks search handles. The caller can pass an invalid handle, or close or mutate a valid break iterator while the search still uses it; ICU retains the iterator for search operations. This can cause invalid access or incorrect iteration. Reject non-null iterators unless this backend validates and retains their lifetime, or add ownership/lifetime coordination.Non-blocking
None.
Not verified
No tests were run. The author-reported Linux and Windows results were not independently confirmed. Only
StringSearch.cppwas read from the repository at head; other changed files were reviewed through the prepared patch. The manifest marks all changed files included, and no files were excluded by rule. Console behavior and the remaining implementation details were not independently verified.To get this to a good state
Validate and coordinate the lifetime of non-null break iterators passed to
usearch_open, then rerun the reported ICU recovered-signatures tests on the updated head.Imported from boykopovar/AnyPS5. Originally posted by Thimo188 on 2026-11-25T20:59:00Z.
Review: COMMENTED
Addressed at
cdc4e06e16. Break iterators returned by the guest ubrk_open wrapper are now registered. usearch_open validates the supplied handle while holding the registry lock, clones it with ICU, and stores the clone in the search state. The search therefore remains valid if the caller mutates or closes its original iterator, and invalid handles are rejected before ICU dereferences them. Regression coverage closes the original iterator and then successfully searches through the retained clone. guest_icu_recovered_signatures and guest_icu_break_iterator both pass in Linux Docker and the Windows WinLibs Docker image.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T21:45:34Z.
Review: COMMENTED
Reviewed — no blocking findings
This review covers the
usearch_nextimplementation at headcdc4e06e166284a4139634a1a70cd3aeec3f5b86; the focused source inspected did not show a verified blocking defect, but the full change was not reviewed.What I ran
No commands or tests were run. The author reports Linux and Windows test runs in the PR description; these were not independently verified.
Results
Findings
Blocking
None found in the source inspected.
Non-blocking
None.
Not verified
The review bundle lists 38 changed files, all marked included. I read the description, commit list, manifest, full diff, and the changed lines/source context for
core/libs/prx/libSceIcu/StringSearch.cppandcore/libs/prx/libSceIcu/tests/StringSearch.cpp. The remaining changed files and their added lines were not reviewed, including the ICU build/data changes, break iterator and collator implementations, and their tests. No files were reported excluded in the bundle listing. Thefiles.jsondocument was not available through the review reader.To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files before treating this as a full review.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T08:29:19Z.
Review: COMMENTED
Actionable comments posted: 6
ca4070cd-cf84-444a-87b8-c604ef33c910Reviewing files that changed from the base of the PR and between
12b4fd5d6aand2885330f29..gitignoreCONTRIBUTING.mdcmake/Icu.cmakecmake/IcuData.cmakecmake/IcuDataFilter.jsoncmake/icu-host/CMakeLists.txtcore/libs/prx/libSceIcu/Availability.cppcore/libs/prx/libSceIcu/BreakIterator.cppcore/libs/prx/libSceIcu/BreakIterator.hppcore/libs/prx/libSceIcu/CMakeLists.txtcore/libs/prx/libSceIcu/Collator.cppcore/libs/prx/libSceIcu/CollatorHost.cppcore/libs/prx/libSceIcu/CollatorHost.hppcore/libs/prx/libSceIcu/Configuration.cppcore/libs/prx/libSceIcu/Data.cppcore/libs/prx/libSceIcu/Data.hppcore/libs/prx/libSceIcu/Export.cppcore/libs/prx/libSceIcu/RecoveredInventory.cppcore/libs/prx/libSceIcu/RecoveredInventory.hppcore/libs/prx/libSceIcu/RecoveredSignatures.hppcore/libs/prx/libSceIcu/StringSearch.cppcore/libs/prx/libSceIcu/StringSearchHost.cppcore/libs/prx/libSceIcu/StringSearchHost.hppcore/libs/prx/libSceIcu/include/InventoryExports.hppcore/libs/prx/libSceIcu/libSceIcu.hppcore/libs/prx/libSceIcu/tests/BreakIterator.cppcore/libs/prx/libSceIcu/tests/Collator.cppcore/libs/prx/libSceIcu/tests/Data.cppcore/libs/prx/libSceIcu/tests/StringSearch.cppdocs/dev/BUILD.mddocs/dev/debt/changes/feat-icu-string-search-matched-length.mddocs/dev/debt/changes/feat-icu-string-search-next.mddocs/dev/debt/changes/feat-icu-string-search-open.mddocs/dev/debt/changes/feat-icu-string-search-reset.mddocs/dev/debt/changes/feat-icu-string-search-set-attribute.mddocs/dev/debt/changes/feat-icu-string-search-set-offset.mddocs/dev/debt/changes/feat-icu-string-search-set-pattern.mddocs/dev/debt/changes/feat-icu-string-search-set-text.mddocs/dev/debt/changes/feat-libsceicu-data-break-iterator.mddocs/dev/debt/changes/feat-libsceicu-data-collator.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T08:40:39Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: fix
usearch_openso its break iterator clone retains the text backing store it references.What I ran
Reviewed head
2885330f29a09906cdea9613cabfb88eb2ffafa9from the prepared patch and targeted source reads. No commands or tests were run; the description reports Linux and Windows test runs, which I did not perform.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:169:CloneRegisteredcreates an ICU break-iterator clone that retains its text buffer, butSearchStatedoes not own a copy of the source break iterator's text. The caller may replace or release that text while the search handle still uses the clone, leaving ICU with a dangling buffer. Keep the source text alive for the search lifetime or give the clone an owned text buffer.Non-blocking
None.
Not verified
The diff and relevant portions of
StringSearch.cppwere read. Other changed files listed inmanifest.jsonwere not inspected in full;files.jsonwas not available in the prepared review folder, so the complete reviewed-file list could not be confirmed. Build, tests, console behavior, and the remaining changed code were not verified.To get this to a good state
Retain valid backing storage for the cloned break iterator for the lifetime of the search, then rerun the Linux and Windows ICU tests on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T09:41:59Z.
Review: COMMENTED
Actionable comments posted: 1
84f3c81c-9f30-4fbc-802f-ddfa65165e56Reviewing files that changed from the base of the PR and between
2885330f29andb80cc752dc.cmake/IcuData.cmakecmake/IcuDataBuilder.pycore/libs/prx/libSceIcu/Collator.cppcore/libs/prx/libSceIcu/Configuration.cppcore/libs/prx/libSceIcu/StringSearch.cppcore/libs/prx/libSceIcu/StringSearchHost.hppcore/libs/prx/libSceIcu/tests/StringSearch.cppdocs/dev/debt/changes/feat-icu-string-search-open.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:12:24Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: keep the ICU 78 calls in the new collator and string-search adapters isolated from the existing ICU backend and link them under distinct symbols.
What I ran
Reviewed head
b80cc752dcd710db5ed28f7611b547007b4f1b3dusing the prepared review documents andrepo_read.pyfor targeted repository searches. No build or tests were run; the Linux and Windows results in the PR description are author-reported. The base ismain; no merged-preview check was run.Results
Findings
Blocking
core/libs/prx/libSceIcu/CollatorHost.cpp:27andcore/libs/prx/libSceIcu/StringSearchHost.cpp:5call ICU APIs through their unrenamed public names. Those adapters are compiled intolibSceIcu, which already contains the separate ICU 78 backend under the_78names (for example, the new break-iterator wrapper explicitly callsubrk_open_78atcore/libs/prx/libSceIcu/BreakIterator.cpp:402). This lets collator/search calls bind to the other ICU implementation in the same module; the collator also receives handles from that backend. Isolate these calls behind ICU 78-renamed declarations, as the break-iterator adapter does, so they cannot resolve to the other backend's symbols. The current collator tests may pass on a host where the unrenamed symbols resolve as intended, but the reviewed source does not establish correct binding in the module.Non-blocking
None.
Not verified
I read the prepared description, commits, manifest, diff, review-folder README and file listing. Targeted changes reviewed include
cmake/Icu.cmake,cmake/IcuData.cmake,cmake/icu-host/CMakeLists.txt,core/libs/prx/libSceIcu/BreakIterator.cpp,Collator.cpp,CollatorHost.cpp,Configuration.cpp,StringSearch.cpp,StringSearchHost.cpp, and relevant test additions. I did not read every changed line listed in the manifest; other changed code, test behavior, build integration, platform behavior, and console ABI behavior remain unverified. No files were excluded by rule according to the listing.To get this to a good state
Isolate the new collator and string-search ICU calls from the existing ICU backend, then run the relevant build and tests on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:42:30Z.
Review: COMMENTED
Reviewed — comments
This review covered the
usearch_nextimplementation and its direct tests, but not every changed file, so a formal approval is not justified.What I ran
Reviewed the prepared diff and read
StringSearch.cpp,StringSearchHost.cpp,tests/StringSearch.cpp, andStatus.hppat head4443acc9118daef3295d605e1213b0b358b6928eusingrepo_read.py. No tests or build commands were run. The description reports Linux and Windows test runs; those were not independently verified.Results
usearch_nextand direct tests readNegative control
Not run; no tests were run.
Findings
Blocking
None identified in the code reviewed.
Non-blocking
None.
Sources
Behavior claims are based on the prepared diff and source at the pinned head. No external sources used.
Not verified
The other changed files listed in
manifest.jsonwere not read.repo_read.py’s file listing marks the changed files included; no excluded changed files were reported there. Build/test results, other changed code paths, and runtime behavior outside the inspectedusearch_nextpath remain unverified.To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files before making a formal approval decision.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T10:46:32Z.
Review: COMMENTED
Actionable comments posted: 1
b302333f-b6d8-4f9f-b8ea-9526fd3a0371Reviewing files that changed from the base of the PR and between
b80cc752dcand4443acc911.cmake/IcuData.cmakecmake/icu-host/CMakeLists.txtcore/libs/prx/libSceIcu/BreakIterator.cppcore/libs/prx/libSceIcu/Collator.cppcore/libs/prx/libSceIcu/StringSearch.cppcore/libs/prx/libSceIcu/StringSearchHost.cppcore/libs/prx/libSceIcu/tests/Collator.cppcore/libs/prx/libSceIcu/tests/StringSearch.cppdocs/dev/debt/changes/feat-icu-string-search-open.mdIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:11:39Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Read the prepared diff and targeted source at head
bee59d53c66899a205797cfc2fc273bd1e0c18b4usingrepo_read.py. No build or tests were run; the Linux and Windows test results in the PR description are author-reported.Results
Findings
Blocking
None in the targeted implementation reviewed.
Non-blocking
Not verified
The review focused on
StringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cppplus the matching diff. Other changed files in the manifest were not read, including ICU build/data integration, break iterator and collator implementations, other tests, and documentation. Consequently, the overall change is not fully reviewed and approval is not justified. The complete file list is in the prepared manifest; no excluded-file list was inspected.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:21:05Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the console behavior remains unverified as recorded in the PR’s debt notes.
What I ran
Reviewed head
4da968fa1779a4eb956304a751b604219d071335and its prepared diff. No commands or tests were run by me; the Linux and Windows test runs are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Console ABI and behavior are explicitly unverified. I did not read every changed file: the build integration, most break-iterator and collator implementation details, and their tests were not inspected. The manifest lists 39 changed files; I read the prepared description, commits, manifest, diff,
core/libs/prx/libSceIcu/StringSearch.cpp, andcore/libs/prx/libSceIcu/StringSearchHost.cpp. No files were excluded by the prepared manifest listing.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T11:27:44Z.
Review: COMMENTED
Actionable comments posted: 5
19999ee1-88d4-4433-8905-7224e85560d9Reviewing files that changed from the base of the PR and between
bee59d53c6and 4da968fa1779a4eb956304a751b604219d071335.cmake/IcuData.cmakecmake/icu-host/CMakeLists.txtcore/libs/prx/libSceIcu/BreakIterator.cppcore/libs/prx/libSceIcu/Collator.cppcore/libs/prx/libSceIcu/StringSearch.cppcore/libs/prx/libSceIcu/StringSearchHost.cppcore/libs/prx/libSceIcu/StringSearchHost.hppcore/libs/prx/libSceIcu/tests/BreakIterator.cppcore/libs/prx/libSceIcu/tests/Collator.cppcore/libs/prx/libSceIcu/tests/StringSearch.cppdocs/dev/debt/changes/feat-libsceicu-data-break-iterator.mdLimit details: You’ve used all 10 included reviews currently available.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T12:03:44Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected string-search implementation advances registered searches through ICU and propagates status; the full change remains unverified because most added lines were not read and tests were not run.
What I ran
Reviewed prepared diff for head
399d1895a4ecfcbd6b498295f1058e74454bb598againstmainusingrepo_read.py. No commands or tests were run. Linux and Windows test runs were reported by the author.Results
Findings
Blocking
None verified in the inspected string-search paths.
Non-blocking
None.
Not verified
Most changed lines were not read, including the ICU data/build integration, break-iterator and collator implementations, and their tests. The manifest marks all changed files included; files read from it were
StringSearch.cppand selected lines oftests/StringSearch.cpp. Also readStringSearchHost.cpp,description.md,commits.md,README.md, and the beginning ofmanifest.json. No files were excluded by rule in the bundle, and no tests were run. The broad change and limited inspection do not support approval.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T14:15:00Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete because this pull request changes 46 files and I inspected only a subset of their added lines; the reviewed behavior does not show a verified blocking defect.
What I ran
Read the prepared diff and pinned source through
repo_read.pyat headb4b4e90f52e46ab33d35dd2c2e5ac0530dd77405. No build or tests were run; the test results in the description are author-reported.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The added lines in all changed files were not reviewed. I read the description, commits, manifest, diff, README, and focused ranges in
StringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cpp. Remaining changed-file lines and behavior are not verified. No tests or negative control were run. Console behavior is also unverified.To get this to a good state
Nothing is required. Optional: complete the review of remaining added lines and run the project checks before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T15:41:14Z.
Review: COMMENTED
Reviewed — comments
Comments are appropriate because the implementation and tests can be inspected, but the prepared review bundle includes a broad set of ICU changes and no independent build or test run was performed.
What I ran
Reviewed head
e641380d717938f6db2bf44e1c6f52cd9cde2147againstmain. No build or tests were run. The author reports Linux and Windows Docker test runs in the PR description; these were not independently verified.Results
Findings
Blocking
None verified in the inspected
usearch_nextimplementation.Non-blocking
None.
Not verified
The manifest lists 46 changed files, all marked included. I read the description, commits, manifest, and diff, and targeted source ranges in
StringSearch.cpp,StringSearchHost.cpp,Configuration.cpp, andtests/StringSearch.cpp. I did not read the full text of every changed file or independently validate the broad ICU data, collation, break-iterator, and build changes. No checks were run. The excluded-file list was not available in the prepared review bundle, so excluded files were not verified. Console ABI and behavior remain unverified as documented by the PR.To get this to a good state
Nothing is required. The review did not identify optional code changes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T16:08:36Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed head is
ea620ea02802097308e0f5b9ca8ae5d24a5e3bc6; no concrete blocking defect was found in the targeted review, and the author must address only optional feedback, if any.What I ran
StringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cpp; also read the review description, commit list, manifest, README, and excluded-file listing.Results
Findings
Blocking
None identified in the code inspected.
Non-blocking
None.
Not verified
The review bundle lists 48 changed files, all marked included, but the full contents and changed lines of most files were not read. In particular, the build/data-generation changes and ICU break-iterator and collation implementations were not reviewed. Consequently this is not a complete review of all changed code. No local test or build was run; the reported test runs are author-provided.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T20:34:27Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the implementation and focused tests support merging.
What I ran
Reviewed head
45cdad7af26d22481bc24b2486c9ef7ab2aa6ac0usingrepo_read.pyto inspect the prepared diff, manifest, implementation, host adapter, and focused test assertions. No tests were run by this review.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The prepared diff contains 3,407 lines and the manifest lists many changed files. This review read the description, commits, manifest, the diff,
StringSearch.cpp,StringSearchHost.cpp, and the focused search test range. Other changed files and repository behavior outside these inspected areas were not read; the tests cited in the PR description were not run here. No repository files were excluded from review based onfiles.jsonbecause that file was not available through the reader.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T10:25:35Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the reviewed implementation and focused tests support merging.
What I ran
Reviewed head
9cf08e05e1cc002c8e3ede5d76e69cfdebab03fc. I readdescription.md,commits.md,manifest.json, the prepared diff, and targetedStringSearch.cppandStringSearchHost.cppsource ranges usingrepo_read.py. I did not run commands or tests. The description reports Linux and Windows test runs; these were not independently verified.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The change spans many files. I did not read every file listed as reviewed in the manifest, and did not inspect excluded files. Most of the diff, including build/data packaging, other ICU wrappers, and the full tests, was not examined. I did not run the reported tests or verify console behavior; the report identifies console behavior as unverified.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T10:10:47Z.
Review: COMMENTED
Reviewed — comments
This review is incomplete because the reader exposed matching lines but not source ranges, so the changed implementation and tests could not be verified.
What I ran
912cb432a2fe33f92aff487403f5559a4253a6e5.repo_read.pysearch and directory-listing tools to locate theusearch_nextimplementation and changed files. No build or tests were run; the Linux and Windows test results in the description are author-reported.Results
Findings
Blocking
None verified.
Non-blocking
None verified.
Not verified
The full text for changed files was not available through the review-folder listing, and reader search results only showed matching lines. I could not review function bodies or tests, including
StringSearch.cpp,StringSearchHost.cpp,StringSearchHost.hpp, andtests/StringSearch.cpp. The bundle lists these changed files as included; I could not verify their text. Thefiles.jsonexclusion list was not available through the reader. No claim is made about the correctness of unread code or whether the reported tests passed.To get this to a good state
Nothing is required. Please share the source ranges for the changed files so the implementation can be reviewed; the author-reported Linux and Windows test runs do not replace review of the code.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T18:58:33Z.
Review: COMMENTED
Reviewed — no blocking findings
This review covers the string-search implementation and selected related diff sections; the broader PR was not fully reviewed, so a formal merge decision is not justified.
What I ran
Reviewed head
12313986c67245620f2153037b51b3fac2c09b94. Read the prepared description, commit list, manifest, diff, and selected string-search source and test sections. Tried the pinned reader, but it could not write its read log in this read-only run folder. No tests or builds were run. The Linux and Windows runs in the PR description are author-reported.Results
Negative control
Not run; no tests were run.
Findings
Blocking
None identified in the reviewed sections. This does not establish that unread files have no blocking defects.
Non-blocking
No code issue identified in the reviewed sections. Complete review of the remaining changed files before making a merge decision.
Sources
StringSearch.cppat the reviewed headNot verified
Read
StringSearch.cppat the prepared head and reviewed the diff sections forStringSearchHost.cpp,tests/StringSearch.cpp,BreakIterator.cpp, andCMakeLists.txt. Other changed files listed asreviewedinfiles.jsonwere not read;files.jsonreports no excluded files. The pinned reader failed before providing repository context. Runtime behavior, builds, and tests are unverified.To get this to a good state
Nothing is required for the reviewed sections. Optional: review the remaining changed files and run relevant non-compiling checks before deciding whether to approve.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T01:29:31Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
0b8230b5ff019d43f061bf916d515417864ca3c3. No tests or builds were run. I usedrepo_read.pyto inspectStringSearch.cppandStringSearchHost.cpp; its excerpts were returned, although its read log could not be written in the read-only workspace. The author reports three ICU tests and convention/debt/diff checks passed; I did not run or verify those checks.Results
Findings
Blocking
None identified in the inspected
usearch_nextpath.Non-blocking
None.
Not verified
The full review is incomplete: the other 49 files listed as reviewed in
files.jsonwere not individually audited.files.jsonlists zero files excluded by rule. Console behavior was not verified. The reviewed implementation path is in StringSearch.cpp at the pinned head and delegates to StringSearchHost.cpp at the pinned head.Files read in source:
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp. The prepareddiff.patchwas also inspected for theStringSearch.cppandtests/StringSearch.cppchanges.To get this to a good state
Nothing is required.
Optional: complete review of the remaining changed files before treating the full PR as approved.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T12:54:54Z.
Review: COMMENTED
Reviewed — no blocking findings
The string-search implementation delegates match iteration to ICU; only 3 of the 51 changed files were checked in source, so this review is incomplete.
What I ran
Reviewed head
aa7e734dea05589a92eacd97b33cc465ea358dc1. Usedrepo_read.pyto inspectStringSearch.cpp,StringSearchHost.cpp, and part oftests/StringSearch.cpp. No tests or builds were run. The PR description reports three ICU tests and convention checks passing; those results were not verified here.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
Sources
usearch_nextwrapper and ICU delegationusearch_nextcallNot verified
Inspected source files:
StringSearch.cpp,StringSearchHost.cpp, and part oftests/StringSearch.cpp(3 of 51 changed files). The remaining 48 changed files were not read in source. No files were excluded by the review-folder rule. Console behavior, other platforms, and the author-reported checks were not verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T16:48:24Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional. This review is partial: the inspected
usearch_nextwrapper delegates to ICU and propagates its status, but most changed files were not audited.What I ran
Reviewed the prepared diff for head
a4c2f172de120b94f567ab928e6ae40287d092ad, against basemain; no merged-preview check was run. Read the PR description, commit list, manifest, diff, and file exclusions. InspectedStringSearch.cpp,StringSearchHost.cpp,BreakIterator.cpp, andtests/StringSearch.cpp. The pinned reader returned source content but then failed when it attempted to write its read log to the read-only run directory.Commands attempted:
No tests or builds were run. The description reports its own Linux build, test, and convention-check results; those were not independently verified here.
Results
usearch_nextpathFindings
Blocking
None in the inspected code.
Non-blocking
None.
Not verified
The other 48 files in
files.jsonunderreviewedwere not read, so this is not a full audit of the PR. No independent tests, build, negative control, console behavior, or author-reported checks were verified.To get this to a good state
Nothing is required based on the inspected code. The review remains partial because most changed files were not audited.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T19:14:04Z.
Review: COMMENTED
Reviewed — no blocking findings
No blocking defect was verified in the seven files inspected; the other 45 changed files were not audited, so this review is limited to the string-search path and its supporting code.
What I ran
Reviewed head
d8bcf1b9a7283d155ed26f61568eb68df2654f99against basemain; no merged-preview check was performed. I inspected the prepared diff and source snapshots usingsed,rg, and a manifest count. No build or test was run.Results
usearch_nextsource and testsNegative control
Not run; no tests were executed.
Findings
Blocking
None verified in the inspected portion.
Non-blocking
None.
Sources
usearch_nextimplementation at the reviewed commitNot verified
Read:
core/libs/prx/libSceIcu/StringSearch.cpp,StringSearchHost.cpp,StringSearchHost.hpp,tests/StringSearch.cpp,BreakIterator.cpp,BreakIterator.hpp, andConfiguration.cpp(targeted context), plus the prepared review metadata and relevant diff hunks. The manifest lists 52 changed files, all included; 45 changed files were not read.files.jsonreports no exclusions. Build behavior, test results, and console behavior were not verified.To get this to a good state
Nothing is required. The remaining changed files can be reviewed if broader coverage is needed.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T22:53:04Z.
Review: COMMENTED
Reviewed — no blocking findings
No blocking defect was verified in the inspected string-search changes, but the review is incomplete because the pinned reader could not finish reading the changed files.
What I ran
Reviewed head
991361d51dbc90bfd9e7dc3f75d4c5a69cd72510. Read the prepared description, commit list, manifest, and portions of the diff. InspectedStringSearch.cppthroughrepo_read.py; its read log failed because the run folder is read-only. No tests were run. The author-reported test results were not independently verified.Results
Negative control
Not run; no tests or changes to the code under test were made.
Findings
Blocking
None verified in the inspected changes.
Non-blocking
None.
Sources
The inspected
usearch_nextwrapper delegates to the host search and propagates changed status atStringSearch.cppon the reviewed head.Not verified
files.jsonlists 52 reviewed files and no excluded files. The full contents of the other changed files were not read, and the focused test behavior was not run. The reader failed while logging becausereads.jsonlcould not be written in the read-only run folder.To get this to a good state
Nothing is required. Optional: complete the full-file review and run relevant non-compiling checks when the pinned reader can log successfully.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:33:54Z.
Review: COMMENTED
Built the branch’s string-search sources on Linux with ICU 78.1 and ran the fixture’s
CheckIcuStringSearchcases directly. They passed, including forward iteration and end of search.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.