Repository navigation
fix(telemetry): turn telemetry off when UIPATH_TELEMETRY_DISABLED is true [PC-5668] [2.14.39.post2] - #2007
Merged
ionut-mihalache-uipath merged 2 commits intoNov 20, 2026
Conversation
…true [PC-5668] [2.14.39.post2] The serverless platform tells a robot its telemetry is off with UIPATH_TELEMETRY_DISABLED=true, which it always sets on Automation Suite. The SDK only read UIPATH_TELEMETRY_ENABLED (default true), so it kept sending events to the baked Application Insights instance. On an air-gapped install every send waits for a connection timeout. UIPATH_TELEMETRY_DISABLED=true now disables telemetry and wins over UIPATH_TELEMETRY_ENABLED. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136ibA73WLWFVYGwNLx18P7
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the update to honor the platform’s telemetry-off setting.
No open issues 🎉
What changed in this PR
Updates the UiPath SDK to honor the platform’s telemetry-off setting, preventing unwanted telemetry sends and associated connection delays on Automation Suite installations.
Changes:
- Gives
UIPATH_TELEMETRY_DISABLED=trueor1precedence overUIPATH_TELEMETRY_ENABLED. - Adds four tests covering disablement, precedence, default behavior, and event suppression, and documents the setting.
- Bumps the package version to
2.14.39.post2.
| File | Description |
|---|---|
packages/uipath/uv.lock |
Synchronizes the locked package version. |
packages/uipath/tests/telemetry/test_track.py |
Adds coverage for platform-controlled telemetry disablement. |
packages/uipath/src/uipath/telemetry/_track.py |
Checks the platform disable flag before the existing enable flag. |
packages/uipath/src/uipath/telemetry/_constants.py |
Defines the disable-flag environment variable constant. |
packages/uipath/pyproject.toml |
Sets the release version to 2.14.39.post2. |
packages/uipath/docs/core/environment_variables.md |
Documents the disable flag and its precedence. |
Review effort: Balanced
andreitava-uip
approved these changes
Nov 20, 2026
andreitava-uip
left a comment
Contributor
There was a problem hiding this comment.
don't forget to also port to main
…host product Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136ibA73WLWFVYGwNLx18P7
ionut-mihalache-uipath
enabled auto-merge (squash)
November 20, 2026 12:20
ionut-mihalache-uipath
merged commit Nov 20, 2026
9182e89
into
release/v2.14.39.post1
93 checks passed
ionut-mihalache-uipath
deleted the
fix/2.14.39/honour-telemetry-disabled
branch
November 20, 2026 12:21
🚨 Heads up:
|
|
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.



Problem
A host environment that turns telemetry off for the processes it starts sets
UIPATH_TELEMETRY_DISABLED=true. The SDK never read that variable: it only readUIPATH_TELEMETRY_ENABLED, which defaults totrue. So telemetry stayed on in those environments.Jira: PC-5668
Change
_TelemetryClient._is_enabled()returns false whenUIPATH_TELEMETRY_DISABLEDistrue(or1). It wins overUIPATH_TELEMETRY_ENABLED. Nothing changes when the variable is unset or has any other value.Version bumped to
2.14.39.post2.Verification
tests/telemetry/test_track.py; the telemetry suite passes.UIPATH_TELEMETRY_DISABLED=trueset:flush_events()took 20.0 s before the change and 0.0 s after it.🤖 Generated with Claude Code
https://claude.ai/code/session_0136ibA73WLWFVYGwNLx18P7