Update wehago matching logic and exclude reports
This commit is contained in:
@@ -395,9 +395,10 @@ def _latest_query_projection_signature(conn: sqlite3.Connection) -> str | None:
|
||||
AND end_year = ?
|
||||
AND signature LIKE ?
|
||||
AND signature NOT LIKE '%|snapshot-recheck-promote|%'
|
||||
AND signature NOT LIKE '%|db-reconciled-%'
|
||||
GROUP BY signature
|
||||
HAVING status_count >= 5
|
||||
ORDER BY updated_at DESC
|
||||
ORDER BY status_count DESC, updated_at DESC
|
||||
LIMIT 1
|
||||
""",
|
||||
(TARGET_START_YEAR, TARGET_END_YEAR, f"{QUERY_PROJECTION_VERSION}|%"),
|
||||
|
||||
Reference in New Issue
Block a user