Review Early and at the Gates
Det här innehållet är inte tillgängligt på ditt språk än.
The question this module answers: When should a data design be reviewed, and what should each review catch?
Ask most teams when they review the data design and you’ll hear one answer: before go-live. There’s a review meeting, an architect looks at the model, a few comments get written down, and the project goes live a week later.
I do review before go-live. But when I’m asked when to review a data design, my answer is: at design time, and also before go-live, but that can be way too late. So I add two more: at the code review process, and when entering a major QA gate. Four reviews, not one, and each catches something the others can’t.
Why Go-live Is Too Late
Section titled “Why Go-live Is Too Late”Chapter 1 called it gravity. Every data decision collects things around it: automation, integrations, reports, other systems storing your keys, people’s processes. By go-live, the data model has months of that built on it. A finding that would have been a five-minute change on a whiteboard is now a change to objects, flows, Apex, integrations, test data, a migration script and a training guide.
So a go-live review finds the problems at the moment they cost the most to fix. Often the team can’t fix them at all, only note them and go live anyway. That’s not a review. That’s a list of regrets.
The fix isn’t a bigger review at the end. It’s moving most of the review earlier, to the points where a finding is still cheap.
Four Reviews, Four Jobs
Section titled “Four Reviews, Four Jobs”Each review has its own job. Running the same checklist four times wastes everyone’s time; asking each review the right questions doesn’t.
1. At design time: is this the right design? This is the review that matters most, and it’s the cheapest. Nothing is built yet. The questions are the big ones: the objects and relationships, the keys and where master data lives, how much data in year three, who can see what, what’s copied and what’s left where it lives, which decisions pull two ways. If chapter 17’s trade-off cards exist, this is where they get read, challenged and signed off.
2. At code review: does the build match the design? Designs change quietly during implementation. Nobody decides to change them; a developer makes a reasonable local choice, and the design moves. So at code review I look at the data side of the code: queries that won’t stay selective as the data grows, saves that all land on the same parent record (chapter 11), record IDs hard-coded where a key should be, a new field added where a new record should have been. This is where the short-term functional option from chapter 17 usually slips in, and code review is the first place anyone can see it.
3. Entering a major QA gate: does it work at real volume? The design was right and the code matches it. Now prove it holds. Salesforce’s Reliability guidance says to test with production-scale data volumes and concurrency, and to “Test with 10 million+ records when production will reach that scale,” because the optimizer behaves differently at volume and small tests mislead (Reliability (opens in a new tab), Salesforce Architects, checked 2026-11-28). That’s the time test turned into a gate: the volume, distribution and busy hour you wrote on the card, actually run. It’s also where a migration gets rehearsed (chapter 10) and access gets proved, not assumed.
4. Before go-live: are we ready to run it? By now, the design questions should be answered. This review is about operating the data: is the migration complete, and can we prove it? Is there a backup of the data, the metadata and the files, and has anyone restored from it? Salesforce’s guidance is direct that the platform’s own redundancy “replicates the results of user error, flawed deployments, and integration defects,” so backups are yours to plan, and it recommends scheduling “quarterly restore validation” (same page, checked 2026-11-20). Is there monitoring for the things that grow? Are the assumptions written down, with an owner?
Each review asks its own question. A finding costs more at every step down.
Notice how the questions get narrower as you move right. At design time, anything can still change. Before go-live, almost nothing should need to. If the go-live review is still finding design problems, the earlier reviews didn’t happen.
And Again as the Data Grows
Section titled “And Again as the Data Grows”Go-live isn’t the last review either. Chapter 17’s trade-off card has a line for assumptions, and its last module was about the card telling you when to look again. A design review that ends with “approved” and no date has thrown that away.
So the last thing a review does is set the next one: a date, or a trigger. When the largest object passes a number. When a new partner or a new region arrives. When an agent starts reading or writing the data. Chapter 1’s decision record has a line for exactly that: what reason or date should make us revisit it?
Part of Delivery, Not a Final Inspection
Section titled “Part of Delivery, Not a Final Inspection”Put the four reviews together and something changes. The review stops being an inspection at the end, where an architect arrives, finds problems and leaves, and becomes part of how the project delivers. Small reviews, at the moments they’re cheapest, by people who know what each one is for.
That also changes who’s in the room. The design-time review needs the business and the architects. Code review needs the developers. The QA gate needs whoever runs the tests and the data loads. The go-live review needs the people who’ll operate the system on Monday. Same design, four different conversations.
Each course in this series reviews its own designs, because each domain asks different questions. This module and the next are the data architect’s review: the data questions, at the data gates. The next module is what to ask at each one.
What an Architect Decides Here
Section titled “What an Architect Decides Here”- Which of the four reviews this project needs, and where each one sits in the delivery plan.
- What each review is for, so it asks its own questions and not the others’.
- What has to be proved at the QA gate, at what volume, before anyone calls it tested.
- What has to be true to go live: migration proved, backup restored, assumptions owned.
- What date or trigger sets the next review after go-live.
Beyond the exam: what AI changes. AI writes code fast, so more of the design gets decided at the keyboard, and the code review gate matters more than ever. An AI tool can run a useful first pass there, flagging non-selective queries or hard-coded IDs. But a review where AI ticks every box and nobody weighs the findings is theatre. Chapter 1 put it plainly: human review isn’t a ceremony.
Explore
Section titled “Explore”- Earlier in this course: chapter 1, The Reversibility Test; chapter 10, Cutover Weekend; chapter 17, What Goes Bad in a Year and When the Answer Flips.
- Salesforce Architects, Well-Architected, Reliability (opens in a new tab), checked 2026-11-28 (a related, official reference; the review method here is my own).
