Skip to content

Move completed maintenance into the timeline#334

Open
jbrooksuk wants to merge 3 commits into
mainfrom
fix-maintenance-updates-link-1
Open

Move completed maintenance into the timeline#334
jbrooksuk wants to merge 3 commits into
mainfrom
fix-maintenance-updates-link-1

Conversation

@jbrooksuk

@jbrooksuk jbrooksuk commented Mar 5, 2026

Copy link
Copy Markdown
Member

What

Completed maintenance now appears in the incident timeline rather than the planned-maintenance block.

  • The maintenance block only shows incomplete (upcoming / in-progress) schedules again.
  • Completed maintenance is surfaced in the timeline, grouped by its completion date, alongside incidents — preserving access to past maintenance and its updates.
  • The timeline's empty-day backfill and only_disrupted_days filtering now account for both incidents and schedules.
  • Seeder gains a past (completed ~24h ago) "Database Server Upgrade" schedule so the behaviour is visible locally.

Why

Previously the maintenance block listed every schedule including completed ones, cluttering the section meant for what's still relevant. Moving completed maintenance to the timeline keeps the planned-maintenance section focused while still exposing the history.

Tests

Added StatusPageTest coverage asserting upcoming/in-progress stay in the maintenance block while completed maintenance is excluded from it and rendered in the timeline.

🤖 Generated with Claude Code

@jbrooksuk jbrooksuk force-pushed the fix-maintenance-updates-link-1 branch from 5e76790 to 025ff22 Compare June 17, 2026 12:30
jbrooksuk and others added 2 commits June 23, 2026 13:48
Previously, the status page only showed incomplete schedules, which meant
users couldn't access updates for completed maintenance events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The maintenance block now only shows incomplete (upcoming/in-progress)
schedules, while completed maintenance is surfaced in the incident
timeline grouped by its completion date. This keeps the planned
maintenance section focused on what's still relevant while preserving
access to past maintenance and its updates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbrooksuk jbrooksuk force-pushed the fix-maintenance-updates-link-1 branch from 025ff22 to bc80d8f Compare June 23, 2026 13:06
@jbrooksuk jbrooksuk changed the title Fix maintenance schedules to show completed schedule updates Move completed maintenance into the timeline Jun 23, 2026
Type ScheduleBuilder against the Schedule model and convert grouped
incident/maintenance results to base collections so the return types
match their declarations.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant