fix(certificates): add reliable issuance progress and DNS propagation handling

- replace raw ACME terminal logs with a scrollable TUI progress console
  - check authoritative DNS servers to avoid stale recursive cache delays
  - add per-order timeouts and actionable failure messages
  - support safe cancellation with DNS challenge cleanup
  - add background progress, summaries, and activity history
  - expand certificate workflow and TUI regression tests
This commit is contained in:
Meghdad committed 2026-07-13 06:53:45 +03:30
1 parent e925ade94a
commit 2518e345fc
15 files changed
+719 -44

No files matched your search

+5
View File
@@ -173,6 +173,11 @@ func (s *Service) SetHealthCheck(check func(context.Context) error) { s.healthCh
func (s *Service) SetUnlockHook(hook func(context.Context) error) { s.unlockHook = hook }
func (s *Service) SetCertificateService(service *CertificateService) {
s.certificateService = service
if service != nil {
service.JobObserver = func(job domain.Job) {
s.publish(Event{Kind: "certificate.progress", Message: job.Message, Value: job})
}
}
}
func (s *Service) ResolveCredential(ctx context.Context, credentialID string) (provider.Auth, error) {