Repository navigation
fix(telemetry): send a config summary and an error category from the control plane (backport v0.36 oss) - #4290
Merged
c2ndev merged 2 commits intoNov 23, 2026
Conversation
…control plane (backport v0.36 oss) Backport of source commit e35fb25dbe0063b115173c8692a3f4fc6f57daf0 (oss half) onto v0.36.
Contributor
E2E Ginkgo Tests
|
vcluster-bot-approver
approved these changes
Nov 23, 2026
vcluster-bot-approver
left a comment
There was a problem hiding this comment.
Approved by the shared auto-approve workflow because this PR matched the approval criteria.
For more information, see https://github.com/loft-sh/github-actions?tab=readme-ov-file#auto-approve-bot-prs.
c2ndev
deleted the
backport/v0.36/e35fb25dbe0063b115173c8692a3f4fc6f57daf0
branch
November 23, 2026 15:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of commit
e35fb25dbe0063b115173c8692a3f4fc6f57daf0tov0.36(oss half).Backported Commits:
Note
Medium Risk
Changes what control plane telemetry sends (schema and redaction); low runtime risk but affects observability payloads and must not regress categorization or leak secrets.
Overview
Hardens control plane telemetry so analytics events no longer carry raw Helm config, error strings, or unbounded Kubernetes version text.
Start events now send a sanitized config shape via new
configSummary()(booleans/numbers as-is, maps/lists as counts, only whitelisted string values), normalizecreation_methodtovclusterctl/loft/other, and drop the old fullChartInfopayload. Error events recorderrorCategory(err)instead oferr.Error(), attachvcluster_version, use the same config summary on fatal/panic, and add a function stack (not full panic text) for panics. Leader election loss uses sentinelErrLeaderElectionLostso it categorizes asleader_election_lost.Host/virtual cluster K8s versions in telemetry are trimmed with regex in
toKubernetesVersion. Broad tests assert telemetry JSON never contains sensitive fixture strings.Reviewed by Cursor Bugbot for commit 87538de. Bugbot is set up for automated code reviews on this repo. Configure here.
Fixes ENGCP-2053