Repository navigation
bug_markdown: refine Closes, reproducer, and workflow guidance - #889
Merged
Merged
Conversation
Update the generated bug Markdown prompt and suggested trailer block: - Emit Closes instead of Link after Reported-by, matching upstream Linux guidance in submitting-patches.rst and 5.Posting.rst (while noting Link for partial fixes). - Instruct patch authors to include the relevant distilled part of dmesg or crash output in the commit message whenever possible to prove that the bug is reproducible in real life; when no such output can be included and a working reproducer exists, mention the availability of the reproducer attached to the bug report only below the --- separator line so it is omitted from the merged commit. - Instruct evaluating the report critically (stopping with concrete code evidence if the scenario is impossible rather than adding a pointless defensive check, and not blindly copying a fix sketch from the report) and basing fixes on the subsystem fixes tree rather than -next unless the introducing commit only exists in -next. - Gate all public Sashiko database mutations (claiming bugs, posting reproducers, comments, or proposed fixes, or changing bug state) and upstream patch submissions (git send-email, b4 send, PRs) on an explicit user request, presenting the formatted patch and get_maintainer.pl recipients to the user for review. Signed-off-by: Roman Gushchin <roman@kernel.org>
Sashiko review✓ No issues found across 1 commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refine the generated bug Markdown prompt (
/bug/<bugid>.mdand/api/bug/markdown) and suggested trailer block:Closes:instead ofLink:afterReported-by:: Matches upstream Linux guidance inDocumentation/process/submitting-patches.rstandDocumentation/process/5.Posting.rst(while notingLink:for partial fixes), and addsClosesalongsideLinkin Sashiko's permitted git trailer lists (projects/sashiko/prompts/maintainers/general.md,CONTRIBUTING.md,GEMINI.md).dmesgvs. reproducer note below---: Instructs patch authors to include the relevant distilled part ofdmesgor crash/sanitizer output in the commit message whenever possible to prove that the bug is reproducible in real life; when no such output can be included in the commit message and a working reproducer exists, instructs noting the availability of the reproducer attached to the bug report only below the---separator line so it is omitted from the merged commit message.net,bpf, or mainline) rather than-nextunless the introducing commit only exists in-next.sashiko-cli ... bugs action), nor rungit send-email,b4 send, or open upstream PRs unless explicitly requested by the user, and to present the formatted patch and./scripts/get_maintainer.plrecipients to the user for review.Verification
make check-prsashiko review --project sashiko --agent HEAD("status": "clean", 0 findings)