From 75dd4ee6dcac7d7bcacc46f5ce4fea2916ceda82 Mon Sep 17 00:00:00 2001 From: Claude BM Date: Wed, 22 Apr 2026 08:27:21 +0000 Subject: [PATCH] Show feature tags instead of suite name in CI notifications Lists all feature tags present in the tested files (e.g. genlab, optimizer, scheduling) and how many tests were not in scope. Co-Authored-By: Claude Opus 4.6 (1M context) --- ci-runner.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci-runner.sh b/ci-runner.sh index d559c4e..6f7011e 100755 --- a/ci-runner.sh +++ b/ci-runner.sh @@ -138,9 +138,13 @@ fi # ─── Results ─── END_TIME=$(date +%s) DURATION=$((END_TIME - START_TIME)) -SUITE_TAG="light" SUMMARY="${PASS_COUNT} passed, ${FAIL_COUNT} failed, ${SKIP_COUNT} skipped" -SUITE_INFO="Suite: ${SUITE_TAG} | ${DESELECTED_COUNT} tests not in suite" + +# Collect which feature tags were present in tested files +TAGS_USED=$(grep -rhoP 'pytest\.mark\.\K\w+' "$WORKTREE/backend/tests/test_"*.py 2>/dev/null | \ + sort -u | grep -vxE 'skipif|skip|parametrize|fixture|unit|integration|pipeline|e2e|slow|heavy' | \ + tr '\n' ', ' | sed 's/,$//') +SUITE_INFO="Tags: ${TAGS_USED} | ${DESELECTED_COUNT} not in scope" echo "" echo "========================="