Skip to content
Kitbay
Skill

fix-sync

Apache-2.0Updated on Nov 11, 202650,877GitHub stars

A maintainer skill in the ClickHouse repository for fixing the CH Inc sync status check on a public pull request.

What the skill teaches

A maintainer skill in the ClickHouse repository for fixing the CH Inc sync status check on a public pull request. That check follows a matching pull request in ClickHouse's private repository, which merges the public change with private master and runs private CI. The agent finds the sync pull request with gh, reads the status to tell merge conflicts, build failures and test failures apart, and finds a local clone of the private repository. It then merges and resolves conflicts, mostly in favour of the upstream change, adapts private code to a changed upstream API with help from a subagent reading the build log, or reruns flaky jobs, and pushes only after asking about a local build.

Capabilities

  • Find the private sync pull request for a public one
  • Resolve merge conflicts with private master
  • Adapt private code after an upstream API change
  • Rerun flaky private CI jobs