Add library_branch tag to Test Optimization reporting#6440
Merged
Conversation
Tag test results with test.configuration.library_branch (dev/prod) so we can distinguish runs by library version type in Datadog Test Optimization. The value is inferred from _system_tests_dev_mode and binaries_artifact inputs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
|
cbeauchesne
requested changes
Mar 5, 2026
Collaborator
cbeauchesne
left a comment
There was a problem hiding this comment.
Could you use ci_environment which contains dev or prod, it'll make the overall change simpler
Simplify by reusing the existing ci_environment input (dev/prod) instead of adding a new parameter through the workflow chain. Also update ci_environment description to reflect its usage for Test Optimization tagging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Do you also want to use |
Collaborator
yes, it makes sense, WDYT ? |
Use ci_environment consistently as both the action input name and the test.configuration tag name in Datadog Test Optimization.
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: f721d58 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
cbeauchesne
approved these changes
Mar 6, 2026
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.
Summary
test.configuration.ci_environment(dev/prod/custom)ci_environmentinput already computed bycompute-workflow-parameters.pyci_environmentdescription insystem-tests.ymlto reflect its usage for Test Optimization taggingTest plan
devmatrix version producetest.configuration.ci_environment:devin Test Optimizationprodmatrix version producetest.configuration.ci_environment:prodin Test Optimizationbinaries_artifactproducetest.configuration.ci_environment:custom