Issue with editing schedules
This summary is created by Generative AI and may differ from the actual content.
Overview
From June 04, 2024 at 18:05 UTC until June 05, 2024 at 11:57 UTC, PagerDuty users in both the US and EU service regions navigating to the Schedule Edit page experienced an error stating, "This schedule contains inactive users. You must remove all inactive users in order to edit this schedule," despite the schedule containing no inactive users. This issue did not affect the behaviour of on-call notifications, nor the ability to edit the schedules.
Impact
PagerDuty users in both the US and EU service regions experienced an error message when navigating to the Schedule Edit page, but it did not affect the behaviour of on-call notifications or the ability to edit the schedules.
Trigger
A change was deployed to display an error message whenever users attempted to update a schedule with no active rotation layers, which inadvertently caused the inactive user error message to appear even if the schedule did not contain any inactive users.
Detection
The Support team manually triggered an incident after receiving customer reports of an error on the Schedule Edit page.
Resolution
The issue was identified and a rollback of the problematic code was initiated and successfully completed, resolving the issue.
Root Cause
The update inadvertently caused the inactive user error message to appear even if the schedule did not contain any inactive users due to a lack of proper automated testing procedures.
