Skip to content

Draft: Release Evaluation skill#6438

Draft
agullon wants to merge 1 commit intoopenshift:mainfrom
agullon:agentic-release-testing-manager
Draft

Draft: Release Evaluation skill#6438
agullon wants to merge 1 commit intoopenshift:mainfrom
agullon:agentic-release-testing-manager

Conversation

@agullon
Copy link
Copy Markdown
Contributor

@agullon agullon commented Apr 1, 2026

Adds the release-testing/release-evaluation Claude Code skill that automates MicroShift release evaluation (Phase 0):

  • Z-stream: evaluates all GA'd versions due next week, checks ART Jira, OCP availability, advisory CVEs, 90-day rule, and code changes
  • EC/RC: auto-discovers current EC/RC from ART Jira
  • nightly: detects missing MicroShift Brew builds vs OCP nightlies
  • Lifecycle filtering: skips EOL and EUS versions via Red Hat API
  • Already released check: verifies MicroShift release notes on docs.redhat.com
  • Parallel execution: uses Agent tool for concurrent per-version evaluation

pre-commit.check-secrets: ENABLED

Adds the release-testing/release-evaluation Claude Code skill that
automates MicroShift release evaluation (Phase 0):

- Z-stream: evaluates all GA'd versions due next week, checks ART Jira,
  OCP availability, advisory CVEs, 90-day rule, and code changes
- EC/RC: auto-discovers current EC/RC from ART Jira
- nightly: detects missing MicroShift Brew builds vs OCP nightlies
- Lifecycle filtering: skips EOL and EUS versions via Red Hat API
- Already released check: verifies MicroShift release notes on docs.redhat.com
- Parallel execution: uses Agent tool for concurrent per-version evaluation

pre-commit.check-secrets: ENABLED
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 1, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 1, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 19575f2f-7dbe-43f3-9a09-7c08fd799a5c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 1, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: agullon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 1, 2026
allowed-tools: WebFetch, Bash, mcp__jira__jira_search, mcp__jira__jira_get_issue, AskUserQuestion, Read, Grep, Agent
---

# release-testing/release-evaluation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using : as a separator, i.e. /release-testing:evaluation

---
name: Release Evaluation
argument-hint: <Z|X|Y|RC|EC|nightly> [version]
description: Check OCP release schedule, verify availability, evaluate z-stream need, or check nightly build gaps
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's too much for a single command. I would split it into smaller commands and call them from each other.

3. Fetch OCP release calendar via WebFetch:
```
https://app.smartsheet.com/b/publish?EQBCT=970c5ff6c67a4ca7a153e3a6ef993e77
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you verify if this does not grant write access ?

## Description
Checks the OCP release schedule, verifies OCP release availability, and for z-streams evaluates whether MicroShift should participate. Also detects missing MicroShift nightly builds. This is Phase 0 of the MicroShift Release Testing process.

Reference: `.claude/config/release-phases.yaml` (phase: release_evaluation)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this file ?

Use the `Agent` tool to run independent work concurrently. Key parallel patterns:

- **Step 1b + Step 2**: Lifecycle API, ART Jira query, and Smartsheet calendar fetch all run simultaneously
- **Z-stream (multiple versions)**: After Step 2 returns the version list, launch one Agent per version that performs Steps 3+4a+4b+4c+4e in parallel. The main agent waits for all sub-agents, then synthesizes Step 5.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use the existing script to do the job here ? i mean the advisory_publication_script.sh ?

```
Usage: /release-testing/release-evaluation <Z|X|Y|RC|EC|nightly> [version] [--format short|full]
Examples:
/release-testing/release-evaluation Z
Copy link
Copy Markdown
Contributor

@kasturinarra kasturinarra Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

command could be changed to /microshift-release-evaulation and based on the version passed we could determine if it is for z/nightly/ec or rc ?

**Goal**: Determine which MicroShift versions are still under support and which are End of Life (EOL).

**Actions**:
1. Fetch the MicroShift product lifecycle via WebFetch:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here as well, can we replace this with scripts instead ? scripts execute with out loading their contents into context - only the output consumes tokens, keeping context efficient.

- For `X`/`Y`/`RC`/`EC` with a specific version:
- JQL: `project = ART AND summary ~ "Release X.Y.Z" AND status = "In Progress" ORDER BY duedate ASC`
2. Filter results:
- Extract version from summary (format: "Release X.Y.Z [YYYY-Mon-DD]").
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be MM for consistency ?


**Goal**: Confirm OCP releases are actually built before starting MicroShift testing.

**Parallelism**: For `Z` with multiple versions: launch one Agent per version simultaneously to check OCP payload availability. Collect all results before proceeding to Step 4.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to do this ? If no OCP payload , advisory publication script itself will throw you errors right ?


1. Fetch the last released MicroShift version for this major.minor from the Red Hat errata search via WebFetch:
```
https://access.redhat.com/errata-search/?q=Red+Hat+build+of+MicroShift&p=1&sort=portal_publication_date+desc&rows=10
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does rows=10 is sufficient here also this was listing releases other than microshift too

```
4.21.7 → ALREADY RELEASED (MicroShift errata published)
4.21.8 [ART-14785 | 2026-03-31 | OCP: Accepted] → SKIP (8d since 4.21.7, 4 NO-ISSUE commits, no CVEs)
4.19.27 [ART-14782 | 2026-04-01 | OCP: Accepted] → RELEASE (CVE-2026-XXXXX via RHBA-2026:XXXX)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CVE-via RHBA ? what is this about ?

will still report schedule and availability, but skip the CVE analysis
- For 4.20+ releases, the advisory_publication_report.sh should be run from the release-4.19
branch; the command will warn if running from a different branch
- MicroShift GA'd versions start at 4.14; versions before 4.14 are not evaluated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be 4.14+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants