Skip to content

Fix actions not running in priority order - #107

Merged
centau merged 2 commits into
centau:mainfrom
kaan650:fix-action-priority
Oct 22, 2026
Merged

centau merged 2 commits into
centau:mainfrom
kaan650:fix-action-priority

Conversation

@kaan650

@kaan650 kaan650 commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Fixes #83

Actions were run by iterating the map of priorities, which only gives ascending order when the priorities are consecutive integers starting from 1. With priorities like 0, 2.5 or 10 the order was arbitrary.

The apply cache now keeps a sorted list of the priorities it has seen, so sorting only happens the first time a priority is used, and actions run from the lowest priority to the highest as the docs describe.

@centau
centau merged commit d99dbe1 into centau:main Oct 22, 2026
1 check passed
@centau

centau commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Thank you

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.

Action Priority is wrong

2 participants