You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade cpp_client_telemetry to 3.10.240.1 so public builds use the supported cross-platform backend by default while preserving explicit TraceLogging and no-telemetry modes.
Add Windows persistent device identity and retain the hashed platform adapter identity as a separate telemetry field. Propagate Apple system SQLite and zlib requirements through static package metadata.
Files changed: telemetry platform implementations; CMake and vcpkg dependency wiring; build arguments and tests; Windows pipeline defaults.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9e493808-b0e7-4c22-baa6-696ce165f920
Sample routine 1DS telemetry at 1%, remove redundant periodic events, and consolidate 1DS lifecycle pairs into duration-bearing completion events so projected growth remains within the ingestion budget.
Add a delayed, ORT-only DeviceCensus event that batches versions for each active UTC day and uploads the completed census on the next active day.
Files changed: telemetry interfaces and platform providers; session and EP-registration instrumentation; POSIX census persistence; sampling and census tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Emit DeviceCensus immediately when a DeviceId is created or repaired, and persist the emitted state so a later active day does not resend the same census.
Files changed: census state serialization; POSIX DeviceId persistence; ProcessInfo census trigger; census unit tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dd1605-0e50-4029-9ed7-44fdb27545d8
Parenthesize the vector comparison so EXPECT_EXIT does not interpret the initializer-list comma as another macro argument.
Files changed:
- onnxruntime/test/platform/posix/device_id_test.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dd1605-0e50-4029-9ed7-44fdb27545d8
Bind persisted census state to the transmitted device identity, including the 1DS mobile platform identity, and persist rollover state before emission to avoid duplicates. Advance census state from recurring inference activity and ensure malformed model loads and early initialization failures reach completion telemetry.
Files changed: device census persistence and parsing, POSIX telemetry scheduling, inference-session completion paths, and focused census tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep immediate census emissions pending until persistence succeeds and respect runtime telemetry disablement. Resolve census test paths through the platform storage helper so they work on macOS.
Files changed:
- onnxruntime/core/platform/posix/telemetry.cc
- onnxruntime/core/platform/posix/telemetry.h
- onnxruntime/test/platform/posix/device_id_test.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2f0ab518-b6d4-47f8-928f-dc214284a697
Keep 1DS identity and cache persistence available when LOCALAPPDATA is absent or invalid by checking roaming AppData and user-profile locations in order.
Files changed: Windows DeviceId storage selection, Windows telemetry test registration, and fallback-path tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 49b5981f-971c-4991-9060-da1c74378cd8
Stack the reduced-volume telemetry work from #32425 onto the Windows 1DS draft and use the same identity-bound, persist-before-emit census transition logic for registry-backed Windows state.
Files changed: shared census state handling and tests; POSIX telemetry sampling and completion events; Windows DeviceId census persistence; session telemetry lifecycle handling.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 49b5981f-971c-4991-9060-da1c74378cd8
Consolidate census state handling and fold inventory and duration data into existing telemetry calls so telemetry-disabled minimal builds do not retain extra virtual wrappers.
Files changed: telemetry providers and session call sites; shared census state and platform device IDs; telemetry unit-test registration and coverage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c1532bdc-a17f-4d16-8468-4b3aa947ce4b
Preserve the intended telemetry backends while fixing the Android and warnings-as-errors build failures.
- expose the Android 1DS bridge header only to onnxruntime_common
- retain an updated mbedTLS-only vcpkg overlay and remove unrelated manifest churn
- select TraceLogging when CI provides its private telemetry GUID
- avoid shadowing the ORT model-load status
Files: cmake/external/onnxruntime_external_deps.cmake, cmake/onnxruntime_common.cmake, cmake/vcpkg-configuration.json, cmake/vcpkg.json, cmake/vcpkg-ports/cpp-client-telemetry/portfile.cmake, cmake/vcpkg-ports/cpp-client-telemetry/vcpkg.json, onnxruntime/core/session/inference_session.cc, tools/ci_build/github/windows/set_telemetry_var.ps1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Make Android's FetchContent fallback explicitly use bundled zlib even under a vcpkg toolchain, and keep the WindowsEnv layout independent of target-private telemetry macros.
Files: cmake/external/onnxruntime_external_deps.cmake, onnxruntime/core/platform/windows/env.h, onnxruntime/core/platform/windows/env.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 18d20bc2-fee6-431a-b940-b1184677fa48
Avoid Network List Manager initialization because netprofm.dll retains an allocation at process exit under Application Verifier.
Files changed:
- onnxruntime/core/platform/posix/telemetry.cc: disable the Windows 1DS network detector before log manager creation.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 90d1ead3-317b-47ff-bae3-e516f413e980
Preserve the current telemetry volume behavior while enabling Windows 1DS by default, repairing invalid registry device IDs, validating legacy backend targets, and covering Windows integration paths.
Files changed: telemetry CMake and vcpkg integration; POSIX and Windows telemetry/device ID implementations; Windows telemetry tests; build argument and CI telemetry selection.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b7025dd7-76ed-481f-a1cd-8c9b3842c33b
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🟡 Changes recommended
The current implementation has class-layout mismatches, unsampled process telemetry, incorrect ARM64EC reporting, and no described daily DeviceCensus implementation.
Get a fresh assessment by requesting another Copilot review.
Propagate backend definitions to consumers so WindowsEnv has one layout, report manifest-independent Windows versions, and classify ARM64EC correctly.
Files changed: cmake/onnxruntime_common.cmake; onnxruntime/core/platform/posix/telemetry.cc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b7025dd7-76ed-481f-a1cd-8c9b3842c33b
These A APIs cannot represent an environment path containing characters outside the active ANSI code page. For example, a Unicode user profile can turn %LOCALAPPDATA% into a path containing ?, so EnsureStorageDirectory() creates the wrong location or disables the 1DS offline cache. Read the variables with GetEnvironmentVariableW and keep the path wide (or explicitly UTF-8 via u8path) through directory creation.
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
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.
Description
This PR merges the current
maintelemetry-volume behavior and adds the Windows 1DS port:ProcessInfoevent unsampled--use_windows_telemetry/onnxruntime_USE_WINDOWS_TELEMETRY=ONLOCALAPPDATAtoAPPDATA,HOME,USERPROFILE, thenHOMEDRIVE+HOMEPATHfor Windows cache storageBackend selection
--use_windows_telemetry--no_telemetry-Donnxruntime_USE_TELEMETRY=ON-Donnxruntime_USE_WINDOWS_TELEMETRY=ONValidation
onnxruntime_test_allwith default Windows 1DS telemetryonnxruntime_test_allwith explicit Windows TraceLoggingonnxruntime_commonproduction targetpython -m unittest tools.ci_build.test_build_args(10 tests)