luplo.core.checks.rules.unresolved_conflict

Flag conflicts edges that have been open for more than 30 days.

A conflicts edge records that two decisions disagree. The expected resolution is a supersede on one side — the older decision replaced by a new row that reconciles them. If neither side has been superseded thirty days after the edge was created, the conflict is rotting: the team is living with both rules in force and someone will eventually guess which one wins.

Attributes

Functions

check(→ list[luplo.core.checks.types.Finding])

Module Contents

luplo.core.checks.rules.unresolved_conflict.NAME = 'unresolved_conflict'
luplo.core.checks.rules.unresolved_conflict.DEFAULT_SEVERITY = 'warn'
luplo.core.checks.rules.unresolved_conflict.DESCRIPTION = "Pairs connected by a conflicts edge where neither side has been superseded within 30 days of...
luplo.core.checks.rules.unresolved_conflict.STALE_AFTER_DAYS = 30
async luplo.core.checks.rules.unresolved_conflict.check(conn: psycopg.AsyncConnection[Any], project_id: str) list[luplo.core.checks.types.Finding]
luplo.core.checks.rules.unresolved_conflict.RULE