跳到正文
cccskills
免费在 GitHub 公开

ci:status

Check PR CI status - all checks, failures, test results, and artifacts

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl星标 303(GitHub 303 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CI Status

Check the current CI status for a PR and create task items for any failures.

Context-Safe Execution (MANDATORY)

CI log output MUST go to files. gh pr checks is small and OK inline. gh run view --log-failed and artifact downloads MUST redirect:

export LOG_DIR="${LOG_DIR:-${WORKSPACE_DIR:-/tmp}/rossoctl-ci}"
mkdir -p "$LOG_DIR"

# Small output OK inline:
gh pr checks <PR-number>

# Large output MUST redirect:
gh run view <run-id> --log-failed > $LOG_DIR/ci-run-<run-id>.log 2>&1; echo "EXIT:$?"
# Analyze in subagent: Task(subagent_type='Explore') with Grep on the log file

When to Use

  • After pushing changes to a PR
  • When asked "what's the CI status?"
  • Before deciding whether to push more changes
  • After CI completes to summarize results

Workflow

1. Get PR Status

gh pr checks <PR-number>

2. Summarize Results

Present as a table:

CheckStatusDetails
CodeQLpass/failN alerts
Deploy & Test (Kind)pass/failN passed, N failed
E2E HyperShiftpass/fail/pendingN passed, N failed
Buildpass-
Lintingpass-

3. For Failures - Get Details

# Kind CI test results
gh run download <run-id> -n e2e-test-results -D /tmp/ci-results
grep -oE 'errors="[0-9]+" failures="[0-9]+" skipped="[0-9]+" tests="[0-9]+"' /tmp/ci-results/e2e-results.xml

# Failed test names
grep '<failure' /tmp/ci-results/e2e-results.xml

# HyperShift logs
gh run view <run-id> --log-failed | tail -30

# CodeQL alerts
gh api repos/<owner>/<repo>/check-runs/<check-id>/annotations --jq '.[] | {path, line: .start_line, message: .message[:100]}'

4. Create Tasks for Failures

For each distinct failure, create a task:

TaskCreate: "<worktree> | <PR> | <topic> | RCA | <failure description>"

Task Tracking

On invocation:

  1. TaskList - check for existing CI-related tasks
  2. TaskCreate for each new failure found
  3. Link to plan doc if failures relate to planned work
  4. Metadata: plan: "ad-hoc", runner: "main-session"

Troubleshooting

CI check not appearing

  • Push may not have triggered the workflow
  • Check workflow trigger conditions in .github/workflows/
  • HyperShift E2E requires manual /test comment

Stale results

  • CI runs on the commit at push time, not current HEAD
  • Check headSha matches expected commit

Related Skills

  • ci:monitoring - Wait for and monitor running CI jobs
  • rca:ci - Root cause analysis of CI failures
  • tdd:ci - TDD iteration using CI as test environment

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

auth

免费

Authentication and authorization patterns for Rossoctl services

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

ci

免费

CI pipeline monitoring, status checks, and PR validation workflows

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

Monitor running CI jobs, wait for completion, create tasks for results

中文简介正在准备中。当前显示原文说明。

rossoctl/rossoctl3032026年10月25日 更新

查看 rossoctl 的全部技能

报告此技能的问题