From a4bb612e79155638e986fa5431467f302807e930 Mon Sep 17 00:00:00 2001 From: Stephen Aylward Date: Fri, 7 Aug 2026 06:24:50 -0400 Subject: [PATCH 1/2] ENH: Disable AI running --run-slow tests since take too long --- AGENTS.md | 3 +++ CLAUDE.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 00bb4dc..970750b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -153,6 +153,9 @@ graphify update . # refresh after code changes (AST-only, no API c Slow, GPU, Simpleware, experiment, and tutorial tests are auto-skipped unless their opt-in flag is passed. +- Agents must never run pytest with `--run-slow` or `--run-all`; those runs take + far too long for an interactive session. Run the fast suite and leave the + opt-in buckets for the user to invoke. - Query the graphify knowledge graph (`graphify query ""`) to locate classes, methods, and signatures before searching manually. - Do not commit changes or make pull requests unless specifically told to do so. diff --git a/CLAUDE.md b/CLAUDE.md index 990efcd..55c8391 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -136,6 +136,9 @@ came from. - Markers (all opt-in via `--run-`): `slow`, `requires_gpu`, `requires_simpleware`, `experiment`, `tutorial`. Data-dependent tests no longer use a marker — they pull data through fixtures and run by default. +- **Never run `pytest` with `--run-slow` (or `--run-all`).** Those runs take far + too long for an interactive session. Run the fast suite and let the user + invoke the slow buckets themselves. - Prefer images from `ROOT/data/test/slicer_heart_small` for tests - Prefer storing results in subdirs `./results/` From fe76d8d220f94fa0374e5f68738aeacce3744ae1 Mon Sep 17 00:00:00 2001 From: Stephen Aylward Date: Fri, 7 Aug 2026 13:14:13 -0400 Subject: [PATCH 2/2] ENH: Clarify wording --- AGENTS.md | 6 +++--- CLAUDE.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 970750b..3e87f4d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -153,9 +153,9 @@ graphify update . # refresh after code changes (AST-only, no API c Slow, GPU, Simpleware, experiment, and tutorial tests are auto-skipped unless their opt-in flag is passed. -- Agents must never run pytest with `--run-slow` or `--run-all`; those runs take - far too long for an interactive session. Run the fast suite and leave the - opt-in buckets for the user to invoke. +- Do not run pytest with `--run-slow` or `--run-all` unless the user explicitly + asks; those runs take far too long for an interactive session. Default to the + fast suite and leave the opt-in buckets for the user to invoke. - Query the graphify knowledge graph (`graphify query ""`) to locate classes, methods, and signatures before searching manually. - Do not commit changes or make pull requests unless specifically told to do so. diff --git a/CLAUDE.md b/CLAUDE.md index 55c8391..177bf2d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -136,9 +136,9 @@ came from. - Markers (all opt-in via `--run-`): `slow`, `requires_gpu`, `requires_simpleware`, `experiment`, `tutorial`. Data-dependent tests no longer use a marker — they pull data through fixtures and run by default. -- **Never run `pytest` with `--run-slow` (or `--run-all`).** Those runs take far - too long for an interactive session. Run the fast suite and let the user - invoke the slow buckets themselves. +- **Avoid `pytest --run-slow` (or `--run-all`) unless the user explicitly + requests it.** Those runs take far too long for an interactive session. + Default to the fast suite and let the user invoke the slow buckets. - Prefer images from `ROOT/data/test/slicer_heart_small` for tests - Prefer storing results in subdirs `./results/`