Expert review tool for PRs that add or modify Two Node (Fencing or Arbiter) tests under test/extended/two_node/ in openshift/origin.
Expert review tool for PRs that add or modify Two Node (Fencing or Arbiter) tests under test/extended/two_node/ in openshift/origin.
/plugin marketplace add openshift-eng/ai-helpers/plugin install node-tuning@ai-helpers[--url PR_URL] [<pr>] [--depth quick|full]/origin:two-node-origin-pr-helper — Review Two Node (Fencing/Arbiter) tests in openshift/origin.
/origin:two-node-origin-pr-helper [--url PR_URL] [<pr>] [--depth quick|full]
The /origin:two-node-origin-pr-helper command is an expert review tool for PRs that add or modify Two Node (Fencing or Arbiter) tests under test/extended/two_node/ in openshift/origin.
It:
Use this command when creating or reviewing Origin PRs that touch the Two Node test suite and you want a focused, reproducible review of test design, helper usage, and CI integration.
This is a specialized Origin review helper focused on Two Node tests and is intended as a building block toward a future generic Origin review command.
The command should behave as follows.
Parse arguments from the invocation:
--url:
<pr> (optional positional):
--depth:
Default behavior:
Assume the command is run inside a local checkout of the repo.
For each test:
Do not assume helper existence. Infer from imports and logic only.
Look for re-implemented logic where helpers already exist.
Examples:
Call out:
Review:
Prefer [Suite:openshift/two-node] for Two Node tests.
Recommend [Serial] for:
Recommend parallel for isolated, namespaced tests.
Always explain why.
Do not hard-code lane names.
Produce:
The command is static and requires no cluster access.
/origin:two-node-origin-pr-helper --depth full
/origin:two-node-origin-pr-helper 30510 --depth full
/origin:two-node-origin-pr-helper --url https://github.com/openshift/origin/pull/30510 --depth quick
Always respond in four sections:
Respect --depth only:
/origin:two-node-origin-pr-helper 30510 --depth full
/origin:two-node-origin-pr-helper --url https://github.com/openshift/origin/pull/XXXXX --depth quick