I built siftwise: run only the tests your change needs (open source, self-hosted)
说明与用途
siftwise 通过仅运行受影响的测试来缩短测试时间,提供安全回退和错误分类。
问题
CI runs all 18,000 tests for every pull request, causing slow feedback when only a single file changes.
结果
siftwise reduces test execution time by running only relevant tests, provides safe fallbacks, and offers failure triage and shadow comparison.
工作流
- Start the siftwise server with Docker Compose
- Install the siftwise CLI via uv or pip
- Configure SIFTWISE_API_TOKEN and SIFTWISE_SERVER environment variables
- Record a full test run on main to build history
- Make a change and use siftwise select to determine affected tests
- Run the selected tests
- Upload JUnit results to the server
- Review failure triage and shadow compare in CI
证据
CI is now running all 18,000 tests again.
siftwise looks at your diff, works out which tests could be affected, runs only those, and falls back to the full suite whenever it isn't sure
You need: Docker (with Docker Compose) for the server, git, uv (or pip / pipx) for the CLI; Python 3.11+
- 记录日期: 2026-10-21T08:56:09.973Z