CtrlK
BlogDocsLog inGet started
Tessl Logo

tidb-failpoint-test-runner

Use when running TiDB package tests and deciding whether failpoint enable/disable is required before and after the test command.

75

0.96x
Quality

62%

Does it follow best practices?

Impact

96%

0.96x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./.agents/skills/tidb-failpoint-test-runner/SKILL.md
SKILL.md
Quality
Evals
Security

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:
    • Failpoint-enabled run when the package matches the failpoint checks.
    • Unit tests (/pkg/...) when it does not.
  3. Keep the run targeted with -run <TestName>; for Bazel-specific variants, see the Bazel notes in docs/agents/testing-flow.md -> Failpoint-enabled run.
  4. Record the decision evidence and exact test command in the final report.
Repository
pingcap/tidb
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.