Local evaluation silently drops identity overrides on large environments

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

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

@marc-merino がすでに取り組んでいます。

2026年10月8日 から。

  • #200 @marc-merino による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
csharp

調査の方向性

.NET クライアントのローカル評価における環境の取得とキャッシュ取り込みを追跡することから始め、その後、flagsmith-nodejs-client#205 のリファレンス実装と比較してください。複数ページの環境での動作と、リフレッシュのタイミングに関する経路を確認してください。完了の条件は、Identity のオーバーライドがリモート評価と一致し、単一ページでの動作が変わらず、遅いリフレッシュで両方の所要時間がログに記録されることです。

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

説明

Server-side SDKs cache the environment document for local evaluation, but the .NET client today only ingests the first response page. For environments large enough to span multiple pages — typically those with many identity overrides — every override beyond the first page is missing from the local cache. Affected identities are evaluated against an incomplete environment and may receive flags that disagree with remote evaluation, with no error surfaced to the operator.

Acceptance criteria

  • Local evaluation returns the same identity-override results as remote evaluation regardless of how large the environment is.
  • Existing users on environments small enough to fit a single page see no behaviour or configuration change.
  • When fetching a full environment takes longer than the configured refresh interval, the SDK logs a warning naming both durations, so the operator knows to raise the interval or trim the environment.

Parent: Flagsmith/flagsmith#4664
Reference implementation: Flagsmith/flagsmith-nodejs-client#205

主要言語
C#
スター
20
フォーク
17
平均マージ
21時間 47分
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Flagsmith/flagsmith-dotnet-client のほかの issue

Flagsmith/flagsmith-dotnet-client の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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