Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

understanding-openshift-prs

БесплатноБез исполняемых скриптовНе проверен

Use when managing or shepherding open OpenShift pull requests — explains what a PR needs to merge (lgtm, approved, verified, Jira labels), pre-merge…

openshift-engот openshift-eng★ 123 звезды на GitHub

Об этом скилле

Understanding OpenShift Pull Requests

Most repos in the openshift GitHub org share a merge process that is not obvious from the PR page: a verified label is usually required, expensive e2e jobs often wait for /lgtm, and in some repos a bot chooses which e2e jobs run at all. This skill explains those mechanics so you can tell a user why a PR is stuck and what to do next, and walks through verifying a fix from presubmit results.

When to Use This Skill

  • A user is working through a list of open PRs and wants to know what each one needs to merge.
  • A PR's e2e jobs never started, or only a few of them ran.
  • A user wants to confirm a fix worked using the PR's presubmit jobs, then mark it verified.

Posting Rule: Human Approval Required

Slash commands on a PR change its merge state and are visible to the whole team. Never post a PR comment, including /verified, /lgtm, /approve, /pipeline ..., /cherry-pick, /jira refresh, /test or /retest, without the user's explicit approval for that specific comment on that specific PR. Draft the exact comment text, show it, and wait. Approval for one PR does not extend to the next.

What a PR Needs to Merge

Tide merges a PR once its required labels are present, no forbidden labels are present, and required jobs pass. The requirements differ by repo and branch, so check rather than assume. Use the fetch-tide-pr-status skill: it reads Tide's queries and lists each PR's missing labels and failing or pending required jobs.

Typical requirements in OpenShift repos:

Label Set by Notes
lgtm Reviewer comments /lgtm Removed when new commits are pushed (including a rebase)
approved An OWNERS approver comments /approve
verified A repo collaborator comments /verified ... Required by about half of openshift repos, see below
jira/valid-reference Jira automation PR title starts with a Jira key, e.g. OCPBUGS-123: ...
jira/valid-bug Jira automation Bug passes validation; required on release branches and some repos' main. See below
backport-risk-assessed Repo owners authorized for backports Release branches only; records that the backport was judged safe to accept. See Backports

Forbidden labels include do-not-merge/hold, do-not-merge/work-in-progress, needs-rebase and jira/invalid-bug.

Jira Label Failures

The most common Jira failure is a missing or wrong Target Version on the bug. Each branch expects a specific target version: main expects the release in development, and release-X.Y expects X.Y.z. A mismatch sets jira/invalid-bug and withholds jira/valid-bug. Backport bugs also fail when the matching bug on the next-newer branch is not yet VERIFIED. The automation's PR comment lists each validation it ran and which one failed. Fix the bug in Jira, then comment /jira refresh (with user approval) to re-run validation.

Risk Labels: chai-risk-assessment/*

Chai labels many PRs with a risk tier for the latest commit, used for risk-based review. For now these labels are informational and Tide does not require them, but they may soon affect merge requirements. Check fetch-tide-pr-status rather than assuming they are still optional.

Label Meaning
chai-risk-assessment/low No product behavior change, e.g. docs, tests, dependency bumps
chai-risk-assessment/moderate May change product behavior, but not disruptively
chai-risk-assessment/critical May disrupt clusters or workloads if the change is wrong

Use the tier to decide how much review and verification a PR needs. A critical PR deserves evidence from a job matching the affected platform or topology before /verified by; a low tier alone does not justify /verified bypass, since dependency bumps are low but still change what ships. The tiers and how they are assigned are defined in the openshift-developer:pr-risk-assessment skill, which you can also run for a second opinion on any PR.

Pre-merge Verification: /verified

Many repos require the verified label to merge. It records how the change was tested, and it drives the linked Jira bug's state after merge. Reference: Jira integration docs.

Command Meaning Jira effect after merge
/verified by <reason> Pre-merge testing done. <reason> is a comma-separated list of test or job names and/or GitHub @usernames who tested it Bug moves to VERIFIED automatically
/verified later @user Post-merge testing will be done by the named user(s) Bug moves to ON_QA; someone must verify by hand
/verified bypass The change is non-functional and needs no testing Treated as pre-merge verified
/verified remove Removes the label so it can be set again

Key behaviors:

  • **O
Полный SKILL.md на GitHub

Установить understanding-openshift-prs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл understanding-openshift-prs?

Use when managing or shepherding open OpenShift pull requests — explains what a PR needs to merge (lgtm, approved, verified, Jira labels), pre-merge verification with /verified, why e2e jobs have not started (pipeline controller, /lgtm, /pipeline required), Chai bot test selection, Jira label failures, backports with /cherry-pick, and how to prove a fix worked from presubmit artifacts and draft a /verified comment for human approval.

Как установить скилл understanding-openshift-prs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл understanding-openshift-prs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить understanding-openshift-prs с