Tidb Failpoint Test Runner tidb-failpoint-test-runner
Use when running TiDB package tests and deciding whether failpoint enable/disable is required before and after the test command.
Works in Claude, ChatGPT, Codex and more
- Our test
- 6/10
- tested Dec 6, 2026
- GitHub stars
- 41k
- pingcap/tidb
- Added by
- 0
- members
- Updated
- Dec 6
- commit 86e528b
- Content
- 1 file
- no scripts · 1 KB
- License
- Apache 2.0
- free to use
What our test found
The workflow is clear and includes useful cautions, but its core decision criteria and commands depend on documentation outside the skill.
Request we tested it on“How should I run TestFoo in a TiDB package under pkg, and how do I know whether to enable failpoints?”
Limits spotted
- Does not include the failpoint checks or command templates, so it cannot be applied independently.
- The exact report format is unspecified.
name: tidb-failpoint-test-runner description: Use when running TiDB package tests and deciding whether failpoint enable/disable is required before and after the test command.
TiDB Failpoint Test Runner
Overview
Follow this workflow before running package tests under pkg/.... -tags=intest,deadlock does not enable failpoints. Canonical command details live in docs/agents/testing-flow.md -> Failpoint decision for unit tests.
Workflow
- Use
docs/agents/testing-flow.md->Failpoint decision for unit teststo decide whether the package needs failpoint enablement. - Run the matching command set from
docs/agents/testing-flow.md: Failpoint-enabled runwhen the package matches the failpoint checks.Unit tests (/pkg/...)when it does not.- Keep the run targeted with
-run <TestName>; for Bazel-specific variants, see the Bazel notes indocs/agents/testing-flow.md->Failpoint-enabled run. - Record the decision evidence and exact test command in the final report.