Encoding or timezone shift: pre-release and first 30 minutes checklists
Stored timestamps or strings are shifted or corrupted after a driver, locale or timezone change.
The pre-release checklist maps each item to a test class from the incident page. The first-30-minutes checklist covers detection, containment, the rollback decision and customer communication.
Pre-release checklist
- PR-01
- PR-02
- PR-03
- PR-04
- PR-05
- PR-06
First 30 minutes
- FM-01
- FM-02
- FM-03
- FM-04
- FM-05
- FM-06
Download the checklist
Only in this checklist
PR-05 is the only item among 7 published checklists in this group that relies on synthetic monitoring: Add a post-change smoke step that creates a note, reads its timestamp back and fails if the offset differs from the account timezone.
Questions
What should be checked before a release to prevent Encoding or timezone shift?
6 pre-release items, PR-01 to PR-06. PR-01: Assert in every environment that the application timezone configuration variable is set to a non-NULL value before the serving change goes live.
Is there a rollback plan for Encoding or timezone shift?
The first-30-minutes checklist has 6 items. FM-01: Compare the timestamps of records written since the deploy with the account timezone and record the exact offset.
What should a team do in the first 30 minutes after Encoding or timezone shift is detected?
The first-30-minutes checklist has 6 items. FM-01: Compare the timestamps of records written since the deploy with the account timezone and record the exact offset.
Which configuration checks apply to Encoding or timezone shift?
PR-01: Assert in every environment that the application timezone configuration variable is set to a non-NULL value before the serving change goes live. PR-02: Diff the timezone and locale settings of the new serving layer against the old one and block the release on any difference.
Is a Encoding or timezone shift checklist still needed if deployment is automated?
Yes. Automation runs the steps; the checklist names what the tests must cover: configuration and environment tests, integration tests and synthetic monitoring.
Which pipeline stages does the Encoding or timezone shift checklist cover?
The pre-release items map to the pre-deploy and post-deploy stages.