scheduled tasks show in dashboard until complete
I'm scheduling functions with a 0ms delay, and the scheduled function shows in the dashboard, but the time has already past. This is happening in a mutation, which I know schedules functions post-transaction, so wondering if it's possible the delay is being translated into a past timestamp.
3 Replies
Hmm so it timed out after 300s I see now - does a function show as scheduled until it it's invoked or completed? I would have expected invocation to clear it from the scheduled functions count in the dashboard
functions show in the dashboard as scheduled until they are completed. we have been considering adding a "scheduled job state" which could be pending, in-progress, failed, etc. Would that help?
(your feedback helps us prioritize 😃 )
For sure - in an ideal world, we'd get a log when it invokes, logs as they occur since they're not atomic, and then a final log on completion. At this point in my migration I'm focused on debugging and troubleshooting, but the status itself may become important for observability once we're live.
By "logs as they occur" I mean any logging the action does, in realtime