ORM upgrade changes query semantics: pre-release and first 30 minutes checklists
An ORM or driver upgrade changes default query behaviour and returns different rows.
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
- PR-07
First 30 minutes
- FM-01
- FM-02
- FM-03
- FM-04
- FM-05
- FM-06
Download the checklist
Only in this checklist
Every test class in this checklist also appears in at least one sibling checklist in the group; the item texts differ: Capture the SQL generated for every scoped association query before and after the ORM upgrade and diff the WHERE clauses.
Questions
What should be checked before a release to prevent ORM upgrade changes query semantics?
7 pre-release items, PR-01 to PR-07. PR-01: Capture the SQL generated for every scoped association query before and after the ORM upgrade and diff the WHERE clauses.
Is there a rollback plan for ORM upgrade changes query semantics?
The first-30-minutes checklist has 6 items. FM-01: Stop the job or endpoint that runs the affected query, such as the bulk email send or the bulk delete.
What should a team do in the first 30 minutes after ORM upgrade changes query semantics is detected?
The first-30-minutes checklist has 6 items. FM-01: Stop the job or endpoint that runs the affected query, such as the bulk email send or the bulk delete.
Is a ORM upgrade changes query semantics checklist still needed if deployment is automated?
Yes. Automation runs the steps; the checklist names what the tests must cover: integration tests.
Which pipeline stages does the ORM upgrade changes query semantics checklist cover?
The pre-release items map to the pre-deploy stages.
In what formats can the ORM upgrade changes query semantics checklist be downloaded?
Both checklists download as Markdown files: /downloads/orm-upgrade-changes-query-semantics-pre-release.md and /downloads/orm-upgrade-changes-query-semantics-first-30-minutes.md, licensed CC BY 4.0.