feat(libSceIcu): implement usearch_reset #27180
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/27180"
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:30:12Z.
What
Implement
usearch_resetfor registered ICU string-search handles while preserving ICU status semantics.Tested
Current integration validation: Ubuntu 24.04 x86_64 Docker, GCC 13.3, CMake 3.28.3, Ninja, Release, BUILD_TESTING=ON, at
aac5a32bce030a635b55fcd1ac88a5cca448117bwith 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. No title or console run.Revalidated on 2026-12-02 at
b9fcee9f9545628a3b8e1ad38794ad6c391f4508with 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:52:22Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change based on the code reviewed; the author-reported tests were not run in this review.
What I ran
Reviewed head
dadf739bffea7916d766010421303dd05e535e0f. No commands were run; the prepared diff and pinned reader were inspected.Results
Findings
Blocking
None identified in the inspected hunks.
Non-blocking
None.
Not verified
The full text for all changed files listed in the manifest was marked included, but most files were not read. Review focused on selected hunks in
cmake/Icu.cmake,cmake/IcuData.cmake,cmake/icu-host/CMakeLists.txt,core/libs/prx/libSceIcu/BreakIterator.cpp,core/libs/prx/libSceIcu/Collator.cpp,core/libs/prx/libSceIcu/CMakeLists.txt, andcore/libs/prx/libSceIcu/StringSearch.cpp. No tests were run, and console behavior was not verified. The manifest’sfiles.jsonexclusion list was unavailable through the reader.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T08:27:32Z.
Review: COMMENTED
Actionable comments posted: 4
366f6f69-d087-4b52-9f46-109947d59342Reviewing files that changed from the base of the PR and between
12b4fd5d6aand13ae641e5a..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-open.mddocs/dev/debt/changes/feat-icu-string-search-reset.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; 1 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T08:41:58Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: reject every
ubrk_getAvailableindex outside[0, count)before calling ICU.What I ran
Reviewed head
13ae641e5ae5b0e31fccf1efb5d64125e9cf9e3eagainst the prepared diff and repository reader. No commands or tests were run; the build and test results in the PR description are author-reported.Results
Findings
Blocking
core/libs/prx/libSceIcu/BreakIterator.cpp:378:ubrk_getAvailablerejects negative indexes and exactlycount, but does not reject indexes greater thancount. Those values reachubrk_getAvailable_78(index), allowing an out-of-bounds locale lookup. Rejectindex >= countbefore the ICU call.Non-blocking
None.
Not verified
No tests or builds were run in this session. I read the prepared description, commits, manifest, diff, and the changed runtime files
core/libs/prx/libSceIcu/BreakIterator.cpp,core/libs/prx/libSceIcu/Configuration.cpp,core/libs/prx/libSceIcu/Availability.cpp,core/libs/prx/libSceIcu/StringSearch.cpp, andcore/libs/prx/libSceIcu/CMakeLists.txt. The manifest marks all changed files as included, but I did not read every changed file in full; in particular, the ICU CMake/data generation, collator implementation, tests, and documentation were not fully inspected.files.jsonwas not available through the reader.To get this to a good state
Reject every
ubrk_getAvailableindex outside the valid range, then rerun the relevant availability and ICU tests on the updated head.Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T09:42:22Z.
Review: COMMENTED
Actionable comments posted: 1
b32e140f-1459-4f35-96fd-27bc1c3977c7Reviewing files that changed from the base of the PR and between
13ae641e5aand8cd819b521.cmake/IcuData.cmakecmake/IcuDataBuilder.pycore/libs/prx/libSceIcu/BreakIterator.cppcore/libs/prx/libSceIcu/BreakIterator.hppcore/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; 3 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:10:29Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
8cd819b52130a911a8cf9c3eb524359631a2794e. I did not run commands or tests; the Linux and Windows test results in the PR description are author-reported.Results
Findings
Blocking
None.
Non-blocking
usearch_resettest checks that the matched length is zero before and after reset, but does not first move the search away from its initial state. A test that advances a search, resets it, then verifies the next match would give stronger coverage for the new behavior. Seecore/libs/prx/libSceIcu/StringSearch.cpp:191and the test atcore/libs/prx/libSceIcu/tests/StringSearch.cpp:367.Not verified
I read
description.md,commits.md,manifest.json, and the prepared diff, plus targeted source ranges incmake/IcuData.cmake,cmake/IcuDataBuilder.py,core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/tests/StringSearch.cpp,core/libs/prx/libSceIcu/BreakIterator.cpp,core/libs/prx/libSceIcu/Configuration.cpp,core/libs/prx/libSceIcu/Data.cpp,core/libs/prx/libSceIcu/Collator.cpp, andcore/libs/prx/libSceIcu/tests/Data.cpp. The manifest marks all changed files as included, but I did not read every changed file; the remaining changed files were not reviewed. Build behavior and the reported test runs were not independently verified.To get this to a good state
Nothing is required. The reset-state test improvement is optional.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T10:48:30Z.
Review: COMMENTED
Actionable comments posted: 2
fcd05e85-6c23-4926-9811-ee46cf9e0427Reviewing files that changed from the base of the PR and between
8cd819b521and842560ac0a.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/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; 5 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:50:52Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete because I inspected the
usearch_resetimplementation and selected related code, but did not read every changed line or run the tests.What I ran
Reviewed head
842560ac0a92e9e56b1c008993db9c9e5bc60a2fagainst basemainfrom the prepared bundle. I did not run commands or tests. The bundle reports author-run Linux and Windows tests; those results were not independently verified.Results
Findings
Blocking
None identified in the code inspected; review is incomplete.
Non-blocking
None.
Not verified
I read
description.md,commits.md,manifest.json,README.md, the first 300 lines ofdiff.patch, theusearch_resetdiff area, andStringSearch.cpplines 1–180,StringSearchHost.cpplines 1–26, andStringSearchHost.hpplines 1–18. I did not read all changed lines or inspect the remaining changed files.files.jsonwas not available through the review reader. The reported Linux and Windows test runs were not independently confirmed.To get this to a good state
Complete review of all changed lines and run the relevant checks before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:13:15Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change;
usearch_resetdelegates registered handles to ICU, ignores null handles, and rejects unregistered handles.What I ran
ab700fd80ccf38e1e3dad506acecdc85149a53d0using the prepared review bundle andrepo_read.py.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The review focused on
StringSearch.cpp,StringSearchHost.cpp, and related reset tests. Other changed files were not read, so their behavior and the overall build are not verified. The review bundle lists 33 changed files; all are included, with no exclusions listed. No test output was supplied or independently checked.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:25:13Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the reset implementation is consistent with its registered-handle model and the included test exercises reset on a newly opened search.
What I ran
Reviewed head
74c73d0a84a51ebac52cf36ed4a4007dc5629e82. No commands or tests were run. Read the prepared description, commit list, diff, and the full head source forStringSearch.cpp;repo_read.pywas not run.Results
Findings
Blocking
None.
Non-blocking
core/libs/prx/libSceIcu/tests/StringSearch.cpp:392checks matched length before and after reset while the search remains at its initial state. Consider extending the test to advance to a match first and then assert reset clears the match state. The current implementation calls ICU's reset directly, but this test would cover the behavior named by the PR more directly.Not verified
core/libs/prx/libSceIcu/StringSearch.cppand the relevant changed test hunk. The diff also changes many other files; their full contents and behavior were not reviewed.files.jsonwas unavailable through the reader. The author-reported Linux and Windows test runs were not independently verified.To get this to a good state
Nothing is required. Optional: strengthen the reset test by advancing to a match before resetting and checking the resulting search state.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T14:19:27Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: fix
usearch_setAttributeso an invalid value does not overwrite the incoming failure status or write through a null status pointer.What I ran
Reviewed head
b737f372fade1e3ed5b82874fc5b723505e84948. No build or tests were run; the Linux and Windows test runs are reported by the author. I read the prepared description, commits, diff, manifest, and the full text of the changedStringSearch.cpp,StringSearchHost.cpp, andConfiguration.cpp. The manifest’s other changed files were not read; no excluded-file listing was available.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:211validatesvalueafter the status-gated branch and unconditionally callsCopyOut. Ifstatusis null,Succeededreturns false viaRequireStatusbut this line still writes through the null pointer. Ifstatuscontains a positive incoming failure code, it is overwritten withU_ILLEGAL_ARGUMENT_ERROR, contrary to ICU’s convention of leaving failed statuses unchanged. Gate this validation on a valid status pointer and success status, and validate the value against the attribute’s allowed range.Non-blocking
None.
Not verified
I did not inspect the remaining files listed as reviewed in the manifest, so their behavior, tests, and build configuration are not verified. The run directory’s excluded-file listing was unavailable. I did not run the reported Linux or Windows builds and tests, check CI, or verify console behavior.
To get this to a good state
Fix the
usearch_setAttributestatus handling and add coverage for null status, pre-failed status, and invalid attribute values. Then run the Linux and Windows test suites on the updated head.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T15:46:17Z.
Review: COMMENTED
Reviewed — comments
The final
usearch_resetwrapper delegates to ICU under the registered search state’s mutex; the full 40-file change was not completely reviewed, so approval is not justified.What I ran
Reviewed prepared diff at head
80538eed1de07611a290d92140c73d231bf783c2and inspected the search adapter, host wrapper, and search tests. No commands or tests were run.Results
Findings
Blocking
None identified in the code inspected.
Non-blocking
None.
Not verified
The review is incomplete. Of the 40 changed files, only
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp, andcore/libs/prx/libSceIcu/tests/StringSearch.cppwere read. The remaining changed files were not reviewed; among them are ICU build/data integration, other adapters, tests, and documentation. The full test suite and the author-reported test runs were not independently verified.To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files and run the relevant checks before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T16:12:07Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the reset implementation delegates to ICU for registered handles and the reviewed tests cover reset and null or foreign handles.
What I ran
Reviewed head
0c6d8000555a94354cc06272ab559aff568b9058. Read the prepared description, commits, manifest, diff,StringSearch.cpp,StringSearchHost.cpp,RecoveredSignatures.hpp, andtests/StringSearch.cpp. No commands or tests were run; the build and test results in the description are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The review was focused on the string-search change; other changed files were not read. The manifest shows all changed files as included, and none excluded by rule. Console ABI and behavior were not verified. Build and test results were not independently confirmed.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T21:55:21Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed reset implementation delegates registered search handles to ICU and the available test exercises the reset call; console behavior remains unverified.
What I ran
Reviewed head
72dbf2fb45a3778998ad976c6cd45a593a64f654; base ismain. No commands or tests were run. The PR description reports Linux and Windows test runs; those are author-reported results.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Reviewed the reset implementation, host adapter, and reset test context. The prepared patch covers many additional changes beyond the stated reset goal; those were not fully reviewed. Console ABI and behavior were not confirmed. Source files inspected:
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp, andcore/libs/prx/libSceIcu/tests/StringSearch.cpp. Prepared review content inspected:review/description.md,review/commits.md,review/manifest.json, and targeted sections ofreview/diff.patch. The manifest lists 31 changed files, all marked included; not all changed files were read, so the review is incomplete.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T14:46:40Z.
Review: COMMENTED
Reviewed — comments
The targeted string search reset path appears to delegate to ICU and preserve handle lifetime, but this review did not cover every changed file or run the reported tests, so a formal approval is not justified.
What I ran
Reviewed head
e884528cd854ae84edc0453e151e9154bcefde7eusing the prepared diff and pinned reader. No commands or tests were run.Read:
review/description.md,review/commits.md,review/manifest.json,review/diff.patch; repository filescore/libs/prx/libSceIcu/StringSearch.cpp,StringSearchHost.cpp,tests/StringSearch.cpp, andConfiguration.cpp. The manifest marks the listed changed files as included, but I did not read every changed file. No files were excluded by rule in the material inspected; the rest of the included changed files were not reviewed.Results
Findings
Blocking
None verified in the targeted code reviewed.
Non-blocking
None.
Not verified
The broader ICU data build, break iterator, collator, and other changed code were not reviewed. Linux and Windows test runs described in the PR were not independently run. Console behavior is not verified.
To get this to a good state
Nothing is required. The points above describe review scope, not requested changes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T10:27:47Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed changes add ICU-backed break iteration, collation, string-search support, and bundled ICU data; I found no verified blocking defect in the code inspected.
What I ran
707563928f82b491de19ff1e707c8dcf71f933fb; base:main(no merged-preview check).repo_read.py; 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 identified in the inspected code.
Non-blocking
None.
Not verified
The change affects 44 files listed as reviewed in the manifest; I did not read every added line, so this is not a complete review of all changed code. Targeted reads covered the ICU data build integration, break-iterator adapter, collator host adapter, string-search reset and cleanup paths, associated tests and selected documentation. I did not run the reported tests or validate console ABI and behavior. The bundle lists no changed files excluded by rule.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T10:10:31Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete, and the reset test does not verify that reset restores a search after it has advanced.
What I ran
Reviewed head
b1117732117869119e6b785b116a2bc7ce330545. No commands or tests were run. Readreview/description.md,review/commits.md,review/manifest.json, and relevant portions ofreview/diff.patch, pluscore/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/tests/StringSearch.cpp, andcore/libs/prx/libSceIcu/Configuration.cpp. The bundle lists 40 changed files; only those three changed source/test files were read. No changed files were excluded by the manifest.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
core/libs/prx/libSceIcu/tests/StringSearch.cpp:392calls reset immediately after opening, then checks matched length remains zero. Add a case that advances to a match, checks the matched length, resets, and checks the reset state; the current assertion does not exercise restoring a used search.Not verified
The remaining changed files were not read, and no build or test was run. The author's reported Linux and Windows test runs were not independently verified.
To get this to a good state
Nothing is required. Optional: add coverage that resets a search after it has advanced to a match.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T19:03:48Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
5bab59d5d1eb4a44351ee15aa0bff422235c7384. No build or test was run. The author reports Linux and Windows test passes; I did not verify them.Read the prepared description, commits, manifest, diff, and files list; the full staged
StringSearch.cpp,StringSearchHost.cpp, andStringSearchHost.hpp; plus targetedBreakIterator.cpp,Configuration.cpp, and string-search test excerpts. The reader provided context at the pinned head.Results
Negative control
Not run; no test or code change was executed.
Findings
Blocking
None in the inspected reset path.
Non-blocking
core/libs/prx/libSceIcu/tests/StringSearch.cpp:392: the test checks matched length is zero both before and after reset, so it would not detect a no-op reset. Add an assertion that demonstrates reset after the search state has advanced when the wrapper exposes an observable way to advance it.Sources
Not verified
files.jsonlists 46 changed files as reviewed and zero excluded, but I did not read every listed file in full. The broader ICU data, build, break-iterator, collator, allocator, documentation, and other test changes were not comprehensively reviewed. Build behavior, runtime behavior, and the author-reported test results remain unverified.To get this to a good state
Nothing is required. The optional test improvement is listed above.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T01:49:58Z.
Review: COMMENTED
Reviewed — no blocking findings
No blocking defect was verified in the targeted string-search reset paths, but the review is incomplete because most changed files were not read.
What I ran
Reviewed PR head
304210a6213dcb0911732383ae3199068eb2286e. I inspected the prepared description, commit list, manifests, and diff, then usedrepo_read.pyto readStringSearch.cpp,StringSearchHost.cpp, and portions oftests/StringSearch.cpp. The reader returned the requested source but exited nonzero when it attempted to write its log in the read-only run folder. I did not run tests or builds. The description reports 3/3 tests passing on Ubuntu 24.04 x86_64 with GCC 13.3 after merging upstream main; that is author-reported, not independently verified.Results
Negative control
Not run; no test was executed.
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Sources
StringSearch.cppat the reviewed head returns on a null handle and resets a registered search while holding its state mutex.StringSearchHost.cppat the reviewed head delegates the reset to ICU'susearch_reset.Not verified
The manifest lists 46 changed files, all included, and
files.jsonlists no excluded files. I read the full text of 3 changed source files only in part; I did not read the other 43 changed files or the remaining sections of the inspected test file. The diff was truncated in the initial output, so its remaining hunks were not reviewed. No tests, builds, or console behavior were independently checked.To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files and rerun relevant checks on this head before making a formal approval decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T11:55:50Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
b9fcee9f9545628a3b8e1ad38794ad6c391f4508. No merged preview, build, or test was run. The author reports three tests and the listed convention checks passed; those results were not independently verified.Results
Negative control
Not run; no tests were executed.
Findings
Blocking
None identified in the inspected reset path.
Non-blocking
None.
Sources
StringSearch.cppat the reviewed headStringSearchHost.cppat the reviewed headStringSearch.cpptests at the reviewed headNot verified
Only
StringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cppwere inspected at the pinned head, alongside the prepared description, commit list, diff, manifest, and exclusion list. The other 43 changed files were not read. The manifest lists no files excluded by rule. Build behavior, reported test results, and console behavior were not independently verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T22:12:48Z.
Review: COMMENTED
Reviewed — no blocking findings
The
usearch_resetwrapper delegates to ICU for registered handles; this focused path showed no blocking defect, but the wider PR diff remains incompletely reviewed.What I ran
Reviewed head
aac5a32bce030a635b55fcd1ac88a5cca448117b. Read the prepared description, commit list, manifest, changed-file list, and relevant diff hunks. Usedrepo_read.pyto inspectStringSearch.cpplines 145–242,StringSearchHost.cpplines 1–37, andBreakIterator.hpplines 1–28, plus targeted symbol searches. No build or test commands were run.Results
Negative control
Not run; no test was run in this review.
Findings
Blocking
None in the inspected
usearch_resetpath.Non-blocking
None.
Sources
usearch_resetwrapper at the reviewed headNot verified
The remaining 43 changed files in the review list were not source-read at the pinned head, so the broader PR changes and their interactions are not verified. No tests, builds, or console behavior were checked in this review. The description reports CI and integration checks; those are author-reported results.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:33:43Z.
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 the reset cases.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.