Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron jobs are attempted before module has finished deploying #2263

Closed
stuartwdouglas opened this issue Aug 6, 2024 · 2 comments
Closed

Cron jobs are attempted before module has finished deploying #2263

stuartwdouglas opened this issue Aug 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@stuartwdouglas
Copy link
Collaborator

Running ftl dev on the cron example I see the following:

info:http: Building module
info:cronjobs: Building module
info:cron: executing job crn-cronjobs-everyTenSeconds-2x2btvmkgl8f786t
info:cron: executing job crn-cronjobs-everyMinute-434nzs8ly1iekilw
error:controller0: failed to execute cron job crn-cronjobs-everyTenSeconds-2x2btvmkgl8f786t: not_found: could not resolve reference cronjobs.everyTenSeconds: not found
error:controller0: failed to execute cron job crn-cronjobs-everyMinute-434nzs8ly1iekilw: not_found: could not resolve reference cronjobs.everyMinute: not found

It looks like the cron jobs are attempted before the module is fully deployed.

@stuartwdouglas stuartwdouglas added the bug Something isn't working label Aug 6, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Aug 6, 2024
@ftl-robot ftl-robot mentioned this issue Aug 6, 2024
@wesbillman wesbillman removed the triage Issue needs triaging label Aug 6, 2024
@wesbillman
Copy link
Collaborator

Might be related to a larger "ordering" issue/solution for these types of actions.

@stuartwdouglas
Copy link
Collaborator Author

I am closing this as a special case of #2793 . Even though this has improved recently it won't be 100% until #2793 is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants