Skip to content

feat(certificates): expose durable operation status and renewal events #78

Closed

Description

@RentnerKev

A4-03

Titel:

feat(certificates): expose durable operation status and renewal events

Ziel:

Certificate Ausstellung und Renewal dürfen nicht nur über einen offenen Browser nachvollziehbar sein.

Implementieren:

  • persistente Operation IDs
  • reale persistente Statusschritte
  • persistente Event IDs
  • Controller Status-/Event API
  • Web Background Synchronisierung
  • Event Deduplication

Audit Events:

  • accepted
  • started
  • issued
  • activated
  • renewed
  • retry scheduled
  • failed

Certificate Store Readiness explizit unterscheiden:

  • Store erfolgreich geladen und leer
  • Store noch nicht bereit
  • Store Initialisierung fehlgeschlagen
  • Store beschädigt

Ein Store Fehler darf niemals als autoritativ leere Certificate Liste interpretiert werden.

Dann Runtime Error / 503.

DB / DTO Metadata erweitern.

Certificate UI soll sinnvoll anzeigen:

  • Valid until
  • Source: ACME / Imported
  • Auto Renew: Active / Manual
  • Next renewal
  • Next retry
  • Last attempt
  • Last successful renewal
  • Last activation
  • Last error
  • Error timestamp
  • Challenge type
  • Environment: Staging / Production
  • Issuer
  • SANs
  • Fingerprint
  • Retry Status

Staging deutlich kennzeichnen:

Test environment – certificates are not trusted by normal browsers.

Keine Fake-Fortschrittsanzeige.

Mögliche reale States:

  • queued
  • creating_order
  • preparing_challenge
  • waiting_for_validation
  • validating
  • finalizing
  • certificate_ready
  • applying
  • applied
  • retry_scheduled
  • failed
  • needs_attention

Nur technisch tatsächlich beobachtbare Zustände verwenden.

Delivery contract

Implement from current main in an issue-specific branch and worktree. Preserve controller ownership, typed Caddy configuration, RBAC, and upgrade/backup contracts. Include feature-specific unit/integration tests and available production smokes; use local ACME fixtures, never production ACME as routine CI. Merge only through a PR after all required checks and reviews pass. Do not publish the alpha.4 tag or release.

Activity

  1. added this to the v1.0.0-alpha.4 milestone on Sep 12, 2026
  2. added
    enhancement
    area: certificates
    area: database
    on Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: certificatesarea: databaseenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions