Loading...
Loading...
Compare original and translation side by side
| Provider | Detection | Tool |
|---|---|---|
| GitHub Actions | | |
| Buildkite | | Python script |
| CircleCI | | Python script |
| 提供商 | 检测方式 | 使用工具 |
|---|---|---|
| GitHub Actions | | |
| Buildkite | | Python 脚本 |
| CircleCI | | Python 脚本 |
github.com/.../actions/runs/...buildkite.com/...app.circleci.com/...circleci.com/...github.com/.../actions/runs/...buildkite.com/...app.circleci.com/...circleci.com/...undefinedundefinedundefinedundefineddigraph workflow {
rankdir=TB;
node [shape=box];
detect [label="1. Detect CI provider"];
load [label="2. Load provider reference"];
fetch [label="3. Fetch build results"];
check [label="4. Check for failures" shape=diamond];
passed [label="Report: Build passed!"];
read [label="5. Read failing source files"];
present [label="6. Present failures + proposed fixes"];
ask [label="7. Ask: Apply fix?" shape=diamond];
apply [label="Apply the fix"];
complex [label="Complex failure?" shape=diamond];
debug [label="Use systematic-debugging skill"];
next [label="Next failure?" shape=diamond];
done [label="Done"];
detect -> load;
load -> fetch;
fetch -> check;
check -> passed [label="passed"];
check -> read [label="failed"];
read -> present;
present -> ask;
ask -> apply [label="yes"];
ask -> complex [label="no"];
apply -> next;
complex -> debug [label="yes"];
complex -> next [label="no"];
debug -> next;
next -> read [label="yes"];
next -> done [label="no"];
}digraph workflow {
rankdir=TB;
node [shape=box];
detect [label="1. Detect CI provider"];
load [label="2. Load provider reference"];
fetch [label="3. Fetch build results"];
check [label="4. Check for failures" shape=diamond];
passed [label="Report: Build passed!"];
read [label="5. Read failing source files"];
present [label="6. Present failures + proposed fixes"];
ask [label="7. Ask: Apply fix?" shape=diamond];
apply [label="Apply the fix"];
complex [label="Complex failure?" shape=diamond];
debug [label="Use systematic-debugging skill"];
next [label="Next failure?" shape=diamond];
done [label="Done"];
detect -> load;
load -> fetch;
fetch -> check;
check -> passed [label="passed"];
check -> read [label="failed"];
read -> present;
present -> ask;
ask -> apply [label="yes"];
ask -> complex [label="no"];
apply -> next;
complex -> debug [label="yes"];
complex -> next [label="no"];
debug -> next;
next -> read [label="yes"];
next -> done [label="no"];
}systematic-debuggingsystematic-debugging| Type | Detection | Common Fixes |
|---|---|---|
| Test failure | Minitest/RSpec/Jest/pytest output | Fix assertion, update expected value, fix test setup |
| Lint error | Rubocop/ESLint/Biome violations | Auto-fix with linter's fix command |
| TypeScript | TSC compilation errors | Add types, fix type mismatches |
| Build error | Compilation failures | Fix syntax, missing dependencies |
| 错误类型 | 检测方式 | 常见修复方案 |
|---|---|---|
| 测试失败 | Minitest/RSpec/Jest/pytest输出 | 修复断言,更新预期值,修复测试设置 |
| 代码检查错误 | Rubocop/ESLint/Biome违规 | 使用代码检查工具的自动修复命令 |
| TypeScript错误 | TSC编译错误 | 添加类型定义,修复类型不匹配 |
| 构建错误 | 编译失败 | 修复语法错误,补充缺失依赖 |
| Mistake | Solution |
|---|---|
| Can't detect provider | Specify provider explicitly or provide CI URL |
| Missing credentials | Check provider reference for required env vars/auth |
| Build still running | Wait for completion or check partial results |
| Rate limiting | Wait and retry |
| 问题 | 解决方案 |
|---|---|
| 无法检测提供商 | 明确指定提供商或提供CI URL |
| 缺少凭证 | 查看提供商参考文档获取所需环境变量/认证信息 |
| 构建仍在运行 | 等待构建完成或查看部分结果 |
| 请求受限 | 等待后重试 |