Zum Inhalt springen
Kitbay
Skill

close-flaky-issues

Apache-2.0Aktualisiert am 11. Nov. 202650.877GitHub-SterneKann Daten ändern

A maintainer skill in the ClickHouse repository for clearing out open issues labelled flaky test.

Was der Skill vermittelt

A maintainer skill in the ClickHouse repository for clearing out open issues labelled flaky test. The agent lists them with the GitHub CLI, pulls each test name, and runs one query against the public CI checks table on play.clickhouse.com to count failures on master over the last 90, 30, 14 and 7 days. Tests with no failures in the chosen window, 14 days by default, become close candidates; for those it searches master's git history for a likely fixing commit. It prints a table, then closes each candidate with a comment citing the full commit hash or the failure-free period, never editing bodies or labels. A dry-run argument stops after the table, since otherwise it does not wait for approval.

Funktionen

  • List open flaky-test issues
  • Count a test's CI failures on master
  • Find the commit that likely fixed a test
  • Close issues with an evidence comment