Skip to content

test(ffe): enable .NET agentless configuration source - #7496

Draft
pavlokhrebto wants to merge 1 commit into
mainfrom
pavlo.khrebto/FFL-2703/dotnet-agentless-configuration
Draft

test(ffe): enable .NET agentless configuration source#7496
pavlokhrebto wants to merge 1 commit into
mainfrom
pavlo.khrebto/FFL-2703/dotnet-agentless-configuration

Conversation

@pavlokhrebto

@pavlokhrebto pavlokhrebto commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Motivation

DataDog/dd-trace-dotnet#9017 implements the .NET agentless Feature Flagging configuration source (FFL-2703). This enables the shared configuration-source contract for .NET, following the Node.js (#7355), Java (#7300), and Python (#7411) activations.

Changes

  • Enable tests/parametric/test_ffe/test_configuration_sources.py for .NET from >=3.x.x.
  • Add /ffe/start and /ffe/evaluate endpoints to the .NET parametric test app (FfeTestApi.cs), mirroring the Python and Java controllers.
  • /ffe/start creates a DatadogProvider, sets it via Api.Instance.SetProvider(), and gets a client. The tracer's CallTarget instrumentation intercepts FeatureFlagsSdk.InitializeAsync to start agentless/RC delivery.
  • /ffe/evaluate evaluates a flag using the OpenFeature client and returns {value, reason, errorCode} where errorCode is converted from the ErrorType enum to UPPER_SNAKE_CASE (e.g. ProviderNotReadyPROVIDER_NOT_READY) to match the test contract.
  • Add Datadog.FeatureFlags.OpenFeature package reference (v2.3.1) to the parametric test app .csproj.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/build/docker/dotnet/parametric/Endpoints/FfeTestApi.cs            @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core
manifests/dotnet.yml                                                    @DataDog/apm-dotnet @DataDog/asm-dotnet
utils/build/docker/dotnet/parametric/ApmTestApi.csproj                  @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core
utils/build/docker/dotnet/parametric/Program.cs                         @DataDog/apm-dotnet @DataDog/asm-dotnet @DataDog/system-tests-core

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Aug 12, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

🚦 4 Pipeline jobs failed

Testing the test | System Tests (dotnet, dev) / parametric / parametric (1)   View in Datadog   GitHub Actions

See error Failed to build framework test server image. Error: Unable to find package Datadog.FeatureFlags.OpenFeature with version (>= 2.3.1). Nearest version found: 2.3.0.

Testing the test | System Tests (dotnet, dev) / parametric / parametric (2)   View in Datadog   GitHub Actions

See error Unable to find package Datadog.FeatureFlags.OpenFeature with version (>= 2.3.1). Found nearest version: 2.3.0

Testing the test | System Tests (dotnet, prod) / parametric / parametric (1)   View in Datadog   GitHub Actions

See error Unable to find package 'Datadog.FeatureFlags.OpenFeature' with version (>= 2.3.1) during 'dotnet restore'.

View all 4 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 00aa4b2 | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant