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ự
-
user-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Kong/developer.konghq.com#7316 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
TheOdinProject/curriculum#31408 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
CI: json 3.0.2 removed `quirks_mode`, breaking ActiveSupport's JSON encoder on every test job Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
bensheldon/good_job#1816 · 5 bình luận ·