Repository navigation
Description
Problem
The Certificate table can continue to show historical completion details such as Applied, Issue, and an Operation ID after issuance has successfully finished. This makes a stable certificate look as if work is still running or needs attention.
Current behavior
A certificate in a stable Valid state with no active operation can still show the last completed operation prominently in the normal table row. Active and historical states are not presented with a sufficiently clear distinction.
Expected behavior
- When no operation is currently running, the table shows
No operation in progress. - Active states remain visible while work is actually running, including Queued, Creating order, Validating, Applying, and Retry scheduled.
- Relevant current failure states remain visible.
- Historical operation ID, Issue/Renew type, completion time, and prior states remain available in details, audit, or diagnostics where appropriate, but not as permanent primary-row badges after successful completion.
Technical considerations
Use the durable certificate operation state and completion semantics already exposed by the certificate services. Keep the distinction between active issuance, renewal, activation retry, failure, and stable certificate material. Update the table cell/view-model and any shared operation-state helper without removing audit or detail data.
Related: #78
Acceptance criteria
- Valid certificate with no active operation shows
No operation in progress. - A genuinely active operation shows its current state.
- Failed or retry-scheduled current work remains visible and actionable where supported.
- Completed Issue, Renew, Apply, and Operation ID details are not permanently prominent in the main table row.
- Historical operation details remain available in the appropriate detail/audit surface.
- Existing certificate status and operation data are not changed by presentation logic.
Tests
- Issue in progress and completed Issue.
- Renewal in progress and completed Renewal.
- Apply/activation in progress and completed Apply.
- Queued, validation, retry-scheduled, and failure states.
- Stable Valid certificate with no active operation.
- Detail/audit access to historical operation metadata.
Out of scope
- Changing certificate issuance, renewal, retry, or controller state machines.
- Deleting operation history or changing audit retention.
- Redesigning the Certificate details page beyond the information needed to preserve historical access.
Activity