From e6918a9be999178a245b0a868cf5afb235a61177 Mon Sep 17 00:00:00 2001 From: emil Date: Tue, 23 Jun 2026 20:47:42 +0000 Subject: [PATCH] GRM-74: fix: lower test speed threshold to 4s and update devx to v0.8.2 --- .gitea/workflows/ci.yml | 2 +- .taskid | 2 +- Makefile | 2 +- hooks/pre-commit | 2 +- hooks/pre-push | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cdefe74..66dd005 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: PYTHONPATH: src run: | . .venv/bin/activate - python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5 + python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5 - name: Dependency security scan run: | . .venv/bin/activate diff --git a/.taskid b/.taskid index e087b61..2b996c8 100644 --- a/.taskid +++ b/.taskid @@ -1 +1 @@ -GRM-73 +GRM-74 diff --git a/Makefile b/Makefile index 7e2a282..d5879fb 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ all: setup # Pinned devx version — update this when upgrading devx. # All workflow files (.gitea/workflows/*.yml) must be updated to match. -DEVX_VERSION := v0.7.0 +DEVX_VERSION := v0.8.2 install-devx: $(VENV)/bin/activate @# REPO_TOKEN may come from .env (local) or environment (CI secrets) diff --git a/hooks/pre-commit b/hooks/pre-commit index 8ae394f..c5ddc14 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -3,4 +3,4 @@ # Checks both total suite time (10s) and per-test time (0.5s). # Aligned with CI (ci.yml uses same thresholds). set -e -python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5 +python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5 diff --git a/hooks/pre-push b/hooks/pre-push index 698e1ed..3565c2c 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -3,4 +3,4 @@ # Checks both total suite time (10s) and per-test time (0.5s). # Aligned with CI (ci.yml uses same thresholds). set -e -python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5 +python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5