| … | … | @@ -1984,6 +1984,57 @@ export function MaintenanceSettingsPanel() { | |
| 2021 | + | : undefined | |
| 2022 | + | } | |
| 2023 | + | control={ | |
| 2024 | + | <ScopedSwitch | |
🟡 Medium settings/SettingsPanels.tsx:2024
When selected environments all force telemetry on but their persisted telemetryEnabled values differ, this switch displays mixed/off even though every server is sending telemetry. ScopedSwitch derives its mixed state from persisted settings and overrides the supplied checked value; derive the mixed/checked state from the effective, environment-overridden values instead.
No longer relevant as of a8b695fdcabe73051e642745583c1a44e1e422c2
Fixed in a8b695fdca. When the variable decides on every selected environment, the row now renders a plain disabled Switch showing the variable's value, so saved telemetryEnabled values that do not apply can no longer make it look mixed. When only some environments are overridden, the switch still edits and reflects the saved setting, and the status line names the overridden ones.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.
| … | … | @@ -215,6 +228,17 @@ export const make = Effect.gen(function* () { | |
| 239 | + | })); | |
| 240 | + | return; | |
| 241 | + | } | |
| 218 | 242 | while (true) { | |
🟠 High telemetry/AnalyticsService.ts:242
If telemetry is turned off while a batch request is pending, flush still sends the remaining queued batches: after a successful request, continue starts the next iteration without rechecking isEnabled. Recheck inside the loop and clear the buffered and retry events before returning when disabled.
✅ Resolved in a8b695fdcabe73051e642745583c1a44e1e422c2
Fixed in a8b695fdca. flush now checks the setting before each batch, so turning telemetry off while a request is in flight stops the rest of the queue and clears it. New test: 45 events (3 batches), the setting is turned off while the first request is answered, only that one batch is sent. It sends 3 without the fix.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.