Skip to content

NO-JIRA: Add Jira process documentation for Definition of Ready and Verified#16352

Open
jhadvig wants to merge 1 commit intoopenshift:mainfrom
jhadvig:team-docs
Open

NO-JIRA: Add Jira process documentation for Definition of Ready and Verified#16352
jhadvig wants to merge 1 commit intoopenshift:mainfrom
jhadvig:team-docs

Conversation

@jhadvig
Copy link
Copy Markdown
Member

@jhadvig jhadvig commented Apr 27, 2026

Analysis / Root cause:
The Console team is integrating AI tools into its development workflow. These tools need a machine-readable source of truth for issue readiness criteria and PR verification standards to perform automated triage and implementation.

Solution description:
Add two process documents under docs/process/:

  • definition-of-ready.md — defines the mandatory and optional Jira fields required before the team picks up a bug or story. All fields are mandatory unless explicitly marked optional (Priority, Target Backport Versions). Browser defaults to Chrome:latest. Artifacts require at least one, linked in the description or comments.
  • definition-of-verified.md — defines the PR reviewer responsibilities: readiness assessment, code review (with test coverage expectations), and functional verification.

These documents serve as input for Claude Code skills that automate bug triage, implementation, and PR review workflows.

Screenshots / screen recording:
N/A — documentation only.

Test setup:
N/A

Test cases:
N/A

Browser conformance:
N/A

Additional info:
These documents are consumed by the /jira-bug Claude Code skill for automated readiness assessment, and will also be used by a future external /jira-story skill.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added definition of readiness criteria for Jira issues, specifying mandatory fields and information requirements for stories and bugs.
    • Added documentation outlining the PR verification process, including reviewer responsibilities for code review, testing, and approval workflow.

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@jhadvig: This pull request explicitly references no jira issue.

Details

In response to this:

Analysis / Root cause:
The Console team is integrating AI tools into its development workflow. These tools need a machine-readable source of truth for issue readiness criteria and PR verification standards to perform automated triage and implementation.

Solution description:
Add two process documents under docs/process/:

  • definition-of-readiness.md — defines the mandatory and optional Jira fields required before the team picks up a bug or story. All fields are mandatory unless explicitly marked optional (Priority, Target Backport Versions). Browser defaults to Chrome:latest. Artifacts require at least one, linked in the description or comments.
  • definition-of-verified.md — defines the PR reviewer responsibilities: readiness assessment, code review (with test coverage expectations), and functional verification.

These documents serve as input for Claude Code skills that automate bug triage, implementation, and PR review workflows.

Screenshots / screen recording:
N/A — documentation only.

Test setup:
N/A

Test cases:
N/A

Browser conformance:
N/A

Additional info:
These documents are consumed by the /jira-bug Claude Code skill for automated readiness assessment, and will also be used by a future external /jira-story skill.

🤖 Generated with Claude Code

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 27, 2026
@openshift-ci openshift-ci Bot requested review from rhamilto and spadgett April 27, 2026 13:15
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 27, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 2026

📝 Walkthrough

Walkthrough

This pull request adds two new documentation files to the console repository's process directory. The first establishes a "Definition of Readiness" that specifies mandatory fields for Jira issues (bugs require problem description, version details, reproducibility information, and severity; stories require objectives, user stories, UX designs, and test cases with criteria). The second document defines the "Verified" process for pull reviews, outlining three reviewer phases: confirming Jira readiness, performing code review with test coverage expectations, and completing functional verification through manual testing before applying the /verified label.

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding documentation for Jira process definitions (readiness and verified criteria).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed This PR adds documentation files only; contains no Ginkgo test files, making the custom check for test naming conventions inapplicable.
Test Structure And Quality ✅ Passed Custom check not applicable—this is a documentation-only PR with no Ginkgo test code to review.
Microshift Test Compatibility ✅ Passed Pull request contains only documentation changes to process files with no code, tests, or Ginkgo e2e test definitions.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This check is not applicable to this pull request. The custom check evaluates new Ginkgo e2e tests for Single Node OpenShift (SNO) compatibility. This PR adds only two markdown documentation files that define Jira readiness criteria and PR verification responsibilities. Since no test code is introduced, there are no tests to assess against SNO compatibility requirements.
Topology-Aware Scheduling Compatibility ✅ Passed PR contains only documentation files describing Jira workflows without any deployment manifests, operator code, or scheduling configurations.
Ote Binary Stdout Contract ✅ Passed Documentation-only changes with no executable code modifications, making the OTE Binary Stdout Contract check out-of-scope.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR adds documentation files only (definition-of-readiness.md, definition-of-verified.md). No Ginkgo e2e tests introduced, so IPv6/disconnected network compatibility check is not applicable.
Description check ✅ Passed The PR description covers all major required sections from the template (Analysis/Root cause, Solution description, Test cases, Browser conformance) with appropriate 'N/A' entries for documentation-only changes, and clearly articulates the purpose and implementation details.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

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

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

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/process/definition-of-readiness.md (1)

47-47: Make Story component requirement explicit.

Line 47 is currently underspecified (Components) compared with the Bug section’s explicit Management Console requirement. For machine-driven readiness checks, define required value(s) here as well.

Suggested wording
-* **Components**
+* **Components:** Management Console
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/process/definition-of-readiness.md` at line 47, Update the "Components"
entry so it explicitly lists required component values for readiness checks
(e.g., include "Story" as a required component similar to how the Bug section
requires "Management Console"); edit the heading or bullet under Components to
name the exact required component(s) ("Story") and any acceptable variants/case,
so machine-driven checks can match them unambiguously.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/process/definition-of-verified.md`:
- Around line 16-20: Change the wording that refers to "/lgtm" and "/verified"
as labels to call them reviewer "commands" instead: update the lines under the
"Functional verification" section that currently read "Provides /lgtm label" and
"Provides /verified label" to instead read "Provides /lgtm command" and
"Provides /verified command" so the doc correctly reflects Prow reviewer
commands.

---

Nitpick comments:
In `@docs/process/definition-of-readiness.md`:
- Line 47: Update the "Components" entry so it explicitly lists required
component values for readiness checks (e.g., include "Story" as a required
component similar to how the Bug section requires "Management Console"); edit
the heading or bullet under Components to name the exact required component(s)
("Story") and any acceptable variants/case, so machine-driven checks can match
them unambiguously.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 17e2bea6-8153-4bae-a604-83f7f183bfc1

📥 Commits

Reviewing files that changed from the base of the PR and between b9813ea and af92fe5.

📒 Files selected for processing (2)
  • docs/process/definition-of-readiness.md
  • docs/process/definition-of-verified.md
📜 Review details
🧰 Additional context used
🪛 LanguageTool
docs/process/definition-of-readiness.md

[style] ~42-~42: Consider a more concise word here.
Context: ...ns * Test Cases * Optional - in order to open the Jira Story * Required -...

(IN_ORDER_TO_PREMIUM)


[style] ~43-~43: Consider a more concise word here.
Context: ...open the Jira Story * Required - in order to call the Jira Story Ready * Con...

(IN_ORDER_TO_PREMIUM)

🔀 Multi-repo context openshift/console-operator

Linked repositories findings

openshift/console-operator

  • Documentation / AI assistant config present:

    • AGENTS.md documents Custom Claude Code Commands and AI assistant usage, indicating this repo has existing AI automation docs and conventions that may be relevant to the PR's machine-readable process docs. [::openshift/console-operator::AGENTS.md]
    • CLAUDE.md and .claude/settings.json are present and reference Claude Code configuration (e.g., "Bash(claude --version)"), showing active Claude integration points where the new docs might be consumed. [::openshift/console-operator::CLAUDE.md] [::openshift/console-operator::.claude/settings.json]
  • Other places referencing Jira / annotations:

    • vendor/github.com/openshift/api/README.md contains examples mentioning reporting problems to a Jira component and notes about required labels for the repository, suggesting existing Jira-related conventions in vendor code. [::openshift/console-operator::vendor/github.com/openshift/api/README.md]
    • vendor/.../annotations/annotations.go references a jira component in OCPBUGS, indicating shared annotation keys used for Jira mapping. [::openshift/console-operator::vendor/github.com/openshift/api/annotations/annotations.go]
    • .coderabbit.yaml includes a "jira:" section, showing another automation configuration that references Jira. [::openshift/console-operator::.coderabbit.yaml]

Assessment: the repository contains multiple AI-automation and Jira-related configuration/docs (AGENTS.md, CLAUDE.md, .claude, .coderabbit.yaml, vendor annotations). These are direct cross-repo signals that the new docs (definition-of-readiness.md and definition-of-verified.md) could be consumed by existing Claude / automation tooling here; reviewers should verify alignment with the existing AGENTS/Claude configuration and any expected schema/keys used by those tools. [::openshift/console-operator::]

🔇 Additional comments (1)
docs/process/definition-of-verified.md (1)

7-20: Good phased verification model.

The three-phase split (readiness assessment, code review, functional verification) is clear and actionable for reviewers.

Comment thread docs/process/definition-of-verified.md Outdated
Comment on lines +16 to +20
* Provides /lgtm label
3. Functional verification
* Manual testing of the change based on the provided Test Cases
* Automated CI testing is green
* Provides /verified label
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.

⚠️ Potential issue | 🟡 Minor

Use “command” instead of “label” for /lgtm and /verified.

Line 16 and Line 20 currently describe these as labels, but they are reviewer commands in Prow workflows. Please adjust terminology to avoid process/tooling ambiguity.

Suggested wording
-  * Provides /lgtm label  
+  * Issues the `/lgtm` command  
...
-  * Provides /verified label
+  * Issues the `/verified` command
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
* Provides /lgtm label
3. Functional verification
* Manual testing of the change based on the provided Test Cases
* Automated CI testing is green
* Provides /verified label
* Issues the `/lgtm` command
3. Functional verification
* Manual testing of the change based on the provided Test Cases
* Automated CI testing is green
* Issues the `/verified` command
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/process/definition-of-verified.md` around lines 16 - 20, Change the
wording that refers to "/lgtm" and "/verified" as labels to call them reviewer
"commands" instead: update the lines under the "Functional verification" section
that currently read "Provides /lgtm label" and "Provides /verified label" to
instead read "Provides /lgtm command" and "Provides /verified command" so the
doc correctly reflects Prow reviewer commands.

Comment thread docs/process/definition-of-verified.md
Copy link
Copy Markdown
Member

@TheRealJon TheRealJon left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 27, 2026
Add Definition of Ready and Definition of Verified documents under
docs/process/ to serve as the source of truth for Jira issue readiness
criteria and PR verification standards. These documents are consumed
by Claude Code skills for automated bug triage and implementation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 28, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 28, 2026

@jhadvig: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Copy Markdown
Member

@TheRealJon TheRealJon left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 28, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 28, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig, TheRealJon

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

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants