Page MenuHomePhabricator

SRE/Oncall/Schedule: add history support
Closed, ResolvedPublic


Currently the oncall schedule script which populates fetches the upcoming oncall schedule from $now onwards. This leads to empty (nan) fields when the script is run on Monday, after one or more users shifts has a start date which is in the past.

The script should store recently past oncall shifts (e.g. via sqlite) and show at least a weeks worth of shifts with start dates in the past in the table.

Event Timeline

herron triaged this task as Medium priority.Dec 5 2022, 3:05 PM
herron created this task.

An updated version of the script that retains shift history is now updating

Will let this run for some time and monitor for issues before promoting it to SRE/Oncall/Schedule

The updated version is now managing SRE/Oncall/Schedule, will keep this open for a bit longer to track any bugs

herron claimed this task.