Skip to content

Epic: Testing Infrastructure & Strategy Overhaul #726

Closed
4 of 13 issues completed
Closed

Description

@planetf1

Epic: Testing Infrastructure & Strategy Overhaul

Agreed outcomes from Discussion #711 and the 2026-03-23 planning call with @ajbozarth, @planetf1, @jakelorocco, and @avinash2692. cc @psschwei for further planning, @avinash2692 regarding Bluevela nightlies.

Key Decisions

Two-dimensional marker taxonomy — granularity (unit, integration, e2e, qualitative) x backend (ollama, huggingface, vllm, openai, watsonx, litellm, etc.), plus resource markers (requires_gpu, requires_heavy_ram, requires_gpu_isolation).

Tier Trigger Budget What runs
Pre-commit Every commit <60s Lint + type checking only
Local dev Ad-hoc <5 min All tests matching available backends/resources
PR CI Every push <15 min Unit + integration + Ollama e2e
Nightly CI Scheduled ~60 min Every test, no exceptions (Bluevela, full GPU)
Pre-release Manual ~90 min Manual trigger of nightly suite

Principles: split e2e into integration + e2e pairs (don't just downgrade); parametrise across backends; fix root causes over workarounds; catalog minimal default models with overrides; scope covers both tests and examples; docs updated with every change.

Work Items

# Issue Summary
1a #727 Granularity marker taxonomy and tiered timeouts
1b #728 Backend & resource marker audit (children: #622, #539, #629, #634)
2a #729 Split e2e tests into integration + e2e pairs
2b #730 Parametrise and consolidate backend-specific tests
3a #731 Environment diagnostic, pre-flight checks & reporting (children: #574, #349)
3b #732 Model consolidation and flexibility (children: #359)
4 #733 CI parallelisation and dynamic test selection (see also #451)
5 #734 On-demand nightly test runs for PRs
6 #735 Semantic assertions & recording for qualitative tests (children: #692)
7 #736 Backend resource cleanup post-PR #721
8 #737 Test results & coverage reporting
9 #738 Notebook testing (children: #89)
10 #739 Pre-commit & type checking (children: #456)
11 #813 Test coverage improvement (children: #812)

Related Issues

Expected to close with PR #721 (cleanup_gpu_backend()): #630, #625, #620, #699. Residual cleanup tracked in #736.

Flaky tests — addressed by #735 (semantic assertions): #398, #384, #628, #684, #121.

Not in scope: #691, #496, #347, #267 — remain standalone.

Sub-issues

Sub-issues

4 of 13 Issues completed
Loading 13 sub-issues

Activity

  1. added
    epic
    on Mar 24, 2026
  2. ajbozarth commented on Mar 24, 2026

    @ajbozarth
    Member

    Local dev | Ad-hoc | <5 min | All tests matching available backends/resources

    "<5 min" isn't quite right here, it would match CI at 15min or higher depending on the users resources unless they limit what tests run (which is what you may have meant with this estimate)

  3. psschwei commented on Mar 24, 2026

    @psschwei
    Contributor

    One clarification question: does "test" here refer to just the actual test files, or are we including docs/examples/ in there too?

  4. ajbozarth commented on Mar 24, 2026

    @ajbozarth
    Member

    One clarification question: does "test" here refer to just the actual test files, or are we including docs/examples/ in there too?

    It should include examples, but it may be worth adding an example mark that. is a subset of e2e similar to how qualitative is. We could even make all files in the examples directory automatically have the mark to make it easier for editing.

  5. planetf1 commented on Apr 14, 2026

    @planetf1
    ContributorAuthor

    Added #853 — test strategy document covering classification, authoring guide, and CI pipeline map. Markers guide is in scope for rename/consolidation as part of that work.

  6. added
    area/backends
    on May 20, 2026
  7. added
    p1
    on Jun 18, 2026
  8. added
    p2
    and removed
    p1
    on Aug 10, 2026
  9. removed
    area/backends
    on Oct 5, 2026
  10. planetf1 commented on Oct 5, 2026

    @planetf1
    ContributorAuthor

    Closing the epic — the children stand on their own.

    State at closure (verified against main, 2026-10-05):

    Closed (5): #727 (marker taxonomy), #728 (marker audit), #813 (coverage improvement), #736 (resource cleanup post-#721), #738 (notebook testing — nbmake/CI via PR #1649).

    Open (9), each tracked independently with its own priority and work items:

    The epic's decisions (marker taxonomy, tier budgets, principles) remain valid and are recorded in test/README.md; this issue no longer tracks active work. If the cluster is ever picked up as a program again, reopen or start a fresh umbrella.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicp2testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions