feat(libSceIcu): implement usearch_open #27178
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/27178"
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:28:53Z.
What
Implement
usearch_openwith guest-safe pattern, text and locale copies backed by ICU 78.1 string search. Keep owned UTF-16 buffers alive for the native search lifetime and add portable ICU data generation for the Windows build.Tested
Current integration validation: Ubuntu 24.04 x86_64 Docker, GCC 13.3, CMake 3.28.3, Ninja, Release, BUILD_TESTING=ON, at
bb5c31f34859db20407381ead08326d9ea0bb73fwith 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 verifying the current 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
d16757bbc65e97067ae591ae17f9a38ace6f512awith 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
New Features
Bug Fixes
Documentation
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T10:53:58Z.
Review: COMMENTED
Reviewed — comments
The review bundle shows the new ICU string-search path is tested on Linux and Windows by the author, but I did not run checks and the review folder requires every changed line to be read; this review is incomplete.
What I ran
Read the prepared change bundle and targeted diff hunks for string search, the host wrapper, related tests, and selected ICU integration code. The pinned head is
fe874b829b7039f05ce2e45ab2b85683c8ba1149; I ran no build or tests.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The bundle lists 30 changed files. I read the description, commits, manifest, README, and portions of the diff. I did not read all added lines in the changed files, including most CMake, break iterator, collator, data, configuration, and test changes. No excluded files were listed in the review folder;
files.jsonwas unavailable. Console behavior was not verified. Tests noted in the PR description were not run by me.To get this to a good state
Complete review of the remaining changed lines and run the relevant checks on this head before making a formal approval decision.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T08:26:22Z.
Review: COMMENTED
Actionable comments posted: 5
32241ae8-709c-4acc-ba39-e2cf462b708bReviewing files that changed from the base of the PR and between
ff5b409ddaand16c395da10..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-open.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; 2 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T08:33:27Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: retain and validate the supplied break iterator for the lifetime of each string-search handle, or reject unsupported non-null iterators.
What I ran
Reviewed head
16c395da100dbed8ca07594b5542fe8f3ad1fd1c; no build or tests were run. Read the prepared description, commits, manifest, diff, review README, and targeted repository context throughrepo_read.py.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:1212forwards the caller’s break iterator into ICU but stores only the search pattern and text inSearchState. A search opened with a non-null iterator can outlive that iterator, leaving ICU with a dangling reference; the code also does not validate that the pointer is a valid handle managed by this backend. Retain a safe reference for the handle lifetime, or reject non-null iterators until supported.Non-blocking
None.
Not verified
No tests or builds were run; author-reported Linux and Windows runs were not independently confirmed. Console ABI and behavior remain unverified as described in the change documentation. Repository context was read selectively; the full text of every changed file was not read.
files.jsonwas not available in the review bundle, so exclusions by rule were not checked. The review README lists 32 changed files; targeted reads covered the relevant implementation and tests, not every changed line.To get this to a good state
Address the break iterator lifetime and handle validation issue, then rerun the relevant Linux and Windows tests on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T09:39:23Z.
Review: COMMENTED
Actionable comments posted: 1
ed929679-5c93-4f59-be0f-a9502f46162eReviewing files that changed from the base of the PR and between
16c395da10andcccbc916ee.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; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T09:48:14Z.
Review: COMMENTED
Reviewed — comments
The implementation is plausible from the inspected diff, but this review is incomplete: I did not read every changed file or run the reported builds and tests.
What I ran
Read the prepared description, commits, manifest, and selected sections of the diff. No build or test commands were run. The review folder identifies head
cccbc916ee62f796ca487cf38851f0b7d2f1cd95and basemain.Results
Findings
Blocking
None identified in the inspected sections.
Non-blocking
None.
Not verified
I read
description.md,commits.md,manifest.json, and selected portions ofdiff.patch. The manifest lists 28 changed files, all marked included, but I did not read every changed file or all diff hunks. I did not run the Linux or Windows builds and tests reported in the description, inspect CI output, or verify console behavior.To get this to a good state
Nothing is required. The review is incomplete, so a formal approval is not justified.
Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-27T10:43:04Z.
Review: COMMENTED
Actionable comments posted: 1
70edeba0-ffe4-48d8-9465-f3093db549f0Reviewing files that changed from the base of the PR and between
cccbc916eeandce186d69e8.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; 9 remain after this review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T10:46:40Z.
Review: COMMENTED
Reviewed — comments
This review covers the string-search change and its supporting ICU data, collation, and break-iterator work; console behavior and the full build were not independently verified.
What I ran
ce186d69e8326786a7d2625c43c2620498ed1222using the pinnedrepo_read.pyreader.Results
Findings
Blocking
None verified in the reviewed code.
Non-blocking
usearch_openas implemented, but this change does not expose it through the library export dispatch: the changed inventory export and dispatch files contain no string-search entry, andExport.cppcontains no corresponding export. Confirm the intended export registration path and add it if needed.StringSearch.cpp:152.Sources
Not verified
files.jsonwas not available through the reader. No changed file was identified as excluded by rule in the manifest review.To get this to a good state
Nothing is required.
Optional: verify whether the inventory-based export system needs an entry for
usearch_open, then add the export and a dispatch-level test if it does.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:12:24Z.
Review: COMMENTED
Reviewed — comments
This review inspected the pinned change and found behavior that needs clarification before a formal approval decision.
What I ran
Reviewed head
2bf2b0105550b715d461846c84639bd4f8272745using the prepared diff and pinned reader. No build or test commands were run.Results
Findings
Blocking
None identified in the code inspected.
Non-blocking
usearch_openrejects a null locale, although ICU APIs commonly interpret a null locale as the default locale. Consider accepting null and resolving it to the configured default locale, or document this guest API behavior. Evidence:core/libs/prx/libSceIcu/StringSearch.cpp:158.Not verified
Read the prepared description, commits, manifest, diff, and full text of
StringSearch.cpp,BreakIterator.cpp,Collator.cpp, andIcuData.cmake. The manifest lists all 30 changed files as included, but the remaining changed file contents were not read; those files are excluded from this review. Build and test results were not independently verified.To get this to a good state
Nothing is required. The locale behavior is an optional point.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T11:28:56Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the optional points below are for follow-up.
What I ran
Reviewed head
db9e1fe5db640d3c1f660c39dc09dfe7e4018140. No build or tests were run; the Linux and Windows test results in the PR description are author-reported. I readdescription.md,commits.md,manifest.json,diff.patch, and the full text of every changed source file listed in the manifest. No changed files were excluded by the manifest.Results
Findings
Blocking
None.
Non-blocking
u_cleanup, so successful searches have no individual close path. The debt entry documents this limitation; consider adding cleanup coverage for multiple searches if later work identifies the close export.core/libs/prx/libSceIcu/StringSearch.cpp:185core/libs/prx/libSceIcu/BreakIterator.cpp:103Not verified
No tests or build were run for this review, and console behavior, macOS host-tool execution, and behavior on other platforms were not verified. The review covered all changed files in the manifest; none were excluded.
To get this to a good state
Nothing is required. Optional follow-up: verify the break-iterator and string-search lifecycle behavior against a console and identify whether string search has an individual close export.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T14:38:05Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this review; the points below are optional.
What I ran
Reviewed head
7e597f8e5e8c83a5aa5062b02a97f7d28dd72475and the prepared diff. No build or tests were run. The Linux and Windows test results in the PR description are author-reported.Results
Findings
Blocking
None.
Non-blocking
u_cleanup, retaining the ICU search object, pattern/text buffers, and cloned break iterator. Consider implementing theusearch_closeexport or documenting the intended lifetime. Seecore/libs/prx/libSceIcu/StringSearch.cpp:185.Not verified
The review-folder inventory lists 40 changed repository files, all marked included. I read the prepared description, commits, manifest, diff, and targeted source ranges in
StringSearch.cpp,BreakIterator.cpp,Configuration.cpp, and the string-search tests; I did not read every changed file.files.jsonwas not available by that name. Build behavior and the author-reported test runs were not independently verified.To get this to a good state
Nothing is required. Consider adding an explicit close path for registered searches.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T16:03:00Z.
Review: COMMENTED
Reviewed — comments
The ICU string search implementation and build changes were inspected at head
7f5988ebfdd3b154c620a0c0620938500973af28; no concrete blocking defect was verified, but the broad change was not reviewed completely.What I ran
No build or tests were run. I read the prepared description, commits, diff, manifest, and the changed
StringSearch.cppandStringSearchHost.cppfiles usingrepo_read.py.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The review is incomplete. Other changed files were not read, including the ICU data and CMake build changes, other ICU wrappers, tests, and documentation. No commands or tests were run. The description reports Linux and Windows test runs; these were not independently verified. All changed manifest entries were marked included; only the two named source files were read. No excluded-file list was available in the prepared review data.
To get this to a good state
Complete review of the remaining changed files and run the relevant checks before making a formal merge decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-27T20:32:33Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
fd3ca59bedc89256a7b73a34f80cb82f43957ed8. I read the prepared description, commit list, diff, manifest, and targeted source ranges. No build or tests were run in this session; the Linux and Windows test results in the description are author-reported.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
None.
Not verified
The review folder lists 39 changed files, all included. I read the changed lines in 8 files:
cmake/Icu.cmake,cmake/IcuData.cmake,cmake/IcuDataBuilder.py,cmake/icu-host/CMakeLists.txt,core/libs/prx/libSceIcu/BreakIterator.cpp,core/libs/prx/libSceIcu/BreakIterator.hpp,core/libs/prx/libSceIcu/CMakeLists.txt,core/libs/prx/libSceIcu/Collator.cpp,core/libs/prx/libSceIcu/Configuration.cpp,core/libs/prx/libSceIcu/StringSearch.cpp,core/libs/prx/libSceIcu/StringSearchHost.cpp, andcore/libs/prx/libSceIcu/tests/Data.cpp, plus selected ranges incore/libs/prx/libSceIcu/tests/StringSearch.cpp. The remaining changed lines and files were not read. No tests were run here, and behavior on a physical console was not verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-28T15:34:22Z.
Review: COMMENTED
Reviewed — comments
Changes are required before merge: fix the verified cleanup leak described below; the prepared test results are author-reported and were not independently run.
What I ran
Inspected the prepared diff at head
17ad0c08eaac38cd9e8416fbfdda824454cde5fcand targeted source context throughrepo_read.py. No build or tests were run in this review environment.Results
Findings
Blocking
core/libs/prx/libSceIcu/Configuration.cpp:164clears registered string searches before native ICU cleanup, but the new break-iterator registry incore/libs/prx/libSceIcu/BreakIterator.cpp:44retains every caller-opened iterator and has no cleanup hook. Afteru_cleanup, those guest handles remain registered and native iterators remain allocated; they can also be used after native ICU state was reset. Add break-iterator registry cleanup tou_cleanupand cover cleanup with a live iterator.Non-blocking
None.
Not verified
To get this to a good state
Add cleanup for registered break iterators and a test that verifies handles and allocations are released by
u_cleanup; then rerun the reported Linux and Windows test commands on the updated head.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T10:28:42Z.
Review: COMMENTED
Reviewed — no blocking findings
The prepared diff was reviewed at head
49a58b89c328e21778a912329efcd52ceb4a9fd6; no blocking defect was verified in the portions examined, but the review is incomplete.What I ran
No commands or tests were run. The PR description reports Linux and Windows test runs; these were not independently verified.
Results
Findings
Blocking
None verified in the portions examined.
Non-blocking
None.
Sources
Reviewed the prepared
description.md,commits.md,manifest.json, and selected portions ofdiff.patch, including the ICU data build changes, break-iterator wrapper, string-search implementation, and related test changes. Repository files were not read throughrepo_read.py.Not verified
The manifest lists 39 changed repository files; the full contents of every changed file were not read. In particular, the full test suite, build behavior, and portions of the diff not inspected remain unverified. The author-reported Linux and Windows test results were not independently confirmed.
To get this to a good state
Nothing is required. Optional: complete review of the remaining changed files and independently run the reported checks.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T10:13:07Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: preserve the incoming ICU error status on invalid input when it is already a warning.
What I ran
Reviewed head
23358a48d5e605ee8607fdc6e40d71cc31f95bf9. I read the prepared description, commits, diff, and manifest, plus the search, break iterator, build wiring, and related test code throughrepo_read.py. No build or tests were run in this review.Results
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:158-160replaces any non-failing incoming status withU_ILLEGAL_ARGUMENT_ERRORfor invalid inputs. ICU’s status convention preserves an existing warning on invalid arguments; the tests exercise this by expecting the warning value to remain unchanged (core/libs/prx/libSceIcu/tests/StringSearch.cpp:156-159calls with a warning but expectsIllegalArgument, so the test does not catch the behavior). Update the error path to setU_ILLEGAL_ARGUMENT_ERRORonly when the incoming status isU_ZERO_ERROR, and add coverage for warning input with invalid arguments.Non-blocking
None.
Not verified
No repository build or tests were run. The description reports successful Linux and Windows test runs; those results were not independently verified.
files.jsonwas not available through the reader listing, so excluded-by-rule files were not verified. The manifest and listing show the changed files as included; I read the changed search and break iterator implementations, ICU build configuration, relevant test sections, and collator implementation. I did not read every changed file or the full tests and documentation. Console behavior is also unverified, as the debt note states.To get this to a good state
Preserve incoming warning statuses for invalid
usearch_openinputs and add a regression test that checks this case. Then rerun the affected ICU test suite on the new head.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T19:05:05Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this review; the points below are optional.
What I ran
Inspected PR head
2d0a988cfa6600dd6ebebe41e9ff0eda740ad07cusing the prepared review bundle and targeted source reads throughrepo_read.py. No build or test was run.Results
Negative control
Not run; no test was run.
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Sources
Not verified
The bundle lists 44 changed files, all marked included. The full source text was read for three changed files:
StringSearchHost.cpp,BreakIterator.cpp, andDisplayKeywordValue.cpp;tests/StringSearch.cppand other sources were inspected only in part or through selected diff hunks. The remaining changed source was not reviewed in full. No build, test, or console behavior was independently verified; Linux and Windows test results are author-reported.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T01:57:16Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
usearch_openrejects a null locale, although ICU’s C API defines a null locale as a request to use the default locale.What I ran
Reviewed head
2ef3c3a5c9ad7679d37ccf23ca5755fb15b8766f; no merged-preview check or compiler and test commands were run. I inspected the prepared diff and targeted source using the pinnedrepo_read.pyreader.Results
Negative control
Not run; no tests were executed.
Findings
Blocking
core/libs/prx/libSceIcu/StringSearch.cpp:158rejectslocale == nullptrwithU_ILLEGAL_ARGUMENT_ERROR, so callers cannot request the default locale throughusearch_open. ICU documents that C API locale parameters may be null to select the default locale (ICU locale documentation); the changed guard prevents that behavior before the call reaches ICU (pinned source). Accept a null locale and resolve it using the module’s default-locale behavior.Non-blocking
None.
Sources
Not verified
I read the prepared description, commits, manifest, files list, diff, and targeted
StringSearch.cppsource; I also inspected the preparedStringSearchHost.cppand string-search test excerpts. The manifest lists 40 changed files, all underreviewed, andfiles.jsonlists none as excluded by rule. I did not inspect every changed file, run tests or a build, or verify console behavior; the remaining changed files and those checks are not verified.To get this to a good state
Accept a null locale as the default locale and add a regression test that opens a search with a null locale; review and rerun relevant checks on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T11:58:34Z.
Review: DISMISSED
Reviewed — changes requested
Changes are required before merge: remove each registered search state when its search is closed so repeated opens do not retain the search and its owned buffers until global cleanup.
What I ran
Reviewed head
d16757bbc65e97067ae591ae17f9a38ace6f512a. No merged-preview check; no compiler or tests were run. I inspected the prepared diff and source excerpts in the run folder. The pinned reader could not provide context because its attempt to log the call failed on the read-only run folder.Results
Negative control
Not run; no source mutation or test execution was performed.
Findings
Blocking
usearch_openregisters each successful state in the owningsearchesmap (core/libs/prx/libSceIcu/StringSearch.cpp:185), and the only removal path in this implementation is globalCleanup(core/libs/prx/libSceIcu/StringSearch.cpp:123-130). The retained state owns the native search, cloned break iterator, pattern, and text. Thus repeated create/close use retains resources for the lifetime of the ICU configuration; if the native search is closed elsewhere, cleanup may also close that handle again via the state destructor. Add per-handle unregister/close handling and cover repeated open-close use. Pinned sourceNon-blocking
None.
Sources
The prepared diff and included head files were used for the finding above. The source link is pinned to the reviewed head.
Not verified
No tests, builds, or console run were performed. Read in detail:
StringSearch.cpp,StringSearchHost.cpp,StringSearchHost.hpp,Configuration.cpp, andRecoveredSignatures.hpp, plus excerpts fromExport.cpp,RecoveredInventory.cpp,libSceIcu.hpp,CMakeLists.txt, andtests/StringSearch.cpp. The prepared review set lists 44 changed files, all included; the remaining changed files were not read in full.files.jsonlists no excluded files. Author-reported checks in the PR description were not run here.To get this to a good state
Add per-search close/unregister handling so closing a search releases its registered state, then run the relevant string-search tests on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T18:52:48Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete, so I cannot make a formal merge decision; the implementation and build changes need a complete review.
What I ran
Reviewed head
bb5c31f34859db20407381ead08326d9ea0bb73f. I read the prepared description, commit list, manifest, diff, and selected source files. The pinned reader could not run because it tried to write its call log in the read-only review folder. I ran no tests or builds.Results
Findings
Blocking
None verified.
Non-blocking
None verified.
Sources
The selected source review covered search opening and ownership in StringSearch.cpp at the reviewed commit, the native ICU adapter in StringSearchHost.cpp, and cleanup in Configuration.cpp.
Not verified
I read selected ranges from
StringSearch.cpp,StringSearchHost.cpp,StringSearchHost.hpp,Configuration.cpp,BreakIterator.cpp, andCollatorHost.cpp. I did not read every changed file listed as reviewed infiles.json; therefore correctness, security, and test coverage across the full change remain unverified. No repository tests, builds, or console behavior were checked. The test results in the PR description are author-reported, not runs performed in this review.To get this to a good state
Nothing is required by the findings. Optional: complete review of the remaining changed files and run relevant non-compiling checks.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:33:38Z.
Review: COMMENTED
Built the branch’s string-search sources on Linux with ICU 78.1 and ran the registered fixture’s
CheckIcuStringSearchcases directly. They passed, including the open and initialization 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.