From 6f7ced1a1953d5145227ee7c16cccc4013e366c3 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Thu, 2 Apr 2026 23:17:49 +0000 Subject: [PATCH] ci(pipeline): parallelize lint, typecheck, security, and quality jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lint, typecheck, security, and quality static analysis jobs already run in parallel (no needs dependencies between them). However, downstream jobs only gated on a subset of these jobs, allowing the pipeline to proceed even when some static analysis checks failed. Updated needs dependencies for downstream jobs: - coverage: [lint, typecheck] → [lint, typecheck, security, quality] - benchmark-regression: [lint, typecheck] → [lint, typecheck, security, quality] - docker: [lint, typecheck, unit_tests, security] → [lint, typecheck, security, quality, unit_tests] All four static analysis jobs (lint, typecheck, security, quality) now run in parallel and all downstream jobs correctly gate on the full set, ensuring no job proceeds unless all static analysis checks pass. ISSUES CLOSED: #1536 --- .forgejo/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 712a8231..0b905b34 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -268,7 +268,7 @@ jobs: runs-on: docker container: image: python:3.13-slim - needs: [lint, typecheck] + needs: [lint, typecheck, security, quality] steps: - name: Install system dependencies (nodejs for checkout, git for merge tests) run: | @@ -336,7 +336,7 @@ jobs: runs-on: docker-benchmark container: image: python:3.13-slim - needs: [lint, typecheck] + needs: [lint, typecheck, security, quality] steps: - name: Install system dependencies (nodejs for checkout, git for merge tests) run: | @@ -467,7 +467,7 @@ jobs: NOX_DEFAULT_VENV_BACKEND: uv docker: - needs: [lint, typecheck, unit_tests, security] + needs: [lint, typecheck, security, quality, unit_tests] runs-on: docker container: image: docker:dind