Repository navigation
Enable Go serial ID metadata system tests - #7844
Conversation
|
|
🎉 All green!🧪 All tests passed 🔗 Commit SHA: 3c13549 | Docs | View more details | Give us feedback! |
9547cef to
ea6ec3f
Compare
b59cca6 to
4352704
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c7065a97f0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Forward native OpenFeature flag metadata and validate the Go dd.serialId key from v2.10.1. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 <noreply@localhost>
Split all five metadata cases into shared and Go-specific methods with fixed expected keys, preserving existing version gates. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 <noreply@localhost>
Override the metadata key in the Go test class and select classes through one exclusion per language manifest. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 <noreply@localhost>
Use the shared key from v2.11.0-rc.1 and the legacy Go key below that boundary, retaining the v2.10.1 file floor. Environment: Datadog workspace Co-Authored-By: Codex GPT-6 <noreply@localhost>
52dd2cf to
3c13549
Compare
Go's parametric FFE adapter discarded OpenFeature flag metadata, so the serial-ID tests failed before they could inspect the SDK's behavior. Forward
FlagMetadataunchanged and enable the tests for Go v2.10.1 and later.Go already exposes the UFC split serial ID under
dd.serialId; the shared test now checks that native key for Go while retaining__dd_split_serial_idfor other SDKs. No Go SDK change is required. With span enrichment enabled, the tests verify positive and zero IDs, omission for missing IDs, targeting, and repeated evaluations.Stacked on #7820 (
ffe-serial-id-metadata-system-test).Validation: all five serial-ID system tests passed against Go 2.10.1 without
-F;./format.shpassed.SDK implementation: https://github.com/DataDog/dd-trace-go/blob/v2.10.1/openfeature/evaluator.go#L105-L107
FFE reviewer selection
Reviewers: @leoromanovsky, @sameerank
Why: Flag evaluation on EVP — This PR adds system-test coverage for SDK evaluation metadata. Reviewers come from the matched pod.
🤖 Automated selection.
Selection details
Initiative: project / flag-evaluation-evp
Why this match: This PR adds system-test coverage for SDK evaluation metadata. The Go parametric adapter now passes OpenFeature FlagMetadata through unchanged. The shared serial-ID test checks that the selected UFC split's serial ID shows up in flagMetadata when span enrichment is on: under dd.serialId for Go and __dd_split_serial_id for the other SDKs. The manifests turn these tests on for Go v2.10.1 and later. That matches the 'SDK evaluation metadata' scope of flag-evaluation-evp. It is not an onboarding diagnostic and has no bandit purpose. The catalog has no entries with supplemental_review enabled, so no additional review areas apply.
The PR author was excluded. Existing reviewers and teams were preserved.
Debug or fix a problem
Workflow run · Bits Code session
dry_run=false. Unchanged completed runs are skipped. If the receipt saysneeds_reconciliationor a write outcome is uncertain, ask the workflow owner to reconcile GitHub and the receipt before retrying; do not delete the lock blindly.Evidence and run details
✅ Complete — reviewer coverage verified. The workflow checked pending requests or submitted reviews on the evaluated head.
Generated asynchronously by the FFE reviewer-routing workflow.
Changed paths:
utils/build/docker/golang/parametric/ffe.go,tests/parametric/test_ffe/test_serial_id_metadata.py,manifests/golang.ymlEvaluated head:
3aeeb486753c3cfc6ffdfc94fc12dcffa0582e88Registry revision:
revision:1946aa2a-530e-487a-84a7-83aff44a1089Pinned skill source:
d214cfc65ae154b97d39af5cf32caf48aaec9bf0Instructions: workflow-injected snapshot (no plugin loaded)
Instruction snapshot SHA-256:
f23b2a88c13c0da90e2dd58246a14f257af91e2195c555039bd555b52e6f3516