Skip to content
Open
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
46baabd
FFL-1273 C binding for feature flag evaluation
sameerank Nov 14, 2025
bbf5bc4
FFL-1273 Feature flags extension module
dd-oleksii Nov 14, 2025
4707708
FFL-1273 Add NativeEvaluator
dd-oleksii Nov 17, 2025
3526f76
Move documentation comments to C extension
dd-oleksii Nov 19, 2025
27e7946
fix: skip nil attributes
dd-oleksii Nov 20, 2025
2a4af25
fix: release evaluation context after evaluation
dd-oleksii Nov 20, 2025
e9752cc
refactor: keep using NoopEvaluator
dd-oleksii Nov 20, 2025
7eced7e
refactor: use symbol flag types throughout
dd-oleksii Nov 20, 2025
d699ad8
perf: remove unnecessary allocation of keys array in favor of rb_hash…
dd-oleksii Nov 20, 2025
be08a3a
refactor: move JSON parsing to Core::ResolutionDetails
dd-oleksii Nov 20, 2025
e2923fa
Merge branch 'master' into FFL-1273-native-feature-flags-evaluation
Strech Nov 20, 2025
86d3a5c
fix: properly handle exceptions in evaluation context builder
dd-oleksii Nov 20, 2025
1497e2b
Reshape typespecs and evaluation engine
Strech Nov 20, 2025
5877a91
Remove obsolete tests and stub native evaluator
Strech Nov 20, 2025
90e5f56
Clean the NativeEvaluator and add a note
Strech Nov 20, 2025
f41e481
fix: properly handle exceptions using rb_protect
dd-oleksii Nov 20, 2025
77ab881
fix: register global values with GC
dd-oleksii Nov 20, 2025
507d315
refactor: address minor comments
dd-oleksii Nov 20, 2025
05bfd99
refactor: move ResolutionDetails.error? from C to Ruby
dd-oleksii Nov 20, 2025
057952b
test: adjust tests for new Core ResolutionDetails behavior
dd-oleksii Nov 20, 2025
c78563e
Clean feature flags core specs
Strech Nov 20, 2025
fcc2537
Update core feature flags and its tests
Strech Nov 20, 2025
fe6fa2c
Restore default values in provider
Strech Nov 20, 2025
90b3e84
fix: remove offending rb_funcall method
dd-oleksii Nov 20, 2025
59bad2c
add a note warning about calling into Ruby code
dd-oleksii Nov 21, 2025
379e9eb
fix comment typo
dd-oleksii Nov 21, 2025
8688789
chore: expand TODO note referencing FFL-1450
dd-oleksii Nov 21, 2025
c92f97d
fix: register gc address before assignment
dd-oleksii Nov 21, 2025
262cd28
Return GENERAL error_code instead of PROVIDER_FATAL by default
dd-oleksii Nov 21, 2025
0493802
Add comments for some methods and private APIs
Strech Nov 27, 2025
b894158
Update lib/datadog/core/feature_flags.rb
Strech Nov 27, 2025
f77fb61
Change methods signatures based on the feedback
Strech Nov 27, 2025
1ae3feb
raise exceptions in cases that should never happen
dd-oleksii Nov 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CORE_WITH_LIBDATADOG_API = [
'spec/datadog/core/crashtracking/**/*_spec.rb',
'spec/datadog/core/process_discovery_spec.rb',
'spec/datadog/core/configuration/stable_config_spec.rb',
'spec/datadog/core/feature_flags_spec.rb',
'spec/datadog/core/ddsketch_spec.rb',
'spec/datadog/data_streams/**/*_spec.rb',
'spec/datadog/open_feature_spec.rb',
Expand Down Expand Up @@ -92,7 +93,7 @@ namespace :spec do
RSpec::Core::RakeTask.new(:main) do |t, args|
t.pattern = 'spec/**/*_spec.rb'
t.exclude_pattern = 'spec/**/{appsec/integration,contrib,benchmark,redis,auto_instrument,opentelemetry,open_feature,profiling,crashtracking,error_tracking,rubocop,data_streams}/**/*_spec.rb,' \
' spec/**/{auto_instrument,opentelemetry,process_discovery,stable_config,ddsketch,open_feature}_spec.rb,' \
' spec/**/{auto_instrument,opentelemetry,process_discovery,stable_config,ddsketch,open_feature,feature_flags}_spec.rb,' \
' spec/datadog/gem_packaging_spec.rb'
t.rspec_opts = args.to_a.join(' ')
end
Expand Down
Loading
Loading