CI failing on deprecation warnings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with spec/slack/slack_spec.rb:35 and the linked CI run, then reproduce the deprecation output around the failing Slack globals test. Done means the test still checks the intended missing-token error, deprecation warnings no longer obscure it, and the CI check passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Need to relax the test a bit to allow for deprecations, and fix the deprecations.
https://github.com/slack-ruby/slack-ruby-client/runs/6746428976?check_suite_focus=true
1) Slack globals requires --slack-api-token
Failure/Error:
expect(err).to(
start_with(
'error: parse error: Set Slack API token via --slack-api-token or SLACK_API_TOKEN.'
)
)
expected "Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeR...lack [global options] auth test \n\n\n\nDESCRIPTION\n Checks authentication & identity. \n\n\n\n" to start with "error: parse error: Set Slack API token via --slack-api-token or SLACK_API_TOKEN."
# ./spec/slack/slack_spec.rb:35:in `block (3 levels) in <top (required)>'
# /Users/dblock/.rvm/gems/ruby-2.7.5/gems/webmock-3.14.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
- Ngôn ngữ chính
- Ruby
- Star
- 1.3k
- Fork
- 222
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 3
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của slack-ruby/slack-ruby-client
-
new feature question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
slack-ruby/slack-ruby-client#586 · 3 bình luận ·
-
bug?
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
slack-ruby/slack-ruby-client#579 · 3 bình luận ·
-
new feature web api
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
slack-ruby/slack-ruby-client#482 · 5 bình luận ·
-
new feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
slack-ruby/slack-ruby-client#414 · 14 bình luận ·
-
question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
slack-ruby/slack-ruby-client#385 ·
Tất cả issue của slack-ruby/slack-ruby-client
Issue tương tự
-
バグ
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Version bump for OpenVox 9 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
voxpupuli/puppet-epel#186 · 1 bình luận ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) Đang mởBug Frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
TheOdinProject/curriculum#31402 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100