From 8e243277a80900206b52906ecaa271b89b4dafb9 Mon Sep 17 00:00:00 2001 From: Vickie Boettcher Date: Mon, 26 Oct 2026 22:04:45 +0000 Subject: [PATCH] fix(ci): load the development Java OpenFeature provider with the agent Use the provider artifact from the selected Java development branch so FFE tests do not mix a development agent with a released provider. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 --- utils/scripts/load-binary.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/scripts/load-binary.sh b/utils/scripts/load-binary.sh index 378da8b92ea..b46c9941109 100755 --- a/utils/scripts/load-binary.sh +++ b/utils/scripts/load-binary.sh @@ -206,6 +206,11 @@ elif [ "$TARGET" = "java" ] || [ "$TARGET" = "java_lambda" ]; then curl --fail --location --silent --show-error --output dd-java-agent.jar "https://s3.us-east-1.amazonaws.com/dd-trace-java-builds/${LIBRARY_TARGET_BRANCH}/dd-java-agent.jar" + if [ "$TARGET" = "java" ]; then + # The provider must match the development agent, rather than the latest Maven release. + curl --fail --location --silent --show-error --output dd-openfeature.jar "https://s3.us-east-1.amazonaws.com/dd-trace-java-builds/${LIBRARY_TARGET_BRANCH}/dd-openfeature.jar" + fi + elif [ "$TARGET" = "dotnet" ]; then assert_version_is_dev