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

オープン
#1,378 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, elixir, java, javascript, react, react-native, ruby

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
0
フォーク
4
平均マージ
5時間 19分
マージ済み PR(30日)
503

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Controlvar/controlvar のほかの issue

Controlvar/controlvar の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。