feat(ffe): add process-wide state and agentless polling - #4196
Draft
pavlokhrebto wants to merge 3 commits into
Draft
pavlokhrebto wants to merge 3 commits into
pavlokhrebto wants to merge 3 commits into
Conversation
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 41 Pipeline jobs failed
ℹ️ InfoNo other issues found (see more)❄️ No new flaky tests detected 🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 2dc2b63 | Docs | View more details | Give us feedback! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This is the second change in the stacked implementation of agentless Feature Flag Evaluation delivery and is stacked on #4195.
It:
DD-API-KEYand custom endpoints with URL-provided Basic authentication, without leaking credentials into errors or logs200responses,304 Not Modified, conditional requests withETag, and gzip responses with a 10 MiB decoded-body limitETagafter a configuration is successfully applieddatadog.*INI names fitScope of this PR
This PR implements the process state and agentless delivery engine, but does not activate it from tracer startup or connect it to the PHP OpenFeature provider. Startup/source selection, fork-hook integration, shutdown, and the user-facing provider behavior follow in subsequent PRs in the stack. This PR should not be merged independently from the completed stack.
The currently supported OpenFeature PHP SDK does not expose provider initialization, shutdown, status, or event APIs. Consequently, this layer provides the required lifecycle and state primitives internally, while the later SDK integration will use the documented first-evaluation compatibility path for initialization errors and cannot expose standard provider lifecycle notifications until upstream SDK support exists.
Validation
rustfmt --edition 2021 --check components-rs/ffe.rs components-rs/ffe/agentless.rsgit diff --checkcargo check --locked --libcargo clippy --locked --lib -- -D warningscargo test --locked --libmake -j8Reviewer checklist
Relates to FFL-2705.