Commit 9f32eec
committed
refactor: apply telemetry review conventions
Make telemetry dimensions explicit at every call site: suspendSession
and clearDeployment now require a reason instead of defaulting (the
suspendSession default was never used in production), and
CliCredentialManager requires its TelemetryReporter rather than
silently falling back to the noop reporter.
Replace the scenario DSL in commands.telemetry.test.ts with plain it()
blocks on a shared setup() that reuses createTelemetryHarness, and drop
the unused clearDeploymentError option.1 parent 23a5367 commit 9f32eec
4 files changed
Lines changed: 148 additions & 201 deletions
File tree
- src
- core
- deployment
- test/unit
- deployment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
| |||
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 185 | + | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
| |||
199 | 197 | | |
200 | 198 | | |
201 | 199 | | |
202 | | - | |
203 | | - | |
204 | | - | |
| 200 | + | |
205 | 201 | | |
206 | 202 | | |
207 | 203 | | |
| |||
267 | 263 | | |
268 | 264 | | |
269 | 265 | | |
270 | | - | |
| 266 | + | |
271 | 267 | | |
272 | 268 | | |
273 | 269 | | |
| |||
0 commit comments