Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion tests/parametric/test_ffe/ffe-system-test-data/SOURCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
These files are copied from the canonical FFE fixture repository.

Canonical source: https://github.com/DataDog/ffe-system-test-data
Source commit: c8cc8da239341748dc8c30c2145c0f0b5432c958
Source commit: fdd48ad2dc30cee7819b3aafb883d1edcd2455db

Do not edit these fixtures directly in system-tests. Add or update shared FFE behavior in
ffe-system-test-data first, then refresh this snapshot.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,46 @@
},
"targetingKey": "dependent-cycle",
"variationType": "STRING"
},
{
"description": "Unknown fields inside flagEvaluation, on its condition, and in evaluatorParams are ignored while the prerequisite key is evaluated normally.",
"attributes": {},
"defaultValue": "caller-default",
"flag": "dependent-unknown-fields-root",
"result": {
"reason": "TARGETING_MATCH",
"value": "direct-match"
},
"targetingKey": "dependent-unknown-fields",
"variationType": "STRING",
"expectations": {
"noUnmatchedEvents": true,
"exposures": [
{
"flag": "dependent-leaf-on",
"allocation": "leaf-static",
"variant": "on",
"_count": 1
},
{
"flag": "dependent-unknown-fields-root",
"allocation": "dependent-match",
"variant": "matched",
"_count": 1
}
],
"evaluationEvents": [
{
"flag": "dependent-leaf-on",
"errorCode": null,
"_count": 1
},
{
"flag": "dependent-unknown-fields-root",
"errorCode": null,
"_count": 1
}
]
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"unknownEnvironmentField": "ignored"
},
"evaluatorParams": {
"maxDependencyDepth": 2
"maxDependencyDepth": 2,
"unknownEvaluatorField": "ignored"
},
"flags": {
"dependent-leaf-on": {
Expand Down Expand Up @@ -862,6 +863,62 @@
"doLog": true
}
]
},
"dependent-unknown-fields-root": {
"key": "dependent-unknown-fields-root",
"enabled": true,
"variationType": "STRING",
"variations": {
"matched": {
"key": "matched",
"value": "direct-match"
},
"fallback": {
"key": "fallback",
"value": "direct-fallback"
}
},
"allocations": [
{
"key": "dependent-match",
"rules": [
{
"conditions": [
{
"flagEvaluation": {
"key": "dependent-leaf-on",
"property": "variant"
},
"operator": "ONE_OF",
"value": [
"on"
],
"unknownConditionField": {
"nested": true
}
}
]
}
],
"splits": [
{
"variationKey": "matched",
"shards": []
}
],
"doLog": true
},
{
"key": "fallback",
"splits": [
{
"variationKey": "fallback",
"shards": []
}
],
"doLog": true
}
]
}
}
}
Loading