Repository navigation
fix(email): restrict backup cleanup to its parent shell - #5825
Conversation
RED/GREEN at The complete Email credential/recovery package passes locally, including all source, unfinished-Job, ownership, completion, snapshot/mirror and privacy controls. ShellCheck, Go formatting and GolangCI-Lint pass. This is a narrow process-owner fence; no production credential or Job was changed. Hosted CI and current-head review remain required. The defect was observed in the full Go CI of #5820, which stays unready pending repair and fresh passing validation. |
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Readiness rechecked at The current-head Codex review is clean; all reported checks are settled green/skipped; the body contract passes; threads, review bodies and maintainer control reads are clear; no active worktree holder was found. The required aggregate and three required workflows pass. Required code-quality analysis remains unreadable despite configured setup; the normal protected merge API is authoritative under the consumer policy, with no bypass. Production execution remains governed by its existing pipeline and recovery gates, including the separately owned maintenance incident. |
The reviewed head Queue admission is not delivery. Merge-group CI, actual main merge, deployment/readback and meaningful operational verification still need collection. The current production-maintenance recovery remains separately owned. |
Returned this change to draft while its required validation is refreshed. The newly applicable organization Go workflow is missing at source head The already-started deployment job completed successfully before this metadata change. The overall merge-group run and its final checks had not completed; no accepted-main delivery or recovery trial is claimed. Re-entry requires the accepted repair on main, a non-destructive source refresh, every required current-head check, a current-head permitted review and the normal production/recovery gates. Preserve this issue's original start and waiting history. No failed deployment is being retried, and no validation gate is waived. |
Native readback now confirms this merged as The existing queue entry survived conversion to draft. The normal cancellation arrived after merge and the overall run is cancelled, so it is not recorded as a successful complete run. The repository's required CD recovery verification is now in progress from that merged revision. Operational snapshot/mirror verification remains pending; this does not establish mailbox-data restoration or complete Email recovery. |
The normal main recovery deployment passed at This completes the pending deployment and backup-refresh verification for this PR. Backup restoration and Stalwart mailbox/Calendar migration remain separate acceptance work; neither is established by this result. |
Why
Stopping a backup watch can prematurely remove the recovery check's temporary files, causing a valid backup refresh to fail.
What
Restrict cleanup to the parent process and verify that child cleanup preserves its work while parent cleanup still completes.
Fixes #5824