Add z-stream search tool for finding commits for older z-streams#387
Merged
TomasTomecek merged 1 commit intopackit:mainfrom Mar 16, 2026
Merged
Add z-stream search tool for finding commits for older z-streams#387TomasTomecek merged 1 commit intopackit:mainfrom
TomasTomecek merged 1 commit intopackit:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new ZStreamSearchTool designed to find commits for older RHEL z-streams by searching related Jira issues. While the implementation includes comprehensive tests and sound logic, there is a potential JQL injection vulnerability. User-supplied input for the component name is directly concatenated into the JQL string without proper escaping, which could allow an attacker to manipulate the search query. It is recommended to escape this input to mitigate the risk.
5bfc7d2 to
12729a7
Compare
12729a7 to
332bb59
Compare
TomasTomecek
approved these changes
Mar 12, 2026
Member
TomasTomecek
left a comment
There was a problem hiding this comment.
Pretty straightforward and has nice test coverage, LGTM
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.
To locate the most appropriate (closest to the current stream) patch to backport for older RHEL z-streams this new tool allows the agent to search all relevant Jira issues for a patch by proximity to the current stream and extract patch link/s from the Jira Development section which contains relevant commits. This gives the agent a better chance of backport success and also ensures no regressions are introduced by backporting the upstream or y-stream patches directly in cases where z-stream specific patch changes are made in between.