Skip to content

Implement attachment reconciliation and recovery #995

Closed

Description

@privateip

Parent: #992

Deliverable: a working host-managed attachment lifecycle, callable through the internal contract, with create, reconcile, readiness, drain and delete behavior.

Integrate admission with verified namespace access and privileged attachment programming. Retain sufficient identity and ownership to recover partial operations and process restarts. Report readiness only after the required state is verified, and make repeated operations safe. This milestone owns attachment resource recovery; #996 owns integration with external maintenance components.

Work items:

  • Implement verified attachment provisioning and readiness with overlapping-tenant and namespace-identity tests.
  • Implement reconciliation and durable recovery with partial-failure and restart tests.
  • Implement drain and identity-safe deletion with repeated-operation and stale-cleanup tests.

Dependencies: #993, #994.

Acceptance: privileged integration tests cover attach/detach, repeated reconciliation, intermediate failures, restart, namespace replacement and stale deletion. Overlapping tenants and colliding pod-local identifiers remain isolated. Missing tenant state fails closed, and cleanup preserves replacement and unrelated resources.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions