feat(cli): add stable provisioning failure codes for manual and MDM installs

This commit is contained in:
Anthony Wong
2026-08-21 14:52:02 +07:00
committed by Cuong Manh Le
parent 753d245029
commit 1f001a559a
14 changed files with 1988 additions and 107 deletions
+6 -1
View File
@@ -1683,12 +1683,17 @@ func (p *prog) dnsInterceptIgnoredChangeReconcileDue(now time.Time) bool {
}
func (p *prog) scheduleDNSAfterVPNSettleRefresh(reason string, delay time.Duration) {
time.AfterFunc(delay, func() {
timer := time.AfterFunc(delay, func() {
if p.dnsInterceptState == nil {
return
}
p.refreshDNSAfterVPNSettle(reason)
})
// Track the timer like the other delayed rechecks, so intercept teardown
// (and test cleanup) can stop it instead of letting it fire afterwards.
p.pfDelayedRecheckMu.Lock()
p.pfDelayedRecheckTimers = append(p.pfDelayedRecheckTimers, timer)
p.pfDelayedRecheckMu.Unlock()
}
func (p *prog) pfExecBackoffActive() bool {