Skip to content

Conversation

@lbarcziova
Copy link
Member

No description provided.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the prompt for the backport agent, providing more detailed instructions on how to handle build failures caused by failing tests. The changes are clear and well-structured, adding a new section for test failure considerations and updating existing rules. I have one suggestion to improve the consistency of the instructions for the agent.

- The ONLY dist-git file you can modify is {{jira_issue}}.patch (by regenerating it from upstream repo)
- Fix build errors by adding missing prerequisites/dependencies to your patches in upstream repo
- Fix build errors (compilation AND test failures) by adding missing prerequisites/dependencies to your patches in upstream repo
- For test failures: backport minimal necessary test helpers/functions to make tests pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the instruction on line 373, consider adding the word 'ONLY' here to emphasize that the agent should backport the minimal necessary helpers. This reinforces the instruction and can lead to more efficient and targeted fixes from the agent.

Suggested change
- For test failures: backport minimal necessary test helpers/functions to make tests pass
- For test failures: backport ONLY minimal necessary test helpers/functions to make tests pass

Copy link
Collaborator

@opohorel opohorel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@lbarcziova lbarcziova merged commit aba2214 into packit:main Nov 14, 2025
7 checks passed
@lbarcziova lbarcziova deleted the backport-test-fixing-instructions branch November 14, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants