-
Notifications
You must be signed in to change notification settings - Fork 307
Harden telemetry delivery and refine recipe metadata #2443
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bmehta001
wants to merge
87
commits into
main
Choose a base branch
from
bhamehta/fix-telemetry-deadlock
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
566a6c5
Consolidate TelemetryCacheHandler to single lock
bmehta001 2211d19
Fix concurrency issues in telemetry
bmehta001 276431e
Simplify telemetry cache and singleton patterns
bmehta001 cf1d641
Fix callback double-counting and multi-process cache overwrite
bmehta001 7d78e14
Track recipe telemetry in CI
bmehta001 c301071
Remove avoidable telemetry lint suppressions
bmehta001 d2dd0f3
Move service name handling into telemetry logger
bmehta001 c08c9f0
Scope service-name cleanup to Olive usage
bmehta001 d51a297
Revert unnecessary non-telemetry branch changes
bmehta001 056bf20
Address PR review feedback on telemetry changes
bmehta001 00e4076
Remove low-value service-name telemetry test
bmehta001 f07c49f
Address remaining GitHub Advanced Security comments
bmehta001 702bacf
Simplify telemetry utils responsibilities
bmehta001 6dd7a05
Store CI detection result once in telemetry init
bmehta001 c219866
Refine recipe telemetry semantics and config tracking
bmehta001 43afc4d
Replace package config hash with override values
bmehta001 0a17cb7
Guard Azure CI secret-dependent login steps
bmehta001 e2a9b21
Revert Azure CI secret login guards
bmehta001 4e1ccda
Address telemetry review comments
bmehta001 2577278
Fix telemetry pipeline test regressions
bmehta001 cbb3073
Log workflow exceptions as error telemetry
bmehta001 4c70c46
Reduce CLI import churn
bmehta001 28ef5b0
Simplify Docker recipe telemetry suppression
bmehta001 a99ef15
Keep platform imports local
bmehta001 8c1c726
Move recipe telemetry helpers out of runner
bmehta001 3717d9f
Move recipe telemetry helpers to telemetry package
bmehta001 b50423c
Address simple telemetry review comments
bmehta001 a756445
Refine recipe telemetry metadata
bmehta001 35d3552
Harden telemetry cache replay and flush wait
bmehta001 7347cf8
Migrate telemetry to stdlib SQLite pipeline with three-state opt-out
bmehta001 aca051b
Apply multi-agent review fixes: init race, redaction, privacy doc
bmehta001 a757f07
Make the device-id heartbeat durable for reliable device counting
bmehta001 9c33f0a
Align heartbeat field names with onnxruntime-genai
bmehta001 db4efc0
Keep telemetry inert in tests after durable-heartbeat change
bmehta001 a07ec96
Harden device-id store to owner-only permissions
bmehta001 8acd353
telemetry: address Copilot review on shutdown and recipe logging
bmehta001 57af124
telemetry: address Copilot opt-out isolation feedback
bmehta001 0b80b96
telemetry: address Copilot shutdown and duplicate-error feedback
bmehta001 fb3889b
telemetry: address Copilot uploader follow-ups
bmehta001 9b64bf0
telemetry: address Copilot lint follow-ups
bmehta001 1901806
telemetry: keep uploader reference until shutdown
bmehta001 fcec32d
telemetry: address Copilot finalizer and metadata feedback
bmehta001 3d3abfe
telemetry: address Copilot uploader drain edge cases
bmehta001 a3df0d2
telemetry: avoid releasing drain lock while uploader runs
bmehta001 cf6e695
telemetry: fix local review findings before Copilot loop
bmehta001 ff6f96e
Merge upstream/main into Olive telemetry branch
bmehta001 ea884a3
telemetry: address Copilot round 1
bmehta001 a06dcfb
telemetry: address Copilot round 2 fixture cleanup
bmehta001 0a9b557
telemetry: satisfy Python format checks
bmehta001 8836517
telemetry: satisfy Pylint checks
bmehta001 9584988
telemetry: guard empty permission paths
bmehta001 f6b2917
telemetry: address Copilot uploader wake race
bmehta001 7e02760
telemetry: use monotonic flush deadlines
bmehta001 518df1e
telemetry: address Copilot recipe metadata round
bmehta001 08f70d4
telemetry: close completed review threads
bmehta001 c333feb
Bound Olive telemetry lifecycle work
bmehta001 b521622
Align Olive telemetry tests with CI behavior
bmehta001 389858a
Harden Olive device ID and traceback handling
bmehta001 1eaa239
Limit Olive device ID registry access
bmehta001 fd296dc
Preserve safe Olive traceback context
bmehta001 ae89069
Reuse the Olive device store test import
bmehta001 8e3fa6b
Label Olive actions from function ownership
bmehta001 06bed4b
Keep the Olive telemetry value at its use site
bmehta001 68a7106
Scope Olive telemetry suppression to each run
bmehta001 01e0fdd
Keep Olive exporter diagnostics configurable
bmehta001 c94d15b
Use the ORT telemetry opt-out contract in Olive
bmehta001 93e1150
Recognize installed Olive traceback frames
bmehta001 6059701
Match ONNX Runtime telemetry redaction
bmehta001 3cd536c
Keep ORT telemetry disabled for the full Olive command
bmehta001 6afbfa3
Scrub Olive action metadata recursively
bmehta001 cb9e5be
Describe Olive traceback redaction accurately
bmehta001 8c16bb0
Preserve falsy Olive telemetry map keys
bmehta001 81b2c90
Scrub Olive metadata keys recursively
bmehta001 2c81424
Redact unknown Olive config object names
bmehta001 f2e5c05
Remove the stale Olive device ID comment
bmehta001 767129c
Close partially initialized Olive telemetry stores
bmehta001 8fd10ad
Retry failed Olive telemetry initialization
bmehta001 76f27d3
Keep live Olive drain locks with the uploader
bmehta001 126e9be
Keep telemetry reusable after shutdown
bmehta001 0e750f1
Remove stale telemetry app-name constant
bmehta001 fb4ff4b
Wake only the active telemetry drainer
bmehta001 f1a87e3
Make Olive telemetry opt-out complete
bmehta001 d471235
Raise Olive telemetry error messages to 40 KB
bmehta001 fb60a93
Keep Olive telemetry helpers best-effort
bmehta001 c481a76
Apply Olive test opt-out before initialization
bmehta001 cfc3162
Align Olive telemetry schema with ONNX Runtime
bmehta001 2413f16
Align Olive telemetry with native context
bmehta001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| from olive.telemetry.deviceid.deviceid import get_encrypted_device_id_and_status | ||
| from olive.telemetry.deviceid.deviceid import get_hashed_device_id_and_status | ||
|
|
||
| __all__ = ["get_encrypted_device_id_and_status"] | ||
| __all__ = ["get_hashed_device_id_and_status"] |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.