CtrlK
BlogDocsLog inGet started
Tessl Logo

tidb-realtikv-runner

Use when running tests under tests/realtikvtest that require a local TiUP playground lifecycle with strict startup, readiness checks, and cleanup.

80

1.09x
Quality

70%

Does it follow best practices?

Impact

100%

1.09x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

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

TiDB RealTiKV Runner

Overview

Use this skill for test targets under tests/realtikvtest/**. Always start playground in the background, verify readiness, run scoped tests, then clean up process and data. Canonical command details live in docs/agents/testing-flow.md -> RealTiKV tests (/tests/realtikvtest).

Workflow Checklist

  1. Choose the standard flow or Cleanup-safe template from docs/agents/testing-flow.md -> RealTiKV tests (/tests/realtikvtest).
  2. Use default PD_ADDR=127.0.0.1:2379 unless a port conflict requires --pd.port or --port-offset.
  3. Keep the test scope narrow (-run <TestName> and target subdir only).
  4. If failpoints are needed, enable before tests and disable afterward.
  5. Verify teardown by confirming the PD endpoint is unreachable after cleanup.
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.