Skip to content

Investigate using SRC api to send messages to users #463

Description

@dometto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions