Closed Bug 1521601 Opened 7 months ago Closed 5 months ago

[checks] Enable custom ("pontoon") checks to skip the DB

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: codewithaniruddha)

References

Details

Currently we store all failed checks coming from compare-locales and pontoon "libraries" in the DB through the DB_LIBRARIES variable:
https://github.com/mozilla/pontoon/blob/master/pontoon/checks/__init__.py

That's turning out to be problematic in bug 1514691, where we're adding a new custom ("pontoon") check, but we don't want translations that fail this check to show up on dashboards as warnings:
https://github.com/mozilla/pontoon/pull/1172#issuecomment-456187622

Hence, we should add a more granular way of determining which (custom) failed check gets stored in the DB.

Assignee: nobody → codewithaniruddha
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.