Skip to content

Conversation

@praiskup
Copy link
Member

@praiskup praiskup commented Jan 30, 2026

Fixes: #4103

Copy link

@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

The pull request introduces changes to dynamically fetch GitHub PR data and use it to install pre-release copr-rpmbuild packages in the testing-farm environment. While the overall approach is sound, there are a few areas for improvement. Specifically, there's redundant JSON parsing in an Ansible task, a logical error in how the COMMIT_SHA is constructed for package detection, a critical typo in a Jinja2 template, and an opportunity to improve the robustness of fetching the install-copr-packages script by referencing the PR's head SHA instead of the main branch. Addressing these points will enhance the correctness, efficiency, and maintainability of the solution.

@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Pull Request validation

Failed

🔴 Review - Missing review from a member (2 required)

Success

🟢 CI - All checks have passed

@praiskup praiskup force-pushed the praiskup-test-pre-release-rpmbuild branch from da4772d to 17f8793 Compare January 30, 2026 14:39
@praiskup
Copy link
Member Author

/packit test

@praiskup praiskup force-pushed the praiskup-test-pre-release-rpmbuild branch from 17f8793 to d4467b2 Compare January 30, 2026 14:58
@praiskup
Copy link
Member Author

/packit test

@praiskup
Copy link
Member Author

/packit test

@praiskup praiskup force-pushed the praiskup-test-pre-release-rpmbuild branch from 121c327 to 125b50a Compare February 1, 2026 09:01
@praiskup
Copy link
Member Author

praiskup commented Feb 1, 2026

I added a new commit fixing generic test failure.

/packit test

The `main` variant (Rawhide) uses a locally created `make dist` tarball,
to work-around the current FTBFS against the newest GCC:

https://src.fedoraproject.org/rpms/hello/c/af27df4609302190668b8db4cb85380aab4f7795?branch=rawhide

Waiting for a new GNU Hello release:

https://savannah.gnu.org/bugs/?67961
@praiskup praiskup force-pushed the praiskup-test-pre-release-rpmbuild branch from 125b50a to 09f3137 Compare February 1, 2026 14:16
@praiskup
Copy link
Member Author

praiskup commented Feb 1, 2026

/packit test

@praiskup praiskup force-pushed the praiskup-test-pre-release-rpmbuild branch from c0b08c2 to b872dcc Compare February 1, 2026 14:38
@praiskup
Copy link
Member Author

praiskup commented Feb 1, 2026

/packit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestingFarm: make sure pre-release copr-rpmbuild is used

1 participant