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: disable telemetry for ci tests #9671

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

kkunapuli
Copy link
Contributor

@kkunapuli kkunapuli commented Jul 17, 2024

Ticket

RM-374

Description

Reduce telemetry usage for ci tests.

Test Plan

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

@cla-bot cla-bot bot added the cla-signed label Jul 17, 2024
Copy link

netlify bot commented Jul 17, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit d6479c1
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/669e73402dc4840008c579a2
😎 Deploy Preview https://deploy-preview-9671--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.33%. Comparing base (086de84) to head (d6479c1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9671      +/-   ##
==========================================
- Coverage   53.34%   53.33%   -0.01%     
==========================================
  Files        1255     1255              
  Lines      152702   152702              
  Branches     3250     3249       -1     
==========================================
- Hits        81455    81451       -4     
- Misses      71095    71099       +4     
  Partials      152      152              
Flag Coverage Δ
backend 44.76% <ø> (-0.01%) ⬇️
harness 72.84% <ø> (ø)
web 51.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

@kkunapuli kkunapuli marked this pull request as ready for review July 17, 2024 20:54
@kkunapuli kkunapuli requested a review from a team as a code owner July 17, 2024 20:54
@kkunapuli kkunapuli requested a review from salonig23 July 17, 2024 20:54
@@ -29,6 +29,8 @@ stages:
initial_user_password: $INITIAL_USER_PASSWORD
authz:
rbac_ui_enabled: true
telemetry:
Copy link
Contributor

@hamidzr hamidzr Jul 18, 2024

Choose a reason for hiding this comment

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

question I'm surprise, were they actually reporting anything? wouldn't the default be false? did they have the api key needed to report?

SegmentMasterKey string `json:"segment_master_key"`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea. What's the impact either way?

Copy link
Contributor

Choose a reason for hiding this comment

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

if it defaults to false, perhaps change the name of the PR to better reflect that
don't see an issue to merging anyway though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It defaults to true. https://docs.determined.ai/latest/reference/deploy/master-config-reference.html#id29

Infra noticed pretty quick growth in segment data coming from ci: https://hpe-aiatscale.slack.com/archives/C03JGLKTBEJ/p1720548565903099

Good point on the API key; I don't know how it was successfully reported.

Copy link
Contributor

@carolinaecalderon carolinaecalderon left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -14,3 +14,6 @@ db:
# password: database_password

launch_error: false

telemetry:
enabled: false
Copy link
Contributor

Choose a reason for hiding this comment

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

missing blank line at end?

@kkunapuli kkunapuli enabled auto-merge (squash) July 18, 2024 20:40
@kkunapuli kkunapuli force-pushed the kunapuli/disable-telemetry-ci branch from cbf44df to d6479c1 Compare July 22, 2024 14:57
@kkunapuli kkunapuli merged commit 5eb0bda into main Jul 22, 2024
80 of 94 checks passed
@kkunapuli kkunapuli deleted the kunapuli/disable-telemetry-ci branch July 22, 2024 15:19
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.

3 participants