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

Added analytics dimension for state tool use on state tool CI. #2733

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Aug 24, 2023

TaskDX-2118 As a DWH engineer I can easily filter out traffic coming from ActiveState automations

@mitchell-as mitchell-as marked this pull request as ready for review August 24, 2023 18:35
@@ -601,6 +601,8 @@ func (suite *AnalyticsIntegrationTestSuite) TestCIAndInteractiveDimensions() {
}
suite.Equal(condition.OnCI(), *e.Dimensions.CI, "analytics should report being on CI")
suite.Equal(interactive, *e.Dimensions.Interactive, "analytics did not report the correct interactive value for %v", e)
suite.Equal(condition.OnCI(), // not InActiveStateCI() because if it's false, we forgot to set ACTIVESTATE_CI env var in GitHub Actions scripts
Copy link
Member

Choose a reason for hiding this comment

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

Clever!

@mitchell-as mitchell-as merged commit 62d9aa8 into version/0-41-0-RC1 Aug 24, 2023
6 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-2118 branch August 24, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants