Tighten release notes prompt and clean input data#6068
Conversation
PR Reviewer Guide 🔍(Review updated until commit 1fe7886)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 1fe7886
Previous suggestionsSuggestions up to commit e85a8de
|
|
@gaiksaya @rishabh6788 Kiro suggested improvements to the prompt to be more direct and remove redundancy. I figure kiro knows what the models want :) The only substantive change in the prompt is to remove exclusion rule for "Dependency bumps that only affect test fixtures or build tooling". That actually seems like a difficult judgement call and there seems to be little harm to including all dependency updates so on balance it seems simpler without it. Stripping things like the checklist and DCO out of the input data actually cuts down on the amount of text to bedrock by half, which should help since that was just noise. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6068 +/- ##
==========================================
- Coverage 96.61% 96.60% -0.01%
==========================================
Files 405 405
Lines 18851 18906 +55
==========================================
+ Hits 18212 18265 +53
- Misses 639 641 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Strip Signed-off-by/Co-authored-by tags from commit messages - Strip HTML comments, Check List, Related Issues sections, and DCO boilerplate from PR descriptions - Drop PR body for dependabot PRs (upstream changelogs are noise) - Tighten AI_RELEASE_NOTES_PROMPT_COMMIT_OPENSEARCH: remove redundant sections, add example rewrite, use template variables for version/URL - Simplify Maintenance category to include all dependency updates Signed-off-by: Andrew Ross <andrross@amazon.com>
e85a8de to
1fe7886
Compare
|
Persistent review updated to latest commit 1fe7886 |
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.