From ca3b059a62c10c42392470157e12b26fdf5d91cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Wed, 30 Sep 2026 15:04:50 +0200 Subject: [PATCH] Move CI job grouping into lib The status chip's grouping, dedupe and summary rules were untested inside the component, and a wrong CI status is very visible. --- src/components/JobCob.svelte | 164 ++--------------------------- src/lib/ciJobs.ts | 161 ++++++++++++++++++++++++++++ tests/unit/ciJobs.test.ts | 197 +++++++++++++++++++++++++++++++++++ 3 files changed, 366 insertions(+), 156 deletions(-) create mode 100644 src/lib/ciJobs.ts create mode 100644 tests/unit/ciJobs.test.ts diff --git a/src/components/JobCob.svelte b/src/components/JobCob.svelte index 0774962ed..c77efd370 100644 --- a/src/components/JobCob.svelte +++ b/src/components/JobCob.svelte @@ -1,12 +1,15 @@