Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(cli): add backwards compat for old telemetry env and tests#15476

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

mafredri
Copy link
Member

@mafredrimafredri commentedNov 11, 2024
edited
Loading

This PR adds a backwards compatibleCODER_TELEMETRY env, currently this is calledCODER_TELEMETRY_ENABLE.

Depends oncoder/serpent#23

Fixescoder/internal#209
Refs#15467

@mafredrimafredri self-assigned thisNov 11, 2024
@mafredrimafredriforce-pushed themafredri/fix-cli-add-backcompat-for-telemetry-and-tests branch fromd23ad21 toe4eaf58CompareNovember 11, 2024 16:12
@mafredrimafredriforce-pushed themafredri/fix-cli-add-backcompat-for-telemetry-and-tests branch fromf3fa0ba to1ebcb3bCompareNovember 13, 2024 11:06
Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

// Set the default telemetry to true (normally disabled in tests).
t.Setenv("CODER_TEST_TELEMETRY_DEFAULT_ENABLE", "true")

//nolint:paralleltest // No need to reinitialise the variable tt (Go version).
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: we should fix our linter.

Suggested change
//nolint:paralleltest // No need to reinitialise the variable tt (Go version).
//nolint:paralleltest // No need to reinitialise the variable tt (as of go v1.22).

@mafredrimafredri merged commite55e8ee intomainNov 13, 2024
26 checks passed
@mafredrimafredri deleted the mafredri/fix-cli-add-backcompat-for-telemetry-and-tests branchNovember 13, 2024 23:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

@DanielleMaywoodDanielleMaywoodAwaiting requested review from DanielleMaywood

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

The telemetry toggle in coder/coder is lacking tests and backwards compatibility
3 participants
@mafredri@dannykopping@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp