本文へスキップ
Kitbay
スキル

tidb-failpoint-test-runner

Apache-2.02026年11月11日 更新40,730GitHubスター

A maintainer skill in the TiDB repository for running Go package tests under pkg/ and deciding whether failpoints must be enabled before the test command and disabled after it.

スキルの内容

A maintainer skill in the TiDB repository for running Go package tests under pkg/ and deciding whether failpoints must be enabled before the test command and disabled after it. It points out that the intest and deadlock build tags do not turn failpoints on, and sends the agent to the failpoint decision section of the repository's testing-flow guide for exact commands. The agent decides from that guide whether the package needs failpoints, picks either the failpoint-enabled or the plain unit-test command set, narrows the run to named tests, with separate notes for Bazel, and reports both the evidence for its decision and the exact command it ran.

できること

  • Decide whether a test run needs failpoints
  • Pick the right TiDB test command set
  • Run only the named tests