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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,12 @@ and `cases/` directory.
|-------|-------------|
| `dependent-flags` | Direct and transitive dependencies, short-circuiting, repeated prerequisites, failure propagation, depth limiting, and cycles |

In `dependent-flags`, when dependency evaluation fails (a reached prerequisite is
missing or has no assignment, the depth limit is exceeded, or a cycle is found),
the root returns the caller default with reason `ERROR` and error code `GENERAL`.
The failed prerequisite's own evaluation event keeps its specific error code, such
as `FLAG_NOT_FOUND` for a missing prerequisite.

## Origin

These fixtures originated in the Go SDK (`dd-trace-go`). This repository now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
"flag": "dependent-atomic-error-root",
"result": {
"reason": "ERROR",
"errorCode": "GENERAL",
"value": "atomic-default"
},
"targetingKey": "dependent-atomic-error",
Expand All @@ -323,6 +324,7 @@
"flag": "dependent-depth-three-root",
"result": {
"reason": "ERROR",
"errorCode": "GENERAL",
"value": "depth-default"
},
"targetingKey": "dependent-over-depth",
Expand All @@ -335,6 +337,7 @@
"flag": "dependent-cycle-a",
"result": {
"reason": "ERROR",
"errorCode": "GENERAL",
"value": "cycle-default"
},
"targetingKey": "dependent-cycle",
Expand Down
Loading