Skip to content

Pause and resume the retained Email recovery reader safely #6048

Description

@devantler

🤖 Generated by the Agentic Engineer

The retained Email recovery reader needs a reversible pause so infrastructure maintenance can continue while its recovery data remains available. The existing disposal operation correctly remains unavailable; it must keep its current backup-validity requirements.

Acceptance criteria

  • Provide separate, explicitly confirmed pause and resume operations in reviewed, protected, main-only workflows using the deployment lock and existing credential custody.
  • Bind the fixed diagnostic copy to independent resource witnesses. Refuse changed, foreign, ambiguous or incomplete state before any write.
  • Pause with normal, bounded, UID-fenced reader termination. Preserve its namespace, storage claim, volume, backend, replicas, authentication, encryption key and configuration. Never force deletion or detach storage directly.
  • Confirm actual reader absence and volume detachment before reporting maintenance clearance. Unknown or incomplete outcomes remain unverified.
  • Resume only the same retained copy with the reviewed reader definition and unchanged recovery inputs. Verify the replacement reader and durably rebind its new identity for later authorized observations.
  • Cover successful pause/resume and changed identities, missing recovery material, unsafe attachments, uncertain deletion and replacement-reader cases. Complete required validation, current-head review, protected delivery and live readback.
  • Preserve the existing expired-backup disposal gate, source mailbox and all other recovery copies. Keep private identifiers and content out of public output.

Part of #5578. This is a repair needed to finish the already-started Email recovery and storage-maintenance work. Candidate-image adoption waits behind recovery release; no extra scratch allocation is authorized by this operation.

Activity

  1. coderabbitai commented on Nov 11, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #5839 - fix(email): verify and dispose the retained recovery copy [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. moved this to 📥 Backlog in 🌊 Project Boardon Nov 11, 2026
  3. self-assigned this
    on Nov 11, 2026
  4. moved this from 📥 Backlog to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Nov 11, 2026
  5. added 2 commits that reference this issue on Nov 11, 2026
  6. devantler commented on Nov 11, 2026

    @devantler
    ContributorAuthor

    🤖 Generated by the Agentic Engineer

    This repair is being implemented to unblock the Email recovery and storage-maintenance work already in progress. No new Ready work was pulled. The original recovery work keeps its existing start and retention requirements.

    Draft #6074 records the first input-validation step. Durable custody, the protected pause/resume operations and live verification remain unfinished; this is not permission to stop a reader or release storage. The existing disposal protections remain unchanged.

    First implementation started: 2026-11-11. The recovery issue remains open until the actual pause, detachment and restart are verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions