-
Notifications
You must be signed in to change notification settings - Fork 63
Implement Sandbox notifications processor and publisher #595
Implement Sandbox notifications processor and publisher #595
Conversation
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Flyte-Bot <admin@flyte.org> Co-authored-by: eapolinario <eapolinario@users.noreply.github.com> Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Flyte-Bot <admin@flyte.org> Co-authored-by: flyte-bot <flyte-bot@users.noreply.github.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>
8c9e1ca
to
c4a0fcf
Compare
Signed-off-by: Future Outlier <eric901201@gmai.com>
…ture-Outlier/flyteadmin into first-version-email-publihser
Signed-off-by: Future Outlier <eric901201@gmai.com>
Codecov Report
@@ Coverage Diff @@
## master #595 +/- ##
==========================================
+ Coverage 58.42% 60.26% +1.84%
==========================================
Files 168 170 +2
Lines 16393 13433 -2960
==========================================
- Hits 9578 8096 -1482
+ Misses 5964 4486 -1478
Partials 851 851
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…dbox_processor_test.go Signed-off-by: Future Outlier <eric901201@gmai.com>
@pingsutw I've updated my test, please check it. |
I am not pretty sure whether use a noop emailer or a mock emailer, please get in touch with me if it is necessary to change the code. |
Signed-off-by: Future Outlier <eric901201@gmai.com>
BTW, I just copy the master branch's go.mod and go.sum to my branch currently and run "go mod tidy" |
pkg/async/notifications/implementations/sandbox_publisher_test.go
Outdated
Show resolved
Hide resolved
pkg/async/notifications/implementations/sandbox_processor_test.go
Outdated
Show resolved
Hide resolved
…in factory_test.go Signed-off-by: Future Outlier <eric901201@gmai.com>
…sting Signed-off-by: Future Outlier <eric901201@gmai.com>
c05a78c
pkg/async/notifications/implementations/sandbox_processor_test.go
Outdated
Show resolved
Hide resolved
…name both of them Signed-off-by: Future Outlier <eric901201@gmai.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. This is failing the code coverage check, but I think the code cov annotations have suggestions for some additional test cases we could use to bump the code coverage on this PR and so that we can test more scenarios
Thanks for the suggestions, I've learned a lot! |
…de coverage Signed-off-by: Future Outlier <eric901201@gmai.com>
…or adn publisher Signed-off-by: Future Outlier <eric901201@gmai.com>
Signed-off-by: Future Outlier <eric901201@gmai.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding all the unit tests!
TL;DR
Implement notifications processor and publisher for Sandbox.
Type
Are all requirements met?
Complete description
Add new SandboxProcessor and SandboxPublisher that implement the Processor interface.
I add config in yaml file like this
screenshot
Tracking Issue
Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue
fixes https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/