Tidb Realtikv Runner tidb-realtikv-runner
Use when running tests under tests/realtikvtest that require a local TiUP playground lifecycle with strict startup, readiness checks, and cleanup.
Works in Claude, ChatGPT, Codex and more
- Our test
- 5/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
It identifies the right lifecycle safeguards, but omits the actual commands and depends on repository documentation not included in the skill.
Request we tested it on“How should I run TestFoo under tests/realtikvtest and make sure the local TiUP playground is cleaned up?”
Limits spotted
- Does not provide startup, readiness-check, test, or cleanup commands.
- The referenced testing-flow documentation is required to execute the workflow.
- It gives no guidance for handling startup or cleanup failures.
name: tidb-realtikv-runner description: Use when running tests under tests/realtikvtest that require a local TiUP playground lifecycle with strict startup, readiness checks, and cleanup.
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
- Choose the standard flow or
Cleanup-safe templatefromdocs/agents/testing-flow.md->RealTiKV tests (/tests/realtikvtest). - Use default
PD_ADDR=127.0.0.1:2379unless a port conflict requires--pd.portor--port-offset. - Keep the test scope narrow (
-run <TestName>and target subdir only). - If failpoints are needed, enable before tests and disable afterward.
- Verify teardown by confirming the PD endpoint is unreachable after cleanup.