Skip to content

Refine koji artifact error handling#4956

Open
LecrisUT wants to merge 2 commits into
teemtee:mainfrom
LecrisUT:fix/4929
Open

Refine koji artifact error handling#4956
LecrisUT wants to merge 2 commits into
teemtee:mainfrom
LecrisUT:fix/4929

Conversation

@LecrisUT
Copy link
Copy Markdown
Member

@LecrisUT LecrisUT commented Jun 3, 2026

  • The try except was too eager and it would fail during the raising of the exception
  • The /etc/koji is part of koji package, python3-koji is insufficient. Seems testing-farm was hiding this issue because of injected dependencies

Fixes #4929

LecrisUT added 2 commits June 3, 2026 11:43
Signed-off-by: Cristian Le <git@lecris.dev>
Signed-off-by: Cristian Le <git@lecris.dev>
@LecrisUT LecrisUT added this to planning Jun 3, 2026
@LecrisUT LecrisUT added the ci | full test Pull request is ready for the full test execution label Jun 3, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning Jun 3, 2026
@LecrisUT LecrisUT moved this from backlog to review in planning Jun 3, 2026
Copy link
Copy Markdown
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 updates the RPM packaging spec file to replace the automatic prepare-artifact subpackage with a manually defined tmt+prepare-artifact package requiring koji and python3-copr. It also refactors tmt/steps/prepare/artifact/providers/koji.py to move the Koji configuration reading logic outside of the try...except block. There are no review comments to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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

Labels

ci | full test Pull request is ready for the full test execution

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

prepare/artifact: confusing error when koji config is missing

1 participant