-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix: pass slack recipients correctly #29721
Conversation
d58780e
to
9cdf36c
Compare
ab825c8
to
d24bddc
Compare
d24bddc
to
89b3b99
Compare
@supersetbot label 4.1 |
b6ceefc
to
338ed7a
Compare
a2885ee
to
991aa53
Compare
@@ -230,6 +230,7 @@ module = "tests.*" | |||
check_untyped_defs = false | |||
disallow_untyped_calls = false | |||
disallow_untyped_defs = false | |||
disable_error_code = "annotation-unchecked" |
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.
This was needed to skip the error: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
It seems like it should be covered in check_untyped_defs = false
but it is not.
@@ -53,6 +53,9 @@ function test_init() { | |||
echo Superset init | |||
echo -------------------- | |||
superset init | |||
echo Load test users | |||
echo -------------------- | |||
superset load-test-users |
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.
small fix after an earlier refactor where the test script stopped loading test users.
991aa53
to
429c8b2
Compare
Nice! I see some new tests in there too. |
(cherry picked from commit 57e8cd2)
SUMMARY
There was a bug where the slack recipients weren't getting updated correctly when they changed from v1 name to v2 ids during execution. This also adds slack channels to header logs so that if there is an error of channel_not_found for example, we can check the logs to see which channels were passed in. And lastly I found that the integration tests weren't loading user data, so I fixed that as well.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Run a test with slack and check that logs include this new information.
ADDITIONAL INFORMATION