Skip to content
Draft
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
17 changes: 13 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ wait-timeout = { version = "0.2", default-features = false }
walkdir = { version = "2.4", default-features = false }
wasm-bindgen-futures = { version = "0.4", default-features = false }
wasm-bindgen-test = { version = "=0.3.50", default-features = false }
webpki-roots = { version = "1.0.10", default-features = false }
webpki-root-certs = { version = "1.0.10", default-features = false }
web-time = { version = "1", default-features = false }
windows = { version = "0.59.0", default-features = false }
windows-sys = { version = "0.52", default-features = false }
Expand Down
28 changes: 0 additions & 28 deletions components-rs/crashtracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,34 +407,6 @@ bool ddog_crasht_init_windows(ddog_CharSlice module,
struct ddog_crasht_Metadata metadata);
#endif

#if (defined(_CRASHTRACKING_COLLECTOR) && defined(_WIN32))
HRESULT OutOfProcessExceptionEventSignatureCallback(const void *_context,
const WER_RUNTIME_EXCEPTION_INFORMATION *_exception_information,
int32_t _index,
uint16_t *_name,
uint32_t *_name_size,
uint16_t *_value,
uint32_t *_value_size);
#endif

#if (defined(_CRASHTRACKING_COLLECTOR) && defined(_WIN32))
HRESULT OutOfProcessExceptionEventDebuggerLaunchCallback(const void *_context,
const WER_RUNTIME_EXCEPTION_INFORMATION *_exception_information,
BOOL *_is_custom_debugger,
uint16_t *_debugger_launch,
uint32_t *_debugger_launch_size,
BOOL *_is_debugger_auto_launch);
#endif

#if (defined(_CRASHTRACKING_COLLECTOR) && defined(_WIN32))
HRESULT OutOfProcessExceptionEventCallback(const void *context,
const WER_RUNTIME_EXCEPTION_INFORMATION *exception_information,
BOOL *_ownership_claimed,
uint16_t *_event_name,
uint32_t *_size,
uint32_t *_signature_count);
#endif

/**
* # Safety
* The `crash_info` can be null, but if non-null it must point to a Builder made by this module,
Expand Down
2 changes: 1 addition & 1 deletion libdatadog
Submodule libdatadog updated 47 files
+16 −11 .github/CODEOWNERS
+57 −9 .github/actions/setup-sccache/action.yml
+1 −0 .github/labeler.yml
+1 −3 .github/workflows/cargo-deny-bans.yml
+71 −4 .github/workflows/coverage.yml
+12 −20 .github/workflows/lint.yml
+6 −16 .github/workflows/pr-metadata-docs-and-deps.yml
+9 −8 .github/workflows/pr-title-semver-check.yml
+4 −0 .github/workflows/release-proposal-dispatch.yml
+15 −3 .github/workflows/test.yml
+5 −9 .github/workflows/verify-proto-files.yml
+18 −8 Cargo.lock
+3 −0 Cargo.toml
+7 −6 benchmark/select_bench_packages.sh
+5 −1 datadog-sidecar/src/service/exception_hash_rate_limiter.rs
+6 −1 libdd-common/Cargo.toml
+0 −3 libdd-crashtracker-ffi/Cargo.toml
+3 −3 libdd-crashtracker-ffi/src/collector_windows/api.rs
+39 −5 libdd-crashtracker/src/collector_windows/api.rs
+1 −1 libdd-ffe-test-suite/ffe-system-test-data
+2 −0 libdd-ffe/src/rules_based/eval/eval_assignment.rs
+29 −6 libdd-ffe/src/rules_based/ufc/models.rs
+55 −14 libdd-ipc/src/rate_limiter.rs
+3 −0 libdd-tinybytes/Cargo.toml
+7 −0 libdd-tinybytes/src/bytes_string.rs
+16 −0 libdd-trace-model/Cargo.toml
+20 −0 libdd-trace-model/README.md
+363 −0 libdd-trace-model/src/lib.rs
+6 −1 libdd-trace-utils/Cargo.toml
+25 −9 libdd-trace-utils/benches/vec_map_bench.rs
+5 −5 libdd-trace-utils/src/agentless_encoder/mod.rs
+4 −4 libdd-trace-utils/src/agentless_encoder/tests_v1.rs
+7 −7 libdd-trace-utils/src/json_log_encoder/span_v1.rs
+1 −0 libdd-trace-utils/src/lib.rs
+3 −3 libdd-trace-utils/src/msgpack_decoder/v1/mod.rs
+4 −4 libdd-trace-utils/src/msgpack_decoder/v1/span.rs
+13 −13 libdd-trace-utils/src/msgpack_encoder/v04/span_v1.rs
+4 −4 libdd-trace-utils/src/msgpack_encoder/v1/mod.rs
+2 −2 libdd-trace-utils/src/msgpack_encoder/v1/span_v1.rs
+4 −4 libdd-trace-utils/src/otlp_encoder/mapper_v1.rs
+24 −6 libdd-trace-utils/src/span/mod.rs
+1 −31 libdd-trace-utils/src/span/v1/mod.rs
+263 −27 libdd-trace-utils/src/span/vec_map.rs
+367 −0 libdd-trace-utils/src/stack_alloc.rs
+1 −1 libdd-trace-utils/src/tracer_payload.rs
+7 −7 libdd-trace-utils/tests/test_send_data.rs
+98 −0 scripts/split_lcov.sh
1 change: 1 addition & 0 deletions tests/ext/ffe/evaluation_metrics_native.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ $config = <<<'JSON'
},
"allocations": [{
"key": "alloc-string",
"doLog": true,
"rules": [],
"splits": [{"variationKey": "blue", "serialId": 7, "shards": []}]
}]
Expand Down
13 changes: 13 additions & 0 deletions tests/ext/ffe/system_test_data_evaluate.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,19 @@ function run_fixture_case($client, $fileName, $index, array $case, array &$failu
. ': value got=' . encode_value($details->getValue())
. ' want=' . encode_value($case['result']['value']);
}

if (isset($case['result']['reason']) && $details->getReason() !== $case['result']['reason']) {
$failures[] = $fileName . '#' . $index
. ': reason got=' . encode_value($details->getReason())
. ' want=' . encode_value($case['result']['reason']);
}

if (array_key_exists('errorCode', $case['result'])
&& $details->getErrorCode() !== $case['result']['errorCode']) {
$failures[] = $fileName . '#' . $index
. ': errorCode got=' . encode_value($details->getErrorCode())
. ' want=' . encode_value($case['result']['errorCode']);
}
}

function evaluate_fixture_case($client, $variationType, $flag, $defaultValue, array $context)
Expand Down
Loading