drupflare/worker - v1.0.4
    Preparing search index...

    Function appendRetireLog

    • Appends one retirement to the log and returns the entry.

      The log lives in the front worker's CONFIG_KV because the object's own audit ring is in the storage deleteAll() removes. The entry's seq and hash also go to console.log, which Workers observability keeps. Read-modify-write on one key, so two retirements at once can lose one; they are an operator's hand and seconds apart at the closest.

      Parameters

      • kv: RetireKv & { put: (key: string, value: string) => Promise<void> }
      • call: AuditCall

      Returns Promise<AuditEntry>