-
Notifications
You must be signed in to change notification settings - Fork 249
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
FlyIn (VSCode) Plugin Notification #1953
base: master
Are you sure you want to change the base?
FlyIn (VSCode) Plugin Notification #1953
Conversation
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1953 +/- ##
==========================================
- Coverage 85.77% 85.53% -0.25%
==========================================
Files 313 309 -4
Lines 23500 23017 -483
Branches 3512 3512
==========================================
- Hits 20158 19687 -471
+ Misses 2734 2722 -12
Partials 608 608 ☔ View full report in Codecov by Sentry. |
…nto vscode-plugin-notification
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
…nto vscode-plugin-notification
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
…nto vscode-plugin-notification
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
…code-plugin-notification Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
Signed-off-by: Future-Outlier <eric901201@gmai.com>
My preference is to have a node or a task notification logic and uses the central notification system. Granted this will need a bigger change, but I s extremely useful for many other scenarios, we can use it for HITL, or signal nodes too. Sample ''' |
Thanks a lot, will think about this problem tomorrow! |
Tracking issue
Fixes flyteorg/flyte#4284
Why are the changes needed?
In some cases, users want to notify themselves before the vscode server is terminated.
What changes were proposed in this pull request?
BaseNotifier
, for creating a notifier likeSendgridNotifier
orSlackNotifier
NotifierExecutor
, for handling cases when messages need to be sentwarning_seconds_before_termination
in the vscode decorator, for deciding when to send notification to usersnotifier
in the vscode decorator, for sending email by specific services. (e.g. sendgrid and slack)How was this patch tested?
Setup process
flytesnacks-development
usingkubectl
(default secret mount place in flyte)docker buildx build -t localhost:30000/flyin-notification:1655 -f DockerfileFlyin_v2 . --load
Screenshots
Sendgrid
Slack
Check all the applicable boxes