You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CI Visibility] Test session logical names (DataDog#6050)
## Summary of changes
This PR implements a new CI Visibility feature called Test session
logical names. In this feature a new DD_TEST_SESSION_NAME environment
variable is introduced for customer to set their custom test session
name. This name is sent to the backend inside the `metadata` object in
the CI Visibility protocol.
PR to change the intake json:
DataDog/dd-go#150765
## Reason for change
New feature:
https://docs.google.com/document/d/1XPBDDIMUxzfkko66vXIEjoi4xbCamTz-Bv6ChSR8jys/edit
## Implementation details
- A new ConfigurationKey.CIVisibility environment variable
- A new CIVisibility.Settings property
- Changes to the `CIEventMessagePackFormatter` to include this new tag
inside the metadata object.
## Test coverage
Added a `metadata` validator in the EVP tests (CI Visibility protocol)
knownPatterns.Add(new(".*SingleStepGuardRails::ShouldForceInstrumentationOverride: Found incompatible runtime .NET Core 3.0 or lower",RegexOptions.Compiled));
2626
2626
knownPatterns.Add(new(".*SingleStepGuardRails::ShouldForceInstrumentationOverride: Found incompatible runtime .NET 6.0.12 and earlier have known crashing bugs",RegexOptions.Compiled));
2627
2627
2628
+
// CI Visibility known errors
2629
+
knownPatterns.Add(new(@".*The Git repository couldn't be automatically extracted.*",RegexOptions.Compiled));
2630
+
knownPatterns.Add(new(@".*DD_GIT_REPOSITORY_URL is set with.*",RegexOptions.Compiled));
2631
+
knownPatterns.Add(new(@".*The Git commit sha couldn't be automatically extracted.*",RegexOptions.Compiled));
2632
+
knownPatterns.Add(new(@".*DD_GIT_COMMIT_SHA must be a full-length git SHA.*",RegexOptions.Compiled));
2633
+
knownPatterns.Add(new(@".*Timeout occurred when flushing spans.*",RegexOptions.Compiled));
0 commit comments