Conversation
…r fedora 43 [citest_skip] tox-lsr 3.17.0 has some container test improvements - better output, faster runs Use Ansible 2.20 for qemu/container tests on fedora 43 Signed-off-by: Rich Megginson <rmeggins@redhat.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates CI workflows to use tox-lsr 3.17.0 and Ansible 2.20 for Fedora 43 test matrices, and optimizes container test runs by adjusting environment flags between first and subsequent test executions. Sequence diagram for optimized container test runs with tox_lsr_3_17_0 and Ansible_2_20sequenceDiagram
actor Developer
participant GitHubActions
participant CIJob as CI_Job_Container_Tests
participant ToxLsr as Tox_Lsr_3_17_0
participant TestEnv as Container_Test_Environment
participant Ansible220 as Ansible_2_20
Developer ->> GitHubActions: Push changes / open PR
GitHubActions ->> CIJob: Start container test workflow
CIJob ->> CIJob: Install tox-lsr 3.17.0 via pip
CIJob ->> ToxLsr: Invoke tox with container env list
ToxLsr ->> TestEnv: First container test run with full flags
TestEnv ->> Ansible220: Execute playbooks on Fedora 43
Ansible220 -->> TestEnv: Test results
ToxLsr ->> TestEnv: Subsequent container runs with optimized flags
TestEnv ->> Ansible220: Reuse Ansible 2.20 on Fedora 43
Ansible220 -->> TestEnv: Test results
TestEnv -->> ToxLsr: Aggregated container test outcomes
ToxLsr -->> CIJob: Summarized results with improved output
CIJob -->> GitHubActions: Job status and logs
GitHubActions -->> Developer: CI status for PR
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The tox-lsr version string is duplicated across multiple workflows; consider centralizing it via a reusable workflow, composite action, or a single env variable to make future version bumps less error-prone.
- The new SKIP_REQUIREMENTS/SKIP_CALLBACK_PLUGINS logic in the container loop is subtle; it may be worth adding a brief comment explaining why only the first test run needs full setup so future changes don’t inadvertently reorder or parallelize the tests.
- Now that the LSR_CONTAINER_PROFILE/LSR_CONTAINER_PRETTY hack is removed, double-check whether any other workflows or scripts still rely on these vars to avoid inconsistent behavior between CI paths.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The tox-lsr version string is duplicated across multiple workflows; consider centralizing it via a reusable workflow, composite action, or a single env variable to make future version bumps less error-prone.
- The new SKIP_REQUIREMENTS/SKIP_CALLBACK_PLUGINS logic in the container loop is subtle; it may be worth adding a brief comment explaining why only the first test run needs full setup so future changes don’t inadvertently reorder or parallelize the tests.
- Now that the LSR_CONTAINER_PROFILE/LSR_CONTAINER_PRETTY hack is removed, double-check whether any other workflows or scripts still rely on these vars to avoid inconsistent behavior between CI paths.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tox-lsr 3.17.0 has some container test improvements - better output, faster runs
Use Ansible 2.20 for qemu/container tests on fedora 43
Signed-off-by: Rich Megginson rmeggins@redhat.com
Summary by Sourcery
Update CI workflows to use tox-lsr 3.17.0 and Ansible 2.20 for Fedora 43 test scenarios, while optimizing container test execution behavior.
CI: