Bug Filing Description Improvements - #418
Open
tomrittervg wants to merge 2 commits into
Open
tomrittervg wants to merge 2 commits into
tomrittervg wants to merge 2 commits into
Conversation
Some libraries would like to have the full commit details for all commits when a bug is filed. Right now we will make bug descriptions less and less verbose to fit into the one-comment text limit. Instead, we can keep it at full verbosity and just split the text into multiple comments on bugzilla.
There was a problem hiding this comment.
Pull request overview
This PR improves Bugzilla bug filing descriptions by introducing an optional “chained” mode that preserves full commit details and splits them across multiple Bugzilla comments when the per-comment size limit is reached. It updates the vendoring and commitalert flows to post overflow chunks as follow-up comments, and adds focused unit tests for the new behavior.
Changes:
- Add commit-block rendering helpers and a chained, greedy chunking implementation in
SCMProvider.build_bug_description. - Update vendoring and commitalert tasktypes to file the first chunk in the initial bug description and post remaining chunks as additional comments.
- Add new unit tests covering verbosity levels, dispatch behavior, compare URL inclusion, and chunk splitting.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| components/scmprovider.py | Adds compare URL support and implements chained multi-comment chunking for commit details. |
| tasktypes/vendoring.py | Posts overflow commit description chunks as follow-up Bugzilla comments. |
| tasktypes/commitalert.py | Posts overflow commit description chunks as follow-up Bugzilla comments. |
| tests/build_bug_description.py | Adds unit tests validating commit block rendering and chained/single behavior. |
| test.py | Registers the new build_bug_description test module in the test runner. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tomrittervg
force-pushed
the
2026-06-26-commit-summary-comments
branch
from
July 6, 2026 19:17
9876d69 to
4d0f83d
Compare
bayounetta
approved these changes
Sep 14, 2026
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.
Adds a new mode that chunks full details across comments. Supersedes #416