NO-JIRA: chore(ci): enforce v2 e2e AGENTS.md standards via CodeRabbit#8660
Conversation
Add a path_instructions entry scoped to test/e2e/v2/**/*.go so CodeRabbit actively enforces the standards in test/e2e/v2/AGENTS.md on every PR touching those files. Also fix the code_guidelines filePatterns glob from AGENTS.md (root-only) to **/AGENTS.md so the v2 AGENTS.md file is actually ingested as a knowledge source. Assisted-by: Claude:claude-opus-4-6
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@cblecker: This pull request explicitly references no jira issue. DetailsIn response to this:
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. |
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis pull request updates the CodeRabbit review configuration file to strengthen enforcement of agent guidelines. It adds a path-specific instruction rule that requires strict adherence to standards defined in Suggested reviewers
🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Tip For best results, initiate chat on the files or code changes. This is an automated notification from the OpenShift CI bot. The PR title uses the 🧠 Learnings used |
|
/area ci-tooling |
|
/verified later @cblecker |
|
@bryan-cox: This PR has been marked to be verified later by DetailsIn response to this:
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. |
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, cblecker The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8660 +/- ##
==========================================
+ Coverage 41.27% 41.39% +0.12%
==========================================
Files 755 756 +1
Lines 93446 93613 +167
==========================================
+ Hits 38566 38750 +184
+ Misses 52148 52134 -14
+ Partials 2732 2729 -3 see 2 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@cblecker: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
knowledge_base.code_guidelines.filePatternsglob fromAGENTS.md(root-only match) to**/AGENTS.mdso CodeRabbit actually ingeststest/e2e/v2/AGENTS.mdas a knowledge sourcepath_instructionsentry scoped totest/e2e/v2/**/*.gothat instructs CodeRabbit to actively enforce the standards fromtest/e2e/v2/AGENTS.mdon every PR touching those filestest/e2e/v2/AGENTS.mdremains the single source of truth — no rules are duplicated into the CodeRabbit config.Test plan
test/e2e/v2/tests/— confirm CodeRabbit flags violations of the AGENTS.md standards (e.g. use ofcontext.Background(), "guest cluster" terminology, missing vacuous-pass guards)@coderabbitai reviewon an existing PR touching v2 e2e files to validate the new instructions take effectSummary by CodeRabbit