🚀 Feature: Devtools Backend Tasks Status
🔖 Feature description
In the devtools plugin, it would be nice to see the backend tasks (ref table: backstage_backend_tasks__tasks) that are upcoming, the status of previously run tasks, and potentially, the ability to change the date and time when the task will run again.
🎤 Context
In our use case, it's helpful to not have to go to the database directly to view when these tasks are scheduled to run. Additionally, updating them directly in the DB to force the task to run is error prone and offers a lot of room for trouble.
✌️ Possible Implementation
Another tab on the DevTools page showing scheduled jobs.
👀 Have you spent some time to check if this feature request has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else
Hi! This has been asked for before but there are a few missing pieces. The scheduler is plugin scoped so its state is local to the plugin itself. It also does not have an API. There also is no framework way of enumerating all plugins :)
Which means that the devtools wouldn't have a way of actually gathering the information!
There's been some discussion about making it possible to enumerate the installed plugins reliably but it's not been prioritised yet. When that's in place, we could add the rest of the pieces.
We have our own service that collects all the schedulers from all plugins so we can show these on the devtools page and also trigger the tasks manually. Not very beautiful way of doing this but best for now :D
We have our own service that collects all the schedulers from all plugins so we can show these on the devtools page and also trigger the tasks manually. Not very beautiful way of doing this but best for now :D
Would you mind sharing more details on this service? We would like a similiar feature, with the possibility of triggering the tasks as well
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
There's been some discussion about making it possible to enumerate the installed plugins reliably but it's not been prioritised yet. When that's in place, we could add the rest of the pieces.
Are there any updates to this with the new backend system?
No, the backend system in and of itself didn't implement that feature. It'll be nicer to build the feature upon that system, but no, it's not in place.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.