Skip to content

fix: don't make worker and scheduler module names compile-time dependencies - #224

Merged
zachdaniel merged 1 commit into
ash-project:mainfrom
Forge-of-Apps:fix/module-names-no-depend
Oct 20, 2026
Merged

zachdaniel merged 1 commit into
ash-project:mainfrom
Forge-of-Apps:fix/module-names-no-depend

Conversation

@etareduction

Copy link
Copy Markdown
Contributor

A trigger's worker_module_name and scheduler_module_name, and a scheduled action's worker_module_name, make the module that declares them depend at compile time on the modules they name. AshOban defines those modules while compiling the resource, so a trigger declared in a fragment forms a compile-connected cycle with its resource.

AshOban only uses these names to define the modules, so nothing needs them at compile time. This lists them in no_depend_modules, alongside actor_persister.

@zachdaniel
zachdaniel merged commit 6c3edcf into ash-project:main Oct 20, 2026
23 of 25 checks passed
@zachdaniel

Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

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.

2 participants