Skip to content

Commit b4c96b2

Browse files
committed
fixup! feat: Change queries to use lab column information
Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
1 parent 7a29008 commit b4c96b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/kernelCI_app/queries/notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def get_metrics_data(
930930
lab_summary_query = """
931931
SELECT
932932
-- TODO remove misc->>'runtime' fallback after lab backfill
933-
COALESCE(l.name, t.misc->>'runtime', t.origin) AS lab,
933+
COALESCE(l.name, t.misc->>'runtime') AS lab,
934934
COUNT(DISTINCT t.build_id) AS n_builds,
935935
COUNT(*) FILTER (WHERE t.path LIKE 'boot.%%' OR t.path = 'boot') AS n_boots,
936936
COUNT(*) FILTER (WHERE t.path NOT LIKE 'boot.%%' AND t.path != 'boot') AS n_tests

0 commit comments

Comments
 (0)