Flagsmith / Flagsmith/flagsmith-ruby-client

Support `$.flags` context values in segment conditions

Đang mở
#106 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
12
Fork
6
Merge trung bình
28 phút
Pull request đã merge (30 ngày)
1

Mô tả

Support `$.flags..` conditions.

### Acceptance criteria

Engine:

- `engine-test-data` is bumped to the tag containing the flag dependency cases, and they pass.
- An environment with no `$.flags` conditions gains no per-evaluation cost.
- Resolved flags are scoped to a single evaluation, never shared between concurrent evaluations.

SDK:

- `getFlags` passes segments to the engine so identity-less evaluation resolves `$.flags` and `$.environment` conditions.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by tracing SDK getFlags into the engine and inspect how segments and per-evaluation context are passed. Use the engine-test-data tag containing the flag dependency cases as the first validation point; done means $.flags conditions work for identity-less evaluation, environments without them avoid added per-evaluation cost, and concurrent evaluations do not share resolved flags.

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

Đánh giá

Công nghệ
ruby
Lĩnh vực
backend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

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.