SDK tests and docstrings say a flag that is not ACTIVE answers 404; it answers 200 with enabled: false

Đang mở
#1,378 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, elixir, java, javascript, react, react-native, ruby

Hướng nghiên cứu

Start with sdk/ruby/spec/controlvar/client_spec.rb near line 245, then locate equivalent flag-status test titles, mocks, and docstrings in the JS, React, edge, Elixir, Java, React Native, and Android SDKs. Verify each status against the API contract, including the iOS mock’s {"detail":"archived"} response. If a test is renamed, update the corresponding claims under docs/_claims/ in the same change and run the affected SDK test suites.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

documentation

What is wrong

Several SDKs' test titles, mocks and docstrings say that evaluating a flag answers 404 when the flag is not ACTIVE.

  • One example is sdk/ruby/spec/controlvar/client_spec.rb, about line 245.
  • Similar titles are in the js, React, edge, Elixir, Java, React Native and Android SDKs.
  • There is also an iOS mock with {"detail":"archived"}.

The API answers an INACTIVE flag with 200, enabled: false and reason inactive. The fix should check what each flag
status actually answers.

Notes

Some of these test titles are cited by documentation claims under docs/_claims/. A renamed test must move its claims
in the same change, and a test's meaning must not change under its old name.

Ngôn ngữ chính
Python
Star
0
Fork
4
Merge trung bình
5 giờ 36 phút
Pull request đã merge (30 ngày)
509

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Controlvar/controlvar

Tất cả issue của Controlvar/controlvar

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.