fix: Archival of suspended sites (backport #6139)#6153
Closed
mergify[bot] wants to merge 7 commits intomasterfrom
Closed
fix: Archival of suspended sites (backport #6139)#6153mergify[bot] wants to merge 7 commits intomasterfrom
mergify[bot] wants to merge 7 commits intomasterfrom
Conversation
(cherry picked from commit bd208e4)
- Patch to populate `suspended_at` field in Site doctype based on 'Suspend Site' activity record's creation (cherry picked from commit f434146)
…tion respectively (cherry picked from commit fe0e73d)
- Filter based on newly added suspended_at field value - Move out logic for notifying user before archival (cherry picked from commit c8ef82f)
- Add it as a separate job - Filter sites based on suspended_at field (cherry picked from commit 0d351d7)
(cherry picked from commit 9be84a4)
- Remove press/press/doctype/site/archive.py file which had logic for: - Archiving suspended trial sites - Deleting offsite backups of archived sites, this is already handled (cherry picked from commit 9de3027)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6153 +/- ##
=======================================
Coverage 51.66% 51.66%
=======================================
Files 905 904 -1
Lines 75195 75156 -39
Branches 272 272
=======================================
- Hits 38847 38828 -19
+ Misses 36325 36305 -20
Partials 23 23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Collaborator
|
already included via weekly release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
suspended_atfield to Site doctype to track site suspension timesuspended_atfield in Site doctype based on 'Suspend Site' activity record's creationsuspended_atfield on site suspension and activation respectivelyThis is an automatic backport of pull request fix: Archival of suspended sites #6139 done by Mergify.