Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci-visibility] Add "ci_visibility" Property and "ci-test" Session Type #49

Merged
merged 2 commits into from
Dec 7, 2021

Conversation

juan-fernandez
Copy link
Contributor

@juan-fernandez juan-fernandez commented Dec 2, 2021

Related PR: DataDog/browser-sdk#1192

  • Add ci_visibility property.
  • Update session type enum to include 'ci-test'

@@ -180,6 +180,19 @@
},
"readOnly": true
},
"ci_visibility": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how this section (property) would be used from let's say mobile sdk perspective ? Is this meant to be used on all platforms ?

Copy link
Contributor Author

@juan-fernandez juan-fernandez Dec 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hadn't thought about it, but yeah, I don't see why not, there is no technology leakage. We currently use the trace id for the cypress poc, which could be reused for others

@juan-fernandez juan-fernandez changed the title [ci-visibility] Add ci_visibility Property [ci-visibility] Add ci_visibility Property and 'ci-test' Session Type Dec 7, 2021
@@ -45,7 +45,7 @@
"type": {
"type": "string",
"description": "Type of the session",
"enum": ["user", "synthetics"],
"enum": ["user", "synthetics", "ci-test"],
Copy link
Contributor

@bcaudan bcaudan Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about having the same wording for both session type and extra context key?
ci_visibility VS ci-test

@juan-fernandez juan-fernandez changed the title [ci-visibility] Add ci_visibility Property and 'ci-test' Session Type [ci-visibility] Add "ci_visibility" Property and "ci-test" Session Type Dec 7, 2021
@juan-fernandez juan-fernandez merged commit 774079e into master Dec 7, 2021
@juan-fernandez juan-fernandez deleted the juan-fernandez/ci-visibility-update-schema branch December 7, 2021 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants