Commit dbb10ec
Fix PET timeout telemetry attribution (#1695)
## Summary
Correct PET/setup telemetry so timeout investigations retain numeric
context and reliable binary attribution.
- send refresh, configure, and restart counts through telemetry
measurements
- classify PET JSON-RPC timeouts by method and preserve refresh failure
context
- retain partial locator timing on failed refreshes
- retry transient PET `info` timeouts while retaining metadata only for
an unchanged binary
- derive Conda counts from the caller-owned enum identity
- regression-test setup stage duration, timeout categories, refresh
measures, retry bounds, and binary attribution
## Validation
- `npm run lint`
- `npm run compile-tests`
- `npm run unittest` (1504 passing, 5 pending)
- `npm run compile`
Fixes microsoft/python-environment-tools#478
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent def0c4e commit dbb10ec
8 files changed
Lines changed: 452 additions & 129 deletions
File tree
- src
- common/telemetry
- managers/common
- test
- common/telemetry
- managers/common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
604 | 605 | | |
605 | 606 | | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | 607 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | 608 | | |
626 | 609 | | |
627 | 610 | | |
| |||
638 | 621 | | |
639 | 622 | | |
640 | 623 | | |
| 624 | + | |
641 | 625 | | |
642 | 626 | | |
643 | 627 | | |
| 628 | + | |
644 | 629 | | |
645 | 630 | | |
646 | | - | |
647 | | - | |
648 | | - | |
| 631 | + | |
649 | 632 | | |
650 | 633 | | |
651 | 634 | | |
| |||
660 | 643 | | |
661 | 644 | | |
662 | 645 | | |
| 646 | + | |
663 | 647 | | |
664 | | - | |
665 | 648 | | |
666 | 649 | | |
667 | 650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
31 | 50 | | |
32 | 51 | | |
33 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments