[PER-10569] Show downtime banner for scheduled maintenance#1098
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1098 +/- ##
==========================================
+ Coverage 52.15% 52.17% +0.02%
==========================================
Files 354 354
Lines 12090 12090
Branches 2186 2186
==========================================
+ Hits 6305 6308 +3
+ Misses 5560 5557 -3
Partials 225 225 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cecilia-donnelly
force-pushed
the
PER-10569-outage-banner
branch
from
July 22, 2026 20:08
497e113 to
f023065
Compare
cecilia-donnelly
approved these changes
Jul 22, 2026
cecilia-donnelly
left a comment
Member
There was a problem hiding this comment.
I changed the exact wording and the start time, @aasandei-vsp, so I will still leave it to you to have a final look before merging. Thank you for finding where this belongs and making the change! Sorry for the unclear ticket.
Add an announcement event to display a site-wide maintenance banner warning about a scheduled downtime on July 28th, 1:00-3:00 PM CDT. Reuses the existing time-window-driven Announcement mechanism, so the banner appears and disappears automatically for the window; no feature flag or component changes needed. Note that this will be active immediately upon deployment. Issue: PER-10569 Co-authored-by: Andreea Asandei <andreea.asandei@vspartners.us> Co-authored-by: Cecilia Krum <cecilia@permanent.org>
aasandei-vsp
force-pushed
the
PER-10569-outage-banner
branch
from
July 23, 2026 10:27
f023065 to
9a5abe9
Compare
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.
Add an announcement event to display a site-wide maintenance banner during the scheduled downtime on July 28th, 1:00-3:00 PM CDT. Reuses the existing time-window-driven Announcement mechanism, so the banner appears and disappears automatically for the window; no feature flag or component changes needed.
Issue: PER-10569
The way I tested this was just to modify the start/end dates locally in the code.
I changed the start date to be 1 min before the current time, to see that the banner appears.
Then I modified the end date to be 1 hour in the past, to make sure the banner won't appear after the window is finished.
It is worth mentioning that this banner only appears on a few screens:

For example, it does not appear when you go to an archive's profile:
