首页/ AI 技能 / @skilllib/skill-2117939930272417981
Skill站外收录 @skilllib/skill-2117939930272417981

ci-log-reader

通过递归解析和抓取 CI 系统中的嵌套日志链接,深入追踪构建或测试失败的完整调用链,定位原始错误信息(如编译失败、测试断言错误、异常堆栈),并归纳出可操作的根因结论与修复建议。

0.0 (0) 30 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# CI Log Reader ## When to Use Use this skill when investigating CI failures. It helps trace through the hierarchy of CI logs to find the actual error message. ## CI System Overview The Aztec CI system stores logs at `ci.aztec-labs.com`. Log entries contain URLs in the format: - `http://ci.aztec-labs.com/<hash>` - Links to nested logs When a CI step runs, it spawns sub-tasks with their own log URLs. Follow these links recursively to find the actual error. ## How to Fetch Logs From repo root ``` ./ci.sh dlog <hash> ``` ## Investigation Steps 1. **Get the initial log** from the GitHub Actions URL or direct CI link 2. **Parse for nested links** - look for `http://ci.aztec-labs.com/<hash>` patterns 3. **Identify failures** - lines with `FAIL`, `ERROR`, or non-zero exit codes 4. **Follow the failing link** - fetch the nested log for failed steps 5. **Repeat** until you find the actual error (compiler errors, test failures, stack traces) ## Log Patterns ``` Executing: <command> (http://ci.aztec-labs.com/<hash>) # Command output at this hash ... done (Xs) # Success ... FAIL (Xs) # Failure - follow this link! ``` ## Output Format Provide: 1. **Log trail**: Chain of CI URLs followed with brief descriptions 2. **Root cause**: The actual error message found 3. **Suggested fix**: If the error is clear, suggest what might fix it

评论 0

还没有评论,来抢沙发。