Repository navigation
Description
🤖 Generated by the Agentic Engineer
Description
Fresh bootstrap creates recovery state before a later configuration container durably stores it. An interruption that replaces the Pod in that gap can leave an initialized service without the state needed to resume safely. Make that handoff restart-safe before tightening the configuration Job's retry or termination policy.
Steps to Reproduce
In a disposable fixture with synthetic state only:
- Run fresh initialization and stop before the persistence stage acknowledges success.
- Replace the configuration Pod, including its temporary volumes, while retaining the initialized service state.
- Retry configuration and verify whether it can recover without reinitializing the service or discarding its data.
Expected Behavior
A bounded configuration failure or Pod replacement preserves a verified recovery path. A failed or ambiguous persistence operation never counts as a durable handoff.
Actual Behavior and Evidence
Static inspection of the current configuration Job shows that fresh initialization writes the handoff into a temporary shared volume and a later init container persists it. The Job has a finite lifetime and is force-recreated for specification changes. The source therefore has an interruption window; no production loss is claimed, and no interruption was performed against production.
Acceptance Criteria
- Define and implement a durable, acknowledged bootstrap-state handoff across the entire initialization-to-persistence interval, or an equally verified recovery mechanism.
- RED/GREEN regression exercises the real configuration entrypoints with synthetic state and a fresh Pod/temporary-volume boundary.
- Cover interruption before and after persistence, persistence failure and ambiguous acknowledgement, container retry, Job deadline, and specification-driven replacement.
- Retry never reinitializes an existing service, overwrites retained recovery state, exposes sensitive values, or treats missing state as success.
- Preserve snapshot recovery and existing initialization guards, with the least required privileges.
- Validate the changed resources in both environments and obtain current-head review. Record rollout and recovery-path acceptance separately from source merge.
Additional Context
Part of #4979. Related: #6360 and its partial delivery #6362. The process-level wait bound does not close this persistence gap. Do not adopt a replacement or terminal-failure policy merely because a process timeout is finite.
Audience: platform operators and deployments depending on the secrets service. Risk reduction: preserve recoverability while making failed deployments terminate predictably. Estimated effort: Medium, including behavioral interruption tests, review, and rollout verification. New intake is Backlog; the active production recovery retains its owner and scheduling fence.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Effort
Projects
- StatusShow more project fields📥 Backlog
Activity
chore: agent-claim #6365 nonce=c514e1b930cd4e45b311473907263a83
chore: agent-claim #6365 nonce=bd83f764eda95e63078552e5eca826e7
chore: agent-claim #6365 nonce=0c9ae1129e3898c958bd3b9ac59b60da
chore: agent-claim #6365 nonce=2de32f105cb73754eb07b9e515389d94
chore: agent-claim #6365 nonce=773e7adead64c92df42574513d2684b2