Skip to content

feat: ensure deterministic plugin loading and execution order#21

Merged
dergigi merged 3 commits intomasterfrom
plugin-loading-order
Aug 27, 2025
Merged

feat: ensure deterministic plugin loading and execution order#21
dergigi merged 3 commits intomasterfrom
plugin-loading-order

Conversation

@dergigi
Copy link
Owner

@dergigi dergigi commented Aug 27, 2025

This change ensures plugins are loaded in alphabetical order and executed sequentially for consistent behavior.

The PluginManager.load_plugins() method now sorts plugin files by filename before loading, and determine_active_plugins() returns plugin names in alphabetical order. This prevents race conditions and provides predictable plugin execution order across different runs.

@dergigi dergigi self-assigned this Aug 27, 2025
@dergigi dergigi merged commit a4fedc4 into master Aug 27, 2025
2 checks passed
@dergigi dergigi deleted the plugin-loading-order branch August 27, 2025 08:43
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

Comments