You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lens header with a full-width colon (U+FF1A) is silently no lens report #989
A lens report whose header uses the full-width colon : (U+FF1A) instead of : is not read as a lens report at all. Take a header like lens: code · reviewer: a · read at: <40-hex sha> with blocker: none and major: none below it. The gate (lens.py) and T3's copy (apps/server/src/fork/reviewRules/lensComment.ts) do not read it as a header. They do not see the lens marker either, and they do not count it as a look-alike. So the comment silently counts for nothing: it neither reads nor blocks, and no summary row names it.
This is old behaviour. It is the same on main and was not changed by #865. Found in a review of PR #983.
When the header mixes the two colons, for example lens: with a plain read at: and a sha, the marker is seen. The comment then blocks as a broken report.
Possible fix: fold U+FF1A to : in norm_line (Python) and normLine (TS) before the header and marker rules read a line. The fuller option is to apply NFKC normalisation there, as the findings rules already do. Add the case to the shared vectors (fork-ci/actions/pr-queue/review.vectors.json), so both languages are held to the same answer.
Activity
fix(#989): read lens lines in NFKC so a full-width colon header counts (