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.
View on GitHub ↗
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

  1. Use docs/agents/testing-flow.md -> Failpoint decision for unit tests to decide whether the package needs failpoint enablement.
  2. Run the matching command set from docs/agents/testing-flow.md:
  3. Failpoint-enabled run when the package matches the failpoint checks.
  4. Unit tests (/pkg/...) when it does not.
  5. Keep the run targeted with -run <TestName>; for Bazel-specific variants, see the Bazel notes in docs/agents/testing-flow.md -> Failpoint-enabled run.
  6. Record the decision evidence and exact test command in the final report.