Skip to content

WIP: Removes redundant callings of cleanup#21312

Draft
msutovsky-r7 wants to merge 1 commit intorapid7:masterfrom
msutovsky-r7:fix/lib/modules/double_calling_cleanup
Draft

WIP: Removes redundant callings of cleanup#21312
msutovsky-r7 wants to merge 1 commit intorapid7:masterfrom
msutovsky-r7:fix/lib/modules/double_calling_cleanup

Conversation

@msutovsky-r7
Copy link
Copy Markdown
Contributor

** WORK IN PROGRESS**

Fixes #18138

@adfoster-r7
Copy link
Copy Markdown
Contributor

Should cleanup calls not be idempotent? 👀

@msutovsky-r7
Copy link
Copy Markdown
Contributor Author

Should cleanup calls not be idempotent? 👀

In theory probably yes, it just seems like weird thing to have. If the clean calls play nicely, it shouldn't be a problem, my concern is that if cleanup "restores" some previously manipulated/corrupted data, double restoration might potentially break something.

@bwatters-r7 bwatters-r7 self-assigned this Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug rn-fix release notes fix

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Cleanup method is called twice when a Post module fails

3 participants