Skip to content

Attach test environment to its invocation#4452

Merged
thrix merged 3 commits intomainfrom
test-invocation-environment-moved
Jan 13, 2026
Merged

Attach test environment to its invocation#4452
thrix merged 3 commits intomainfrom
test-invocation-environment-moved

Conversation

@happz
Copy link
Contributor

@happz happz commented Dec 29, 2025

This will present the same environment to all users of test invocation, from checks to test itself and its results. It was also not clear who is responsible for the environment and its composition, now when it's part of the invocation, all execute plugins should see the same content.

Pull Request Checklist

  • implement the feature

@happz happz added the code | style Code style changes not affecting functionality label Dec 29, 2025
@happz happz added this to planning Dec 29, 2025
@happz happz added code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way. ci | full test Pull request is ready for the full test execution labels Dec 29, 2025
@github-project-automation github-project-automation bot moved this to backlog in planning Dec 29, 2025
@happz happz moved this from backlog to implement in planning Dec 29, 2025
@happz happz force-pushed the test-invocation-environment-moved branch from 9b129e8 to 6d96626 Compare December 29, 2025 20:40
@happz happz force-pushed the stopwatch-use-formatted-attributes branch from 252dce7 to bbf844d Compare January 5, 2026 12:19
Base automatically changed from stopwatch-use-formatted-attributes to main January 5, 2026 14:24
@happz happz force-pushed the test-invocation-environment-moved branch from 35e6411 to 1263261 Compare January 5, 2026 14:26
@happz happz moved this from implement to review in planning Jan 8, 2026
@happz happz force-pushed the test-invocation-environment-moved branch from 1263261 to f0f4627 Compare January 8, 2026 09:55
@happz
Copy link
Contributor Author

happz commented Jan 8, 2026

/packit restart-failed

@psss psss added this to the 1.65 milestone Jan 8, 2026
Copy link
Collaborator

@tcornell-bus tcornell-bus left a comment

Choose a reason for hiding this comment

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

LGTM

@happz happz force-pushed the test-invocation-environment-moved branch from f0f4627 to c397570 Compare January 10, 2026 10:28
@thrix thrix requested review from LecrisUT, psss and thrix January 12, 2026 11:29
Copy link
Contributor

@thrix thrix left a comment

Choose a reason for hiding this comment

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

Conclusion
The refactoring achieves its goal of centralizing environment management in TestInvocation. The implementation is sound after the fixes for the caching issue. The "no functional change" label appears accurate - this is purely an internal refactoring that presents the same environment through a different mechanism.

The code is well-structured and all identified issues have been addressed.

@thrix thrix moved this from review to merge in planning Jan 13, 2026
@thrix thrix enabled auto-merge (squash) January 13, 2026 13:44
happz added 3 commits January 13, 2026 20:35
This will present the same environment to all users of test invocation,
from checks to test itself and its results. It was also not clear who is
responsible for the environment and its composition, now when it's part
of the invocation, all `execute` plugins should see the same content.
@thrix thrix force-pushed the test-invocation-environment-moved branch from c397570 to 46aa5e9 Compare January 13, 2026 19:35
@thrix thrix disabled auto-merge January 13, 2026 19:35
@thrix thrix enabled auto-merge (squash) January 13, 2026 19:36
@thrix thrix disabled auto-merge January 13, 2026 21:59
@thrix thrix merged commit a8bf44f into main Jan 13, 2026
26 checks passed
@thrix thrix deleted the test-invocation-environment-moved branch January 13, 2026 22:01
@github-project-automation github-project-automation bot moved this from merge to done in planning Jan 13, 2026
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 code | no functional change "No Functional Change" intended. Patch should not change tmt's behavior in any way. code | style Code style changes not affecting functionality

Projects

Status: done

Development

Successfully merging this pull request may close these issues.

4 participants