There is now an API that allows sending notifications to CO members: you will then get a notification in the portal, and an email (if you've subscribed to this).
Here is an example of how SURF uses this on a workspace: https://gitlab.com/rsc-surf-nl/plugins/plugin-co/-/blob/main/files/check_fs_usage.sh#L24
We could use this to post messages e.g. when:
- long job runs have completed (
run_and_paus.sh in this repo -- this could be implemented right away!)
- When a workspace is idling? (it may be that surf will implement this in the platform itself)
- In the future: when a restart is required (after installing a security update -)
- In the future: when security issues are found (with some open source monitoring tool?)
Start by investigating manually using this API from an SRC workspace.
There is now an API that allows sending notifications to CO members: you will then get a notification in the portal, and an email (if you've subscribed to this).
Here is an example of how SURF uses this on a workspace: https://gitlab.com/rsc-surf-nl/plugins/plugin-co/-/blob/main/files/check_fs_usage.sh#L24
We could use this to post messages e.g. when:
run_and_paus.shin this repo -- this could be implemented right away!)Start by investigating manually using this API from an SRC workspace.