feat(TKC-6726): Use license identity for cli init demo telemetry - #8193
feat(TKC-6726): Use license identity for cli init demo telemetry#8193Valentin-Marko wants to merge 2 commits into
Conversation
✅ Testkube GitHub IntegrationReview based on commit All tests and quality gates passed.
7 workflows executed
|
|
@greptileai please review |
Greptile SummaryThe PR validates demo licenses before installation, uses the validated license identity for subsequent onboarding telemetry, and adds a ten-second request deadline that resolves the previously reported validation hang.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (3): Last reviewed commit: "fix: add timeout to license validation r..." | Re-trigger Greptile |
|
@greptileai please review again |
Pull request description
testkube init demonow validates the license againstlicense.testkube.io/validatebefore installing, and uses the license name as the telemetry user ID for the demo onboarding events instead of the environment ID.Checklist (choose whats happened)
Breaking changes
Changes
init democalls the license/validateendpoint at the "license validated" step. On a definitive "invalid" response it fails fast with a clearInvalid license keyerror (before the multi-minute Helm install); a network/transport error is non-fatal and the install proceeds (the control plane remains the authoritative gate).testkube_init_demo) now sends the license name from the validate response as theuserIdfor the steps fromlicense validatedonward, replacing the environment ID.sendTelemetrygained an optionaluserIDoverride so thedashboardcommand is unaffected.key/prefix) and its now-unusedlicenseFormatconst — validation is handled by/validate.Fixes