Skip to content
Kitbay
Skill

tidb-verify-profile

Apache-2.0Updated on Nov 11, 202640,730GitHub stars

A contributor skill in the TiDB repository that decides which checks to run for a change, following the validation matrix in the project's AGENTS.md.

What the skill teaches

A contributor skill in the TiDB repository that decides which checks to run for a change, following the validation matrix in the project's AGENTS.md. It defines three profiles: a work-in-progress profile with the smallest targeted Go tests during coding, a ready profile for delivery or a pull request that runs the checks each change type requires, including make lint whenever code changed and regression evidence for bug fixes, and a heavy profile for expensive checks such as tests against a real TiKV cluster only when the scope or the user calls for them. Checks already run are reused unless later changes invalidate them, and the choice follows the change type rather than how the status is worded.

Capabilities

  • Map changed files to required checks
  • Run targeted Go tests while coding
  • Run lint and regression checks before delivery
  • Reserve heavy tests for when they are required