This is an automated email from the ASF dual-hosted git repository.
sadpandajoe pushed a change to branch codex/fix-slack-v1-private-channel-reports
in repository https://gitbox.apache.org/repos/asf/superset.git
from 1fc70cbcc15 fix(reports): prevent duplicate Slack deliveries
add 0da13bbea6a fix(reports): harden Slack delivery upgrade flow
No new revisions were added by this update.
Summary of changes:
UPDATING.md | 2 +-
superset/commands/report/execute.py | 287 +++------------------
superset/commands/report/slack_upgrade.py | 202 +++++++++++++++
superset/config.py | 6 +
superset/reports/notifications/slack.py | 10 +-
.../notifications/slack_channel_resolver.py | 104 ++++++++
superset/reports/notifications/slack_mixin.py | 232 -----------------
.../{slack_mixin.py => slack_transport.py} | 158 +++---------
superset/reports/notifications/slackv2.py | 11 +-
superset/utils/decorators.py | 17 +-
superset/utils/slack.py | 175 +++++++++----
tests/integration_tests/reports/commands_tests.py | 14 +-
tests/unit_tests/commands/report/execute_test.py | 142 +++++++---
.../reports/notifications/slack_tests.py | 144 +++++++++--
tests/unit_tests/utils/slack_test.py | 207 ++++++++++++++-
tests/unit_tests/utils/test_decorators.py | 17 ++
16 files changed, 967 insertions(+), 761 deletions(-)
create mode 100644 superset/commands/report/slack_upgrade.py
create mode 100644 superset/reports/notifications/slack_channel_resolver.py
copy superset/reports/notifications/{slack_mixin.py => slack_transport.py}
(63%)