Repository navigation
Add CodeRabbit review criteria for Robot test suites - #7829
dhensel-rh wants to merge 1 commit into
Conversation
Teach CodeRabbit the checkable conventions for test/suites/** that PR openshift#7695's review rounds enforced by hand: intent in [Documentation] ("Verify that ..." + why), exactly one Fulfills <TICKET> AC #n line per test, duplicate detection, consolidation of tests sharing physical operations, the teardown rules (no Run Keyword And Ignore Error in teardowns), and no certificate/key material in Robot logs. Each rule inverts a recorded failure from the OCPSTRAT-2899 / PR openshift#7695 lifecycle (6 review rounds, 9 post-generation fix commits, a secrets-scan removal, a doc-convention condensing commit). Source of the criteria: openshift-eng/edge-tooling#355; a formal ADR will follow in openshift-eng/edge-context. Deliberately scoped to checkable conventions — style and importance stay with human reviewers, and each comment should explain rather than silently block. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
Warning This pull request changes a CodeRabbit configuration file. Because it comes from a fork or its author is not a repository collaborator, reviews use only the configuration from the target branch. The proposed configuration will take effect after it is merged. No actionable comments were generated in the recent review. WalkthroughThe configuration adds review instructions for Robot Framework tests under ChangesRobot Framework test review
Estimated code review effort: 2 (Simple) | ~5 minutes Change: Other Merge Risk:
|
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary
Teaches CodeRabbit the checkable test conventions for
test/suites/**, socraft feedback that reviewers currently deliver by hand arrives
automatically at PR time.
Every rule inverts a recorded failure from the OCPSTRAT-2899 / PR #7695
lifecycle (6 review rounds, 9 post-generation fix commits): one-liner docs
forcing reviewers to reverse-engineer intent, duplicated Fulfills blocks,
a test set that exceeded its CI window, secrets-scan log removal, and the
teardown anti-pattern.
What it checks (checkable conventions only)
[Documentation]states what is verified and whyFulfills <TICKET> AC #nline per testRun Keyword And Ignore Errorin teardownsStyle and importance deliberately remain with human reviewers. Criteria
source: openshift-eng/edge-tooling#355 (the generate-tests skill's
profile); a formal ADR will follow in openshift-eng/edge-context, and
comments that seem wrong for a specific test should be challenged there.
Draft until the criteria get human sign-off — feedback on the calibration
(scope too wide/narrow, missing rules, wrong thresholds) is exactly what
the draft period is for.
🤖 Generated with Claude Code
Summary by CodeRabbit