Page MenuHomePhabricator

Disallow scheduling instruments/experiments to start on a Friday
Open, LowPublic1 Estimated Story Points

Description

Background

@phuedx: This has highlighted that we currently allow experiments to be enabled on a Friday and, generally speaking, Friday deployments are a no go
@phuedx: Should we restrict experiment starts to Monday-Thursday?
@Sfaci: can I guess that you mean even implementing a way to restrict deployment on Friday (and then Saturday and Sunday as well) in xLab? Like a validation rule to avoid users to configure anything like that?

Solution

To discourage deployments starting on Fridays, the UI should display a non-blocking warning message when users select a start date that falls on a Friday. This warning should help users make an informed decision, but it isn't blocking: users can still proceed and save or activate the configuration. The warning should disappear automatically if the user changes the start date to a non-Friday.

Screenshot 2025-06-19 at 17.56.28.png (920×439 px, 43 KB)

Warning message copy (up for review!): "Friday start dates are discouraged, as weekend deployments may have limited support"

AC

  • Trying to set the start date of an instrument or experiment to a Friday triggers a non-blocking warning message below the field
  • The warning disappears immediately if the user changes the start date to a non-Friday