You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return one prerequisite evaluation record for every reached dependency after graph evaluation, including successful records retained before later failures
normalize graph failures to GENERAL at the requested root while preserving dependency-specific error details
publish evaluation telemetry independently of transactional exposure delivery
commit dependency and root exposures only after successful root resolution and hook completion
keep independent evaluations on the ordinary fast path and skip telemetry construction when the bounded writer cannot accept events
negotiate direct UFC delivery through the capability query and register Remote Config capability bit 50 from evaluator support
Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 6 known flaky benchmarks, 119 flaky benchmarks without significant changes.
Explanation
This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:
🟩 = significantly better candidate vs. baseline
🟥 = significantly worse candidate vs. baseline
We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.
If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.
Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.
More details about the CI and significant changes
You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.
CIs of the difference of means are often centered around 0%, because often changes are not that big:
---------------------------------(------|---^--------)-------------------------------->
-0.6% 0% 0.3% +1.2%
| | |
lower bound of the CI --' | |
sample mean (center of the CI) -------------' |
upper bound of the CI ----------------------'
As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).
For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:
----------------------------------------|---------|---(---------^---------)---------->
0% 1% 1.3% 2.2% 3.1%
| | | |
significant impact threshold --------------' | | |
lower bound of CI --------------' | |
sample mean (center of the CI) --------------------------' |
upper bound of CI ----------------------------------'
Known flaky benchmarks
These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved issues allow dependency evaluation to bypass its node budget, drop nested prerequisite telemetry fields, and invalidate flags during condition JSON round trips.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Dependency telemetry still loses valid context and omission metadata, while quadratic exposure deduplication and eager bookkeeping allocations add avoidable overhead to flag evaluation.
[P2] With consent enabled, a 257-character top-level key containing a 2,000-element array consumes the entire snapshot budget before FlattenContext discards it, so subsequent valid attributes are lost. Skip oversized keys before detaching their values, while still charging one node for each rejected entry. Add a regression through both snapshotting and flattening; the current oversized-path test exercises only flattening.
[P2] FeatureFlagsSdk.GetContextAttributes unwraps only top-level values, leaving nested OpenFeature Structure and Value objects that this snapshot code cannot normalize. Consented dependency telemetry therefore loses nested fields such as user.country and the scalar types of list entries. Add bounded OpenFeature-aware normalization at the SDK/tracer boundary and verify the resulting dependency payload with a builder-created nested context.
Initialize dependency bookkeeping only when needed
[P2] Allocate dependency bookkeeping only when a prerequisite is reached. Every EvaluateWithTrace now constructs this session before looking up the flag, eagerly allocating a memo dictionary, two hash sets, and three lists, including populating the active-root set. Consequently even ordinary static, disabled, or missing flags incur graph allocations and hashing, including when dependency telemetry is disabled. This adds GC pressure to every flag evaluation, rather than only dependent evaluations. Keep the ordinary path lightweight and initialize memoization, frames, and dependency telemetry collections lazily on the first Resolve call (PERF-3.1).
[P2] Avoid quadratic exposure deduplication on the evaluation hot path (PERF-4.2). Every insertion scans the accumulated list, and a successfully resolved dependency immediately replays its exposure trace through the same scan. A depth-one root with 1,000 distinct logging prerequisites performs 1,001,000 flag-key comparisons; 2,000 prerequisites perform 4,002,000. The depth limit does not bound this breadth, and the exposure queue cap is applied only after resolution, so this cost blocks the application's evaluation call. Keep the ordered lists but use rollback-aware hash-set membership for both the session and frame traces.
Addressed all four previously missed issues in 1bc9ada:
Oversized keys are rejected before their values are traversed, while still charging the rejected entry against the node budget.
Nested OpenFeature Structure and list values are normalized with bounded recursion per top-level attribute, preserving every top-level targeting field; a real provider/evaluator regression proves matching still works after 300 fields and after a budget-heavy nested value.
Dependency memo, active/frame state, telemetry lists, and exposure collections are initialized only when used.
Ordered exposure traces now use rollback-aware hash sets, including removing keys with rolled-back list tails so memo replay can re-add the selected exposure.
The remediation also rejects unsupported values without invoking caller ToString. Validation passes the complete OpenFeature suite (771 tests), dependent-flag tests (32 tests), analyzer builds, and independent local review.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved normalization and dependency-telemetry issues discard timestamp values, fail to report truncation, and let the reserved root targeting key consume attribute capacity.
Fresh Copilot review reports no open issues. On the remaining “closer look” note: the current head has no Windows/net48 failure; its only visible failed GitHub check is the repository policy requiring at least one PR label. The dependency configuration serialization/presence behavior was covered earlier in this review loop, and the final changes are limited to context normalization/omission transport. Local validation passes the complete OpenFeature suite (771), dependent-flag suite (33), focused SDK/profiler bridge suite (29), and analyzer-enabled builds. The PR remains draft for human review of the broader configuration surface.
The reason will be displayed to describe this comment to others. Learn more.
More details
No reportable static defect was identified in dependency evaluation, rollback, or deferred exposure delivery. Runtime confidence remains limited because tests were not run and production telemetry was intentionally excluded.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Normalization can turn supplied attributes into null and alter targeting, root exposures can publish despite deferred handling and later hook failures, and wide dependency graphs incur quadratic telemetry lookups.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Root-only exposures can be reported before After hooks complete, and normalization budget exhaustion can convert non-null containers to null, incorrectly changing targeting results.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human review is needed to assess unpublished findings involving malformed dependency conditions matching incorrectly and unnecessary telemetry collection when events cannot be accepted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker_image_artifactsUse to label PRs for which you would need a Docker Image created for.
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GENERALat the requested root while preserving dependency-specific error detailsValidation
Using the .NET 11 SDK with .NET 8 roll-forward:
3c34fbdae3c34fbdaegit diff --checkand the request-surface audit pass