Skip to content

ci: This PR is to trigger periodic CI testing#4

Draft
systemroller wants to merge 3 commits intomainfrom
weekly-ci
Draft

ci: This PR is to trigger periodic CI testing#4
systemroller wants to merge 3 commits intomainfrom
weekly-ci

Conversation

@systemroller
Copy link
Copy Markdown

@systemroller systemroller commented Apr 18, 2026

This PR is for the purpose of triggering periodic CI testing. We don't currently have a way to trigger CI without a PR, so this PR serves that purpose.

Summary by Sourcery

New Features:

  • Introduce a dump_packages aggregate callback plugin to collect package names from package, dnf, and yum tasks for CI analysis.

@systemroller
Copy link
Copy Markdown
Author

[citest]

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Apr 18, 2026

Reviewer's Guide

Adds a new Ansible callback plugin used by CI to collect and print all package names involved in package-related tasks, enabling extraction of package lists for image builds during periodic testing.

File-Level Changes

Change Details Files
Introduce an aggregate Ansible callback plugin that inspects successful package-related tasks and logs the set of packages involved for CI consumption.
  • Define callback plugin metadata and configuration for an aggregate callback named dump_packages, compatible with older Ansible versions.
  • Implement v2_runner_on_ok to filter successful tasks for package-related modules (package, dnf, yum) where state is not absent.
  • Extract package names from task invocation results, handling both single and list-valued name arguments and both top-level and per-item result structures.
  • Deduplicate and sort collected package names, then emit them in a single lsrpackages: line via the callback display mechanism.
tests/callback_plugins/dump_packages.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@systemroller
Copy link
Copy Markdown
Author

[citest]

@systemroller
Copy link
Copy Markdown
Author

[citest]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant