starrocks-upgrade
Installation
SKILL.md
StarRocks Upgrade Skill
Compares two local branches of a StarRocks repository to identify upgrade risks. Four-phase analysis: data collection, per-commit diff analysis, deep impact investigation, and report synthesis. Runs 11 scanners + per-commit diff tier classification for comprehensive compatibility checking with unified impact assessment.
Requires local StarRocks source code. This tool operates entirely on local git history — no network calls needed (except optional --fetch-prs).
Prerequisites
- Python 3 (standard library only)
- git (for branch diff)
- gh (GitHub CLI, authenticated — only needed for
--fetch-prs) - PyYAML (optional — only needed for
--cluster-profile) - StarRocks 官方文档(本地仓库内):
docs/zh/目录,生成升级报告时必须参考以下文档:docs/zh/deployment/upgrade.md— 升级流程(升级顺序、兼容性配置、注意事项)docs/zh/deployment/deployment_prerequisites.md— 部署先决条件(JDK 版本等)docs/zh/release_notes/— 各版本 Release Notes