Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Notifications Subsystem #13227

Closed
9 tasks
dannykopping opened this issue May 10, 2024 · 2 comments
Closed
9 tasks

Epic: Notifications Subsystem #13227

dannykopping opened this issue May 10, 2024 · 2 comments
Assignees
Labels
cli Area: CLI feature Something we don't have yet ☂️ epic An issue of issues site Area: frontend dashboard

Comments

@dannykopping
Copy link
Contributor

dannykopping commented May 10, 2024

We will be building a notification subsystem into Coder which will facilitate the sending of manual & automatic messages.

We're going to start off by building a low-fidelity vertical slice of the functionality to validate a few ideas. This version will not be merged into main necessarily; it's more to smoke out any flaws / oversights in the design.

Initial spike

  • create terraform resource referencing coder_agent metadata keys for rule-based evaluations
  • create database entities for notification "templates", "instances", and "conditions"
  • create basic evaluation engine to create notification "instances" from "template" once coder_agent metadata value crosses threshold (or some other condition becomes true)
  • create and run n in-process notification consumers (reading from the database queue)
    • start with n=1 initially, but stretch goal to have n>1 working (to sniff out lock contention problems)
  • implement routing of notification instances to the matching workspace(s)
  • enable basic notification display in Coder UI
  • (stretch) enable notification display in CLI
  • (stretch) enable notification display in VSCode
  • (stretch) enable notification display in JetBrains
@dannykopping dannykopping added the ☂️ epic An issue of issues label May 10, 2024
@dannykopping dannykopping self-assigned this May 10, 2024
@coder-labeler coder-labeler bot added cli Area: CLI feature Something we don't have yet site Area: frontend dashboard labels May 10, 2024
@dannykopping
Copy link
Contributor Author

We're rescoping this project to deal with system-generated notifications instead.
I will link to the new milestone once created.

@dannykopping dannykopping closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@dannykopping
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Area: CLI feature Something we don't have yet ☂️ epic An issue of issues site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

1 participant