feat(libSceIcu): implement usearch_setPattern #27183
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/27183"
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:45Z.
What
Implement
usearch_setPatternwith guest-safe UTF-16 copies and stable owned storage for every accepted pattern.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
337947d8ad6a374594fe801fbae0f80920a4abf8with 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
3692b50ea0a51e6967f8c5b262c2f60f9c9229a7with 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:49:41Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected implementation files show no verified blocking defect, but this review is incomplete because not every changed file was read.
What I ran
Reviewed head
941d0880e3544a11e8c220eae74789e5cd66e503using the prepared review bundle and the pinned repository reader. No tests were run; the Linux and Windows runs in the description are author-reported.Files read:
review/description.md,review/commits.md,review/manifest.json,review/diff.patch,review/README.md;core/libs/prx/libSceIcu/StringSearch.cpp,StringSearchHost.cpp,CollatorHost.cpp,Configuration.cpp,cmake/IcuData.cmake, and selected lines ofcore/libs/prx/libSceIcu/tests/StringSearch.cpp.Results
Negative control
Not run; no tests were run in this review.
Findings
Blocking
None verified in the inspected code.
Non-blocking
None identified in the inspected code.
Sources
The
usearch_setPatternimplementation and ownership handling are in StringSearch.cpp at the reviewed commit. The host wrapper is in StringSearchHost.cpp at the reviewed commit.Not verified
Most changed files and added lines were not read, including the broader CMake, break iterator, collator, data, and documentation changes. No tests or builds were run. The description's Linux and Windows results were not independently confirmed.
To get this to a good state
Nothing is required. For a complete review, read the remaining changed lines and verify the reported tests on this head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T15:21:26Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete: I inspected the string-search implementation and tests at head
eeb529c2dcdd3f503895df9db69efb8cf1b1c309, but did not review every changed file or run the reported tests.What I ran
No commands or tests were run. I read the prepared description, commits, manifest, diff, and targeted repository source through
repo_read.py.Results
Findings
Blocking
None identified in the inspected files.
Non-blocking
None.
Not verified
I read
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. The other 31 changed files were not read. The description reports Linux and Windows test runs; I did not run them. Console behavior is unverified.To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files and run the reported tests before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T16:32:09Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this review; the points below are optional.
What I ran
Reviewed head
2643f9f72cc050d12c0aafdda5744a4fdd3ff4aausingrepo_read.pyagainst the prepared bundle and pinned repository source. No build or tests were run. The description reports Linux and Windows test runs; these were not independently verified.Results
Findings
Blocking
None.
Non-blocking
usearch_setPatternswaps the owned replacement buffer intostate->patterneven if ICU reports an error. If ICU rejects a pattern without adopting its buffer, the handle may retain a pointer into the temporary vector that is destroyed on return. Consider swapping only when the call succeeds, or confirm ICU's buffer ownership behavior for failing calls. Seecore/libs/prx/libSceIcu/StringSearch.cpp:221.Not verified
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp, and selected sections ofreview/description.md,review/commits.md,review/diff.patch, andreview/manifest.json. The other changed files were not read; no claim is made about their behavior. The attemptedreview/files.jsonread did not locate a file.To get this to a good state
Nothing is required. Optional: verify pattern-buffer ownership when ICU returns an error and retain the old buffer if it does not adopt the new one.
Imported from boykopovar/AnyPS5. Originally posted by Thimo188 on 2026-11-25T20:59:00Z.
Review: COMMENTED
I verified the buffer-lifetime point against the pinned ICU 78.1 source. usearch_setPattern assigns strsrch->pattern.text and textLength before calling initialize, and it does not restore the old pointer if initialize reports an error. The wrapper must therefore retain the replacement buffer even on an outgoing failure; swapping only on success would leave ICU pointing into the destroyed temporary vector. The existing unconditional swap is intentional and matches that upstream ownership behavior, so no code change is appropriate here.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T08:28:52Z.
Review: COMMENTED
Actionable comments posted: 4
19b5a555-431c-4b36-96e1-5cdc5e8fa383Reviewing files that changed from the base of the PR and between
12b4fd5d6aand6fb746eccd..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-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-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; 8 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T08:34:21Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the review covers the changed setPattern path, and the remaining broad ICU changes were not fully audited.
What I ran
Reviewed head
6fb746eccd5fff60791daa084c6cb55e410b4e3f. No commands or tests were run. I read the prepared description, commits, diff, manifest, and full text forStringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cpp; all listed changed files are included in the bundle.files.jsonwas unavailable.Results
Findings
Blocking
None identified in the inspected setPattern path.
Non-blocking
None.
Not verified
The other changed implementation, build, documentation, and test files were not read in full, and no tests were run. The author reports the
guest_icu_recovered_signatures_testspassed in Linux x86_64 Docker and Windows x86_64 Docker with Wine; these results were not independently verified. Console behavior is documented as unverified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:09:18Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete: I inspected the prepared diff and string-search implementation, but not every changed file or build/test result.
What I ran
Read the prepared PR description, commit list, manifest and diff for head
cadca7e513b49efc5589f313e7e6b173f0171e70, plusStringSearch.cppandStringSearchHost.cppat that head. No build or tests were run.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The changed files outside
StringSearch.cppandStringSearchHost.cppwere not read in full. The prepared diff and manifest were read; no excluded-file details were inspected. Build and test claims in the PR description are author-reported and were not independently verified. Console behavior is unverified.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 coderabbitai[bot] on 2026-11-27T10:45:20Z.
Review: COMMENTED
Actionable comments posted: 1
4331148b-07df-4cbd-8e97-c70090413fbeReviewing files that changed from the base of the PR and between
cadca7e513and14d71ea036.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; 4 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:47:33Z.
Review: COMMENTED
Reviewed — comments
The review covered the
usearch_setPatternchange and its supporting ICU build and string-search work; console behavior and the full build were not independently verified.What I ran
Reviewed head
14d71ea036ffdc2760854ba4543a97c2d67f531fusing the prepared diff and pinnedrepo_read.pysource context. No build or tests were run. The description reports Linux and Windows test runs; these were not performed for this review.Results
Findings
Blocking
None identified in the targeted
usearch_setPatternimplementation.Non-blocking
Sources
core/libs/prx/libSceIcu/StringSearch.cpplines 236–254: validates inputs, guest-copies the pattern, delegates to ICU, and retains owned pattern storage.core/libs/prx/libSceIcu/StringSearchHost.cpplines 41–48: releases ICU's prior dynamic pattern buffer before applying the new pattern.review/diff.patchlines 2589–2599: records the intended set-pattern behavior and console verification limitation.Not verified
StringSearch.cpp,StringSearchHost.cpp, a portion ofStringSearch.cpptests, and the set-pattern debt entry were read.To get this to a good state
Nothing is required. Optional: review the remaining changed API families and run the documented Linux and Windows checks on this head before approval.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:23:16Z.
Review: COMMENTED
Reviewed — comments
The pattern update path replaces the guest pattern buffer before knowing whether ICU accepts the new pattern, so an ICU error can leave the search with a failed replacement while the wrapper reports the error.
What I ran
09e129273d20cf002e809c0d2980d2d2221d688aand the prepared diff; no command-line checks were run because this environment exposes only review reader tools.review/README.md’s inventory except that review scope remains incomplete; inspected the search, collator, break iterator and ICU data implementation paths. The author reports Linux and Windows test runs indescription.md; these were not independently run.Results
Findings
Blocking
None verified.
Non-blocking
core/libs/prx/libSceIcu/StringSearchHost.cpp:51:SetPatternfrees ICU’s current internal pattern buffer and resets the pattern state before callingusearch_setPattern. If ICU rejects the new pattern, the existing search pattern is already lost or left in a failed state, whileStringSearch.cpp:269still swaps in the replacement buffer. Consider preparing the new pattern first, or retaining and restoring the previous internal pattern when ICU reports failure. The current tests cover invalid arguments rejected before the host call, but do not exercise a host ICU failure during pattern replacement.Not verified
To get this to a good state
Nothing is required. Optional: preserve the prior search pattern if ICU fails during replacement, and add a test for that failure path.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T12:06:03Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: retain the current pattern buffer when ICU rejects a replacement.
What I ran
Reviewed head
ada1e5fca5105529ec372d9e711db639d842e8abfrom the prepared diff and repository reader. No build or tests were run; the description reports Linux and Windows tests, which I did not verify.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:269:state->pattern.swap(replacement)runs regardless of the status returned by ICU. Ifusearch_setPatternfails, ICU can continue to reference the old pattern buffer; swapping frees that buffer whenreplacementgoes out of scope, leaving the search handle with a dangling pointer. Only commit the new owned buffer when ICU accepts the replacement, and preserve the existing buffer on failure.Non-blocking
None.
Not verified
Build and test results were not independently verified. Reviewed changed files:
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp,core/libs/prx/libSceIcu/BreakIterator.hpp, and the relevantreview/diff.patchsections. The manifest marks all changed files as included, but the remaining changed files were not read; excluded files were not listed in the available review-folder listing.To get this to a good state
Preserve the existing pattern storage when ICU reports an error, then rerun the Linux and Windows string-search tests.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T14:16:54Z.
Review: COMMENTED
Reviewed — comments
The setPattern wrapper copies accepted patterns into handle-owned storage; the broader PR was not fully reviewed, so a formal merge decision is not justified.
What I ran
No commands or tests were run. I read the prepared description, commit list, diff, manifest,
StringSearch.cpp, andStringSearchHost.cppat heade7fe247f36691dea812f6578bb387ef23d4a479c.Results
usearch_setPatternFindings
Blocking
None identified in the inspected code.
Non-blocking
None.
Not verified
I did not read every file listed in the manifest, including the build-system, ICU data, break iterator, collator, test, and documentation changes. The author-reported test runs were not independently verified. No behavior was checked on a console.
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 MarcZX10 on 2026-11-27T15:45:29Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
27b3420df480e81a2adc8eb017af68ac1cc11bd8. I did not run commands or tests. Readdescription.md,commits.md,manifest.json,diff.patch,StringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cpp; no changed file was identified as excluded by rule in the manifest.Results
Findings
Blocking
None.
Non-blocking
Not verified
The PR changes many files beyond the targeted string-search implementation and its tests; those files were not reviewed individually. The separate
files.jsondocument was not available through the reader. Build and test results were not independently verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T16:11:03Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks merging; the review found one optional point.
What I ran
Reviewed head
6ae72b86a1ab287e541ac609da7bb9f8cd7193d4. No commands or tests were run; the Linux and Windows test results in the PR description are author-reported. Readdescription.md,commits.md,manifest.json,diff.patch, and the changed code inStringSearch.cpp,StringSearchHost.cpp, andBreakIterator.cpp.Results
Findings
Blocking
None identified in the reviewed code.
Non-blocking
usearch_setPatternchecks whether the status is successful before validating the search handle, pattern pointer, and length (core/libs/prx/libSceIcu/StringSearch.cpp:253-257). This preserves ICU's early return on a pre-failed status, but means invalid arguments with a successful status are rejected while invalid arguments with a pre-failed status are ignored. Consider adding a focused test documenting that precedence, since this function's tests emphasize invalid patterns and status preservation.Not verified
The full text of the other changed files was not read. In particular, the ICU data build, collator, break iterator edge cases, and platform-specific build behavior were not independently verified.
files.jsonwas not available in the review folder, so the reviewed-versus-excluded inventory could not be reconciled. No tests were run; no claim is made about uninspected code.To get this to a good state
Nothing is required. Optional: add a test for invalid
usearch_setPatternarguments when status is already failing.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T21:56:09Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the inspected implementation preserves the incoming ICU error status and owns a copied pattern for accepted updates.
What I ran
Reviewed head
dc528d78f4278869b7eb97382a18b9e9b1c14dbfusingrepo_read.pyreview artifacts and pinned repository reads. No build or test command was run; Linux and Windows test results are author-reported in the PR description.Results
usearch_setPatternand its testsFindings
Blocking
None.
Non-blocking
None.
Not verified
Only the
usearch_setPatternimplementation and related test region were read. Other changed files were not reviewed, so the complete PR is not verified. The manifest lists all 46 changed files as included; changed files not read include build, ICU data, break iterator, collator, other string search functions and tests, and debt documentation. No local test output was produced.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T14:47:46Z.
Review: COMMENTED
Reviewed — no blocking findings
The changed string search pattern path has no verified blocking defect, but this review is incomplete because most changed files were not inspected.
What I ran
Reviewed head
bea409ec3d7387b1a2d6bcad7771d108777857f0. No commands or tests were run. Read the prepared description, commit list, manifest, and diff, plusStringSearch.cpp,StringSearchHost.cpp, and the relevantStringSearch.cpptest ranges throughrepo_read.py.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The manifest lists 43 changed files, all marked included. Read:
.gitignore,CONTRIBUTING.md,cmake/Icu.cmake,cmake/IcuData.cmake,cmake/IcuDataBuilder.py,cmake/IcuDataFilter.json,cmake/icu-host/CMakeLists.txt,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(targeted ranges). The remaining changed files were not read; their behavior, build integration, and test coverage are not verified. No tests were run, and console behavior is unverified.To get this to a good state
Complete review of the unread changed files and run the relevant checks before requesting a formal decision. Nothing is required to address a verified defect.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T10:21:57Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head
6fd44ea538dd4210be0556231bb2e8a829387401. No commands or tests were run. I readreview/description.md,review/commits.md,review/manifest.json,review/diff.patch,core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp,core/libs/prx/libSceIcu/tests/StringSearch.cpp, andcore/libs/prx/libSceIcu/Configuration.cpp. All changed files are marked included in the manifest; the full changed-file texts were not all read.Results
Findings
Blocking
None identified in the reviewed code.
Non-blocking
None.
Not verified
The PR title and body describe implementing
usearch_setPattern, but the diff also changes ICU data generation, break iteration, collation, string search APIs, exports, tests, and debt records. Those other changed-file contents were not read, so they are not verified. Console behavior is also unverified, as noted in the change documentation. The Linux and Windows test results are author-reported; I did not run them.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T10:11:54Z.
Review: CHANGES_REQUESTED
Reviewed — comments
Changes are required before merge:
usearch_setPatterndoes not honor an incoming positive status before reading guest pattern memory.What I ran
Reviewed head
1f90337d2cbc948a94cbcdbce181c54d439c6c3cusing the prepared diff and the pinned repository reader. No build or tests were run. The author reports Linux and Windowsguest_icu_recovered_signatures_testspassed.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:1551:usearch_setPatterncopies and reads the guest pattern before reading the incoming status. ICU APIs that acceptUErrorCode*must return without processing arguments when the incoming status is already a failure. With an unreadable pattern and a positive status, this path throws instead of preserving the status and ignoring the pattern. Read/check the status beforeCopyUnits, returning immediately when it is positive.Non-blocking
None.
Not verified
dist/,build/, and.svgfiles by rule. The separatefiles.jsonartifact was unavailable through the reader.To get this to a good state
Check and honor the incoming status before reading the pattern, and add coverage for a positive status paired with an unreadable pattern. Re-run the reported test target on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T19:01:04Z.
Review: COMMENTED
Reviewed — comments
This review checks
usearch_setPatternand its directly related host adapter and tests; the rest of the broad change was not reviewed in full.What I ran
c75748d267aa9aa41f350159bb74e466956596c9.description.md,commits.md,manifest.json,files.json, anddiff.patch; inspected changed hunks forStringSearch.cpp,StringSearchHost.cpp, andtests/StringSearch.cpp.StringSearchHost.cppwithrepo_read.py. Further reader calls were unavailable because the reader could not write its run log.Results
Findings
Blocking
None identified in the inspected
usearch_setPatternpath.Non-blocking
None.
Not verified
The change spans many ICU data, build, collation, break-iterator, and documentation files. Their changed behavior was not reviewed in full. Console behavior is also unverified, as recorded in the changed debt note.
files.jsonlists 49 reviewed paths and no excluded paths; this review did not read every listed file.To get this to a good state
Nothing is required. The verdict is a comment because this review did not cover the full change.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T01:31:36Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks the inspected
usearch_setPatternpath; the rest of the changed files was not reviewed, so this is not a formal decision on the full PR.What I ran
Reviewed head
8f965195011105463d4173f8ced84f6e3ce3469d. No tests or builds were run. The description reports three ICU tests and convention checks passed on Ubuntu 24.04 x86_64; those results were not verified here.Results
Findings
Blocking
None in the inspected
usearch_setPatternpath.Non-blocking
None.
Not verified
Inspected targeted portions of
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp, andcore/libs/prx/libSceIcu/tests/StringSearch.cpp. Read the prepared description, commits, manifest, and files list. The manifest lists 49 changed files; the other 46 were not inspected.files.jsonlists zero rule-based exclusions. No tests, builds, or console behavior were verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T12:24:42Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional. The targeted
usearch_setPatternpath showed no verified blocking defect, but the wider change set was not fully reviewed.What I ran
Reviewed head
33482eb459130c8e8056c051b86c7bfd61217c02against basefc294cbbb539ca1a93570b6bc063fd8e9a5fd97b. No build or tests were run. The author reports three tests and several checks passed; those results were not independently verified.Inspected the prepared description, commit list, manifest, and diff. Read the full prepared head text for
StringSearch.cpp,StringSearchHost.cpp, andStringSearchHost.hpp, plus the changedStringSearchtest hunks in the diff.Results
usearch_setPatternpathFindings
Blocking
None verified in the targeted path.
Non-blocking
The prepared description focuses on
usearch_setPattern, while the diff covers 49 files and includes broader ICU, build, and test changes. Those other changes were not reviewed in full.Sources
StringSearch.cppat the reviewed headStringSearchHost.cppat the reviewed headNot verified
The full contents of 46 changed files were not read.
files.jsonlists 49 reviewed files and no files excluded by its rules. No build, test, title, or console run was performed.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 MarcZX10 on 2026-12-02T16:38:24Z.
Review: COMMENTED
Reviewed — comments
The review focused on string search pattern updates; the full change was not verified because the pinned reader could not return source ranges in the read-only workspace.
What I ran
Reviewed head
3692b50ea0a51e6967f8c5b262c2f60f9c9229a7using the prepared description, commit list, manifest, diff, and included file snapshots.repo_read.py search usearch_setPattern core/libs/prx/libSceIcureturned matches; itscatcommand could not run because the reader attempted to write a log in the read-only workspace. No tests or builds were run.Results
Negative control
Not run. The author reports a source-only negative control, but I did not independently verify it.
Findings
Blocking
None verified.
Non-blocking
None.
Sources
Reviewed
core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp,core/libs/prx/libSceIcu/StringSearchHost.hpp, andcore/libs/prx/libSceIcu/tests/StringSearch.cppin the prepared head snapshots and corresponding diff hunks. The reader search also confirmed theusearch_setPatternreferences at the pinned head.Not verified
The manifest lists 50 changed files, all included, and
files.jsonlists no rule-excluded files. I read the description, commits, manifest and files list, plus the focused string-search diff and snapshots named above. I did not inspect the other 46 changed files in detail, rerun the reported tests, or verify console behavior. The reader’s source-range lookup was blocked by its attempted log write.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T19:30:06Z.
Review: COMMENTED
Reviewed — no blocking findings
I found no blocking defect in the four inspected files, but the full PR remains unreviewed.
What I ran
Reviewed head
337947d8ad6a374594fe801fbae0f80920a4abf8using read-only source inspection. No build or tests were run.The reader returned source excerpts but exited when it could not append its read log. I also inspected the prepared diff, manifest, and the full prepared text for
StringSearch.cpp,StringSearchHost.cpp,StringSearchHost.hpp, andtests/StringSearch.cpp.Results
Findings
Blocking
None identified in the inspected files.
Non-blocking
None identified in the inspected files.
Sources
usearch_setPatternguest copy and owned storageNot verified
manifest.jsonlists 50 changed files;files.jsonexcludes none. I read the four files listed above. The other 46 changed files were not reviewed, so their behavior, test coverage, and integration are not verified.To get this to a good state
Nothing is required for the inspected code. Optional: review the remaining 46 changed files before treating this as a complete PR review.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:33:49Z.
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 pattern replacement 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.