robusta-dev/robusta

Slack SDK fails on large file uploads

Closed this issue · 1 comments

Describe the bug
/usr/local/lib/python3.9/site-packages/slack_sdk/web/internal_utils.py:450: UserWarning: client.files_upload() may cause some issues like timeouts for relatively large files. Our latest recommendation is to use client.files_upload_v2(), which is mostly compatible and much stabler, instead.

To Reproduce
Steps to reproduce the behavior:

  1. Have a k8s cluster with a lot of stuff on it.
  2. Attempt to use krr with a slack sink to send cost reports to Slack.

Expected behavior
The file should be in my slack channel.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: mac OSX
  • N/A
  • Sonoma 14.1

Smartphone (please complete the following information):

  • N/A

Additional context
Slack looks like they fixed this in their latest release. So theoretically all one should need to do is update the dependencies and it should work.

Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.