Closed Bug 1605350 Opened 6 years ago Closed 6 years ago

BMO_CHECK hook is too aggressive about matching bug numbers

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1605656

People

(Reporter: jgraham, Assigned: zeid)

References

Details

The wptsync bot just tried to make a try push involving a commit that originated in Chrome with a line like

Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958692

https://hg.mozilla.org/try/rev/3d36f1bacaf32fdf776f73218557e1b3004526cb

This was rejected for 1958692 not being a valid bug number.

This is pretty common in wpt sync PRs; we get references to bug numbers in other systems that therefore aren't gecko bug numbers. In the short term I'm going to have to add SKIP_BMO_CHECK to all the commits that the sync pushes, which isn't ideal.

If we could just verify the bug at the start of the summary is valid and that anything with a bmo link is a valid bug number, that would avoid this kind of annoying false-positive.

Assignee: nobody → zeid

Looks like we might be hitting the same problem as in bug 1482236. Maybe we're matching too liberally on whitespace for that regular expression?

See Also: → 1482236

Marking this as duplicate of bug 1605656, as both will be solved with the same solution.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.