Repository navigation
Conversation
|
Verified: No actionable issue found in the tested scope at
The head regression test fails against the previous helper. Separate call traces confirm scale ordering and temporary-snapshot cleanup. Matching remains case-insensitive and literal, not fuzzy. Review informationTest scope: Baseline/head source inspection and deterministic helper tests with substituted capture/OCR commands; additional real Tesseract testing used synthetic images. No live compositor, VM, or full desktop acceptance run was performed. The reported overlay reproductions and 68-second suite result were not independently verified. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra initial inspection, independent Fable 5.1 and separate Astra reviews, followed by verification of claims against targeted evidence. |
|
Reviewed at What ran, on a disposable Omarchy VM with a live desktop:
Read, not run: the full graphical acceptance suite. I checked the loop by reading it: it tries native then 2×, deletes the snapshot on every path, and only returns success on a literal, case-insensitive match. Joining OCR lines does mean a phrase could match across two adjacent text blocks. For the short labels the existing callers look for, that trade is worth the false failures it removes. Second opinion: none. Codex Medium answers its health check, but omabot's daily review budget was used up, so this is one reviewer's reading (Claude Opus 5.5). Related: #11032 changes This now waits on the maintainer. The PR has no CI run and still needs a second-opinion review before it can be called ready. |
screen_contains must not pass when tesseract itself fails, and must remove its snapshot whether or not the text was found. Both checks come from omacom#16028's acceptance-ocr-test.sh, folded in here in this file's stub style. The failing tesseract stub still prints the phrase, and the check runs under pipefail as every acceptance caller does, so it fails if the helper ever stops honouring tesseract's exit status; a stub that printed nothing would pass on the missing text alone. The cleanup check runs straight after a match and straight after a miss, so a missing rm on either path is caught rather than masked by a later call reusing the same path. Co-Authored-By: GBerfield <89108862+Gberfield@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
I pushed one commit here, bc2c866, which adds two checks to
What ran, on a disposable Omarchy VM, at bc2c866 merged with current
Read, not run: the graphical acceptance suite. Joining OCR lines still means a phrase could match across two adjacent text blocks, as noted before. That is a trade-off for the maintainer, not a defect. Second opinion: Codex Medium reviewed the whole pull request in two rounds. In the first round it found that my first draft of the OCR-failure check could never fail, because the stub printed nothing and this test file does not run under Related: #16028 changes the same helper to try 2× before native and keeps line-by-line matching, which misses phrases split at both resolutions that this one catches. Its checks are now part of this pull request. #11032 and #7406 also change This is verified at bc2c866 and now waits on the maintainer. It is not marked ready because |
[Low impact] This PR appears safe to merge; no actionable issues were found. SummaryUpdates
Reviews (1) · Last reviewed commit: "test: check that OCR errors fail and cap..." · Reviewed by Greptile |
|
Additional Weather reproduction supporting this older PR, carried over from #16028: #16028 (comment). That retained offline replay used real Tesseract 5.5.3 with native/2× Weather captures. The unchanged upstream helper missed the visible I have now checked Whitespace normalization's possible cross-block phrase match remains the documented trade-off for maintainer review. This comment does not claim a fresh full graphical-suite pass. |
|
The remaining reminder OCR failure is a segmentation issue: the retained failure image visibly contains “Reminder message”, but real Tesseract PSM 11 omits it. PSM 3 recognizes it. A follow-up tries PSM 3 on the same capture after PSM 11, at each existing native/doubled scale; matching, capture cleanup and capture-error behavior remain unchanged. The proposed follow-up branch rebases this PR's two original commits onto upstream Evidence:
No production focus change, fresh-ISO/full graphical-suite or physical acceptance is claimed. The whitespace normalization trade-off already documented on this PR remains. Keep this PR open and unmerged. |
Desktop acceptance checks can report a missing prompt even when it is clearly visible. Tesseract's sparse-text output sometimes splits “Reminder message” across lines; capturing at double resolution can also distort text that reads correctly at native resolution, as happened with “Acceptance notification”. The previous helper searched for a phrase on one output line and always captured at 2× scale.
Normalize OCR whitespace before matching and try native resolution first, with a 2× fallback for small captions. Matching still requires the requested words; there is no fuzzy matching or change to the desktop UI.
Validation
quattro. That local ISO omitted an unavailable Apple T2 firmware package for QEMU testing.git diff --checkpass.This is a standalone test-infrastructure fix, separate from #9596's mise changes.
AI-assisted — Tool: Codex; model: openai/unavailable; version: unavailable.