[go-feature-flag] Should remote evaluation emit events and fail init on an unreachable relay proxy?
メンテナーはふだん 1 日以内に返信
@thomaspoignant がすでに取り組んでいます。
2026年10月20日 から。
評価
この issue はまだ評価されていません。
説明
Running the provider TCK against the Java GO Feature Flag provider (#1947) showed the two evaluation types behaving differently in three places. I'm not sure whether that is intended, so asking before proposing anything.
In remote mode, RemoteEvaluator passes initialize straight to OfrepProvider and adds nothing on top. As a result:
- A relay proxy that can't be reached does not fail init. A provider pointed at a dead port reaches
READY. In-process fails, because its init fetches/v1/flag/configuration. - No
PROVIDER_CONFIGURATION_CHANGED. Nothing polls, so a flag change only shows up on the next evaluation. - No
PROVIDER_STALE. An outage only shows up as per-evaluation errors. In-process goes stale after 3 failed polls (STALE_AFTER_CONSECUTIVE_FAILURES).
This matches OFREP: the server-provider guideline has no initialisation step, no polling and no events, and the OFREP API has no health endpoint. So remote mode does what OFREP asks. The question is only whether GO Feature Flag wants more than that, using its own relay-proxy endpoints:
- Should remote mode watch for changes, emitting
PROVIDER_CONFIGURATION_CHANGEDandPROVIDER_STALE? In-process already polls/v1/flag/configurationwith the ETag, and/v1/flag/changeor the SSE stream may be lighter. Or is that too much for a mode people pick so they don't sync configuration? - Should init probe the relay proxy, e.g.
GET /health, so a misconfigured endpoint fails fast instead of reachingREADY?
None of this is a spec violation. The TCK records these capabilities as not attempted in remote mode, not as defects. Whichever way this goes, I'll update the adoption to match.
The Go provider's remote mode behaves the same way: its init never contacts the relay proxy and nothing polls (go-sdk-contrib#1053).
Related: #1850 (OFREP codeDefaultFlag → FLAG_NOT_FOUND) is a separate issue that also affects remote mode.
- 主要言語
- Java
- スター
- 50
- フォーク
- 87
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 51
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
open-feature/java-sdk-contrib のほかの issue
-
test(flagd): drop the per-scenario /stop in e2e teardown once the testbed includes flagd-testbed#396オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
open-feature/java-sdk-contrib#1891 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
open-feature/java-sdk-contrib#1861 ·
メンテナーはふだん 1 日以内に返信
-
fix!: opentelemetry-semconv-incubating bump renames feature_flag.provider_name attribute対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
open-feature/java-sdk-contrib#1843 ·
メンテナーはふだん 1 日以内に返信
-
[ConfigCat] Evaluation errors are returned as a successful default with no error code対応中かも @RaphaelFakhri が 5 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
open-feature/java-sdk-contrib#1963 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 53/100
open-feature/java-sdk-contrib#1924 ·
メンテナーはふだん 1 日以内に返信
open-feature/java-sdk-contrib の issue をすべて見る
似ている issue
-
Document and enforce pull request review guidelines対応中かも @dashorst が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
`Time.at(t, in: nil)` returns UTC instead of the local time (or the time zone of `t`), unlike CRubyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
hermes-queue
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
chrisalunlloyd2-sudo/mindpalace#349 ·
メンテナーはふだん 1 日以内に返信
-
Retry-After parser accepts invalid delay-seconds values対応中かも @Dhruvraj-Rana が今日担当しました。 オープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
open-telemetry/opentelemetry-java#9018 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dropwizard/dropwizard#11410 ·
メンテナーはふだん 1 日以内に返信