Skip to content

Post Action Plugin Infrastructure - #277

Open
amd-benprice wants to merge 4 commits into
developmentfrom
ben_post_actions
Open

Post Action Plugin Infrastructure#277
amd-benprice wants to merge 4 commits into
developmentfrom
ben_post_actions

Conversation

@amd-benprice

@amd-benprice amd-benprice commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds post-actions, which is a method of running more plugins based on the granular results of prior plugins. Post actions can be specified only through the plugin configuration JSON file. The README is updated with the specific semantics of how post actions can be configured. Any plugin can be used as a post-action plugin. This PR also adds unit tests for post actions, and updates one existing unit test.

This PR also contains a bugfix that prevented OS detection during remote execution. The fix was to not make a pydantic model copy of system_info in pluginexecutor.py, and instead use the pre-existing instance of the model. The copy would be update with the correct OS family, but the original, which was then passed to the plugins themselves, was not updated, which caused all plugins to not run.

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed

@amd-benprice amd-benprice self-assigned this Aug 31, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation tests framework labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation framework tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant