Fix AI instruction quality and bump apm-cli to 0.12.4#3515
Fix AI instruction quality and bump apm-cli to 0.12.4#3515not-stbenjam wants to merge 3 commits intoopenshift:mainfrom
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (24)
📒 Files selected for processing (9)
WalkthroughFour guidance documents are updated: three APM prompt files receive clarified or relocated instructions for AI-driven release view management and job variant updates, while the CodeRabbit configuration file adjusts code review rules for test coverage and query complexity limits. ChangesPrompt and Configuration Clarifications
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 16 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (16 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: not-stbenjam 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 |
|
Hi @not-stbenjam. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
514f91f to
7d70804
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.apm/prompts/sippy-generate-release-views.prompt.md:
- Around line 8-10: Unify the wording so the replacement scope is precise:
change both occurrences that currently say "replace 'ga' with 'now' in relative
dates" or mix fields to instead instruct only the exact fields relative_start
and relative_end to be updated when base becomes source release; update the two
lines shown and the other occurrence referenced (lines 62-63) so every
instruction consistently reads something like "When base becomes source release,
replace 'ga' with 'now' in relative_start and relative_end" to avoid
broad/ambiguous edits.
🪄 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: b874d9a1-dc8a-4bb6-b94e-8163f5c46245
📒 Files selected for processing (4)
.apm/prompts/sippy-generate-release-views.prompt.md.apm/prompts/sippy-update-ga-release-views.prompt.md.apm/prompts/sippy-update-job-variant.prompt.md.coderabbit.yaml
7d70804 to
18525fb
Compare
Addresses 10 skillsaw lint warnings across .coderabbit.yaml and
.apm/prompts/ by:
- Removing hedging language ("ideally", "where possible") in favor
of direct requirements
- Moving critical instructions (NEVER, MUST, CRITICAL, IMPORTANT)
out of the attention dead zone (20-80% of file) to the first or
last 20% where LLMs pay more attention
Based on attention research (lost-in-the-middle) showing that LLMs
attend less to instructions in the middle of long contexts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18525fb to
e0f766a
Compare
Update apm.yml to use the new 0.12.4 config schema (targets list, structured dependencies) and bump the Makefile pin. Recompile all generated output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These were generated but never committed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
/ok-to-test |
|
Scheduling required tests: |
|
@not-stbenjam: 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
.coderabbit.yamlin favor of direct requirementsapm.ymlto the current config formatIssues found by skillsaw, a linter for AI config files.
Test plan
skillsaw .passes with 0 errors and 0 warningsmake verify-apmpasses🤖 Generated with Claude Code