autotasker/TODO.md

45 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2024-07-21 19:27:43 +00:00
# Work
2024-04-27 09:59:43 +00:00
2024-07-21 19:27:43 +00:00
## TODO
2024-04-27 09:59:43 +00:00
2024-07-28 16:34:03 +00:00
- [x] Add CSS badge and color code on job status
2024-08-02 14:39:21 +00:00
- [x] Add `Dockerfile`
- [x] Add cli arg to change listen address and port
- [x] Add tasks timeout
- [ ] Support connecting to remote server by SSH to execute task remotely
- [ ] Add details on runtime
- [ ] Implement basic auth with OAuth2, find a minimal oauth2
- [ ] Provide example of nginx config with basic auth support excluding webhook
2024-07-26 13:00:51 +00:00
- [ ] Add a way to categorize tasks, regroup tasks
- [ ] Don't use long UUID, but only ids
2024-07-21 19:27:43 +00:00
- [ ] Validating config file
2024-07-22 18:25:30 +00:00
- validate schedule CRON syntax
2024-07-21 19:27:43 +00:00
- [ ] Add CI/CD to build docker image
2024-07-26 13:00:51 +00:00
- [ ] Add configuration options to limit the logs capture head and tail
2024-07-21 19:27:43 +00:00
- In a limited mode, we would filter out logs and only keep the head and tail AND Errors or stacktrace
- [ ] Sort tasks run history by date
2024-07-26 13:00:51 +00:00
- [ ] Add pagination of tasks run history
- [ ] JSON support, content-negotiation, can be used with a CLI API client
2024-07-21 19:27:43 +00:00
- [ ] Websocket return of logs
- [ ] Add openmetrics exporter endpoint to alert when jobs fails
- [ ] Support role authorization RBAC, reader and writer.
- Reader can only read logs and tasks results
- Writter can trigger task run.
2024-04-27 09:59:43 +00:00
2024-07-26 13:00:51 +00:00
- [ ] TO see: Adapt the rate at which we update logs into the DB depending on the rate the program is outputing logs (or duration of program)?
- [ ] Add stable orders of tasks, sort by a "order" field or by name and category?
2024-07-21 19:27:43 +00:00
## Archive
2024-04-27 09:59:43 +00:00
2024-07-21 19:27:43 +00:00
- [x] setup sqlite
- [x] store of task run logs in sqlite
- [x] Implement basic scheduler
- [x] Add basic CSS
- [x] Load config file from `/etc/`
2024-07-26 13:00:51 +00:00
- [x] Implement support for webhook and debouncing of webhook
- [x] Add stderr capture
- [x] Save logs incremently, in regular fashion
- [x] Add HTML table instead of UL for tasks run history
- [x] Add a way to trigger one or multiples tasks from a webhook endpoint, defined in a config file