Skip to content

Python design partners wanted: try DiffCI on your pytest repository #75

Closed as not planned

Description

@adityankale190895

DiffCI 0.3.33 selects the pytest tests a change affects, so AI coding agents and people can run just those before pushing. Required CI is never skipped. We're looking for a few teams with a real Python codebase to try it and tell us where it's wrong.

What it handles today

  • pytest in a flat or src/ layout, with discovery following your python_files setting
  • file-level imports from Python's own ast module, resolved against src/ layouts and pyproject packages
  • a changed conftest.py selects every test under its directory
  • when DiffCI isn't sure (computed importlib imports, files a build step generates, unparseable files, a changed pyproject.toml or requirements.txt), it runs the full suite and says why

Try it (5 minutes, runs locally, sends nothing):

npx --yes @diffci.com/[email protected] check --base origin/main --head HEAD

To measure it against your full suite over time, use the scheduled check-plan example. It reports any failure the selection would have missed.

What a design partner gets

  • direct help setting it up, and fixes for the cases that matter to your repository first
  • a say in what's next: Ruff/Tach import maps, coverage.py contexts, monorepo layouts

What we ask

  • run it on real changes for a few weeks and share the reports, or just the fallback reasons if your code is private
  • tell us every time it selected too little or fell back when it shouldn't have

Comment below or email [email protected]. Public repositories we can replay are especially welcome.

Follows #61.

Activity

  1. added
    enhancement
    help wanted
    on Nov 7, 2026
  2. adityankale190895 commented on Nov 23, 2026

    @adityankale190895
    MemberAuthor

    Merged into #86, which is now the one design-partner issue for every stack, Python included. If you run a pytest codebase, please comment there.

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

    adapterenhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions