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
Fix scripts/pr_review.py reply --match Cannot Select a Thread Whose Body Uses Typographic Quotes #1299: pr_review.py reply --match cannot select a thread whose body uses typographic punctuation. In scripts/pr_review.pymatching_threads(), normalise both the --match pattern and each candidate body before the substring compare, folding at least the typographic single and double quotes, the en and em dashes, and the ellipsis to their ASCII equivalents. Keep the refusal design unchanged: no match and more than one match still refuse. The issue's secondary suggestion, saying on NO_MATCH how many unresolved threads the pull request has, is in scope where it stays small. Done looks like a test in scripts/tests/test_pr_review.py selecting a thread whose body carries typographic quotes from an ASCII pattern and the reverse, failing when the normalisation is reverted, and a pull request into develop carrying Closes on promotion: #1299.
External blockers
None known at pick time.
Internal dependencies
None.
State
Created by an unattended-handoff picker at scope develop. No branch, worktree, or pull request exists for this lane yet.
Re-derive matching_threads() and its callers from origin/develop rather than trusting this summary.
The parked decision queue
Empty for this lane.
What the last round did
Nothing on this lane yet. The picker chose #1299 as a correctness defect in a script every review loop runs, with its fix stated in the issue and no open choice.
Next steps, in priority order
pr_review.py reply --matchcannot select a thread whose body uses typographic punctuation. Inscripts/pr_review.pymatching_threads(), normalise both the--matchpattern and each candidate body before the substring compare, folding at least the typographic single and double quotes, the en and em dashes, and the ellipsis to their ASCII equivalents. Keep the refusal design unchanged: no match and more than one match still refuse. The issue's secondary suggestion, saying onNO_MATCHhow many unresolved threads the pull request has, is in scope where it stays small. Done looks like a test inscripts/tests/test_pr_review.pyselecting a thread whose body carries typographic quotes from an ASCII pattern and the reverse, failing when the normalisation is reverted, and a pull request into develop carryingCloses on promotion: #1299.External blockers
None known at pick time.
Internal dependencies
None.
State
unattended-handoffpicker at scope develop. No branch, worktree, or pull request exists for this lane yet.matching_threads()and its callers fromorigin/developrather than trusting this summary.The parked decision queue
Empty for this lane.
What the last round did
Nothing on this lane yet. The picker chose #1299 as a correctness defect in a script every review loop runs, with its fix stated in the issue and no open choice.
What not to repeat
Nothing yet.
New learnings
None yet.