Clarify and fix workflow-state cleanup semantics on signing timeout #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review cleanup semantics in the synchronous-to-async signing bridges. In PkiBusContentSigner and the similar content signer embedded in DefaultCaService, workflow state is deleted on explicit success and explicit failure, but not on timeout; on timeout the code throws "Signing did not complete before TTL" and leaves state behind.
Why this matters
For regulated PKI operation, timeout handling must be intentional and documented. Persisted workflow state left behind on timeout may be either correct evidence or unintended residue; the design must say which one it is.
Acceptance criteria