Skip to content

Cleanup step should apply to all guests, even not ready ones#4866

Merged
happz merged 1 commit into
mainfrom
cleanup-for-all-guests
May 13, 2026
Merged

Cleanup step should apply to all guests, even not ready ones#4866
happz merged 1 commit into
mainfrom
cleanup-for-all-guests

Conversation

@happz
Copy link
Copy Markdown
Contributor

@happz happz commented May 7, 2026

Related to #4834.

Pull Request Checklist

  • implement the feature

@happz happz added this to planning May 7, 2026
@happz happz added bug Something isn't working ci | full test Pull request is ready for the full test execution labels May 7, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning May 7, 2026
@happz happz moved this from backlog to implement in planning May 7, 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 refactors guest handling by introducing a _steppify_guest helper and splitting guest retrieval into _steppified_guests (all guests) and _steppified_ready_guests (ready guests). Feedback highlights that redefining _steppified_guests to include all guests is a breaking change that could cause regressions in steps like execute. Furthermore, the ready_only parameter in add_phase is currently ineffective for go() methods because it is not stored within the Phase object. Minor documentation and grammar improvements were also suggested.

Comment thread tmt/steps/__init__.py
Comment thread tmt/steps/__init__.py
Comment thread tmt/steps/__init__.py
Comment thread tmt/steps/__init__.py
@happz happz moved this from implement to review in planning May 7, 2026
@LecrisUT
Copy link
Copy Markdown
Member

LecrisUT commented May 7, 2026

Related to #4185 and co also? I think there are 1-2 more similar issues

@happz
Copy link
Copy Markdown
Contributor Author

happz commented May 7, 2026

Related to #4185 and co also? I think there are 1-2 more similar issues

Maybe, I don't know. I'm fixing issue reported in #4834, found another two based bugs right there, if there are other issues fixed by this, please, mention them, as I don't recall them.

#4185 namely seems to be dealing with different part of the guest/cleanup workflow, so I dare to say this PR is not related.

@psss psss added this to the 1.74 milestone May 7, 2026
@psss psss moved this from review to merge in planning May 12, 2026
@psss psss force-pushed the cleanup-for-all-guests branch from c6f3677 to a8429ab Compare May 13, 2026 13:57
@happz happz merged commit ceb38c7 into main May 13, 2026
35 checks passed
@happz happz deleted the cleanup-for-all-guests branch May 13, 2026 20:46
@github-project-automation github-project-automation Bot moved this from merge to done in planning May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci | full test Pull request is ready for the full test execution

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

Artemis guest request not cancelled on SIGTERM, cleanup crashes with MetadataError

4 participants