Review Early and at the Gates
Это содержимое пока не доступно на вашем языке.
Module 2 of 5 in the chapter What I Would Architect, chapter 24 of the Integration Architect course. Each module stands on its own. Previous: How I Solve an Integration Scenario · Next: The Course Is the Checklist
The question this module answers: When should an integration design be reviewed, and what should each review catch?
Ask most teams when they review an integration design and you’ll hear one answer: before go-live. When I’m asked, my answer is: yes, at design time, and also before a go-live, but that can be way too late. So also at the code review, and when entering a major QA gate.
For integration, I add one more, because the other end of every arrow keeps moving: again at every release.
Why Go-live Is Too Late for an Arrow
Section titled “Why Go-live Is Too Late for an Arrow”An integration finding costs more than most, because an arrow has two ends. By go-live, the partner has built to your contract, tested against it and scheduled their own release around it. A change that would have been a line in the design record at week two is now a change to two systems, two test plans and two teams’ calendars.
So a review at go-live finds problems at the moment they cost the most to fix, and often the only choice left is to note them and go live anyway. 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.
Five Reviews, Five Questions
Section titled “Five Reviews, Five Questions”Each review has its own question. Asking the same checklist five times wastes everyone’s time; asking each review the right question doesn’t.
Each review asks its own question. A finding costs more at every step down.
1. At design time: is this the right design?
Section titled “1. At design time: is this the right design?”This review matters most, and it’s the cheapest. Nothing is built, and no partner has built anything either. Review the landscape and the arrow records, one line at a time: the requirement and its Number of Zeros, the pattern and the mechanism, who the call is made as, the failure plan, the owner. Use the card in module 3. Any arrow without a record isn’t designed yet.
2. At code review: does the build match the record?
Section titled “2. At code review: does the build match the record?”Designs change quietly during the build. Nobody decides to change them; a developer makes a reasonable local choice, and the arrow moves. So at code review I read the integration code against the record:
- No hard-coded addresses or versions. A version written into a URL is a time bomb with a retirement date (chapter 3). Endpoints and secrets live in named credentials, not in code (chapter 13).
- A timeout that was chosen. The default isn’t a decision. The timeout should match who’s waiting (chapter 14).
- Retries in one layer only, and every write safe to repeat, with the key the record names (chapter 14).
- No call inside a loop, and nothing that spends the transaction’s limits one record at a time (chapter 9).
- Nothing logged that shouldn’t be, and everything logged that the record says should be.
3. Entering a major QA gate: does it hold at real volume, and when things fail?
Section titled “3. Entering a major QA gate: does it hold at real volume, and when things fail?”The design was right, and the code matches it. Now prove it holds, in two ways.
At real volume. Test with the volumes on the record, three years out, against the partners’ test environments, not only a mock. Small tests mislead. Salesforce says it plainly in its reliability guidance for agents, and it’s true of any integration: load testing in a Partial Copy sandbox with reduced data “provides misleading confidence.” The same page gives a rule to put in the plan: “Before running these tests, get approval from Salesforce (at least a week prior for performance test requests). Unapproved testing can be throttled or blocked” (Reliability for the Agentic Enterprise (opens in a new tab), Salesforce Architects, checked 2026-11-21).
When things fail. Make the other end fail on purpose: slow, down, wrong answer, the same message twice. Chapter 14’s lab bench is a partner that fails on purpose (chapter 14 module 9). Module 4 is the review that decides which failures to try.
4. Before go-live: are we ready to run it?
Section titled “4. Before go-live: are we ready to run it?”By now, the design questions should be answered. If the go-live review is still finding design problems, the earlier reviews didn’t happen. This one is about operating the arrows:
- An owner and a runbook for every arrow, tested once by someone who didn’t write it (chapter 14).
- Alerts and reports switched on, with a normal day written down, so the morning after go-live has something to compare with (chapter 14 module 8).
- Every credential in the inventory, with its owner and its expiry date: certificates, tokens, integration users (chapter 5).
- How to stop each arrow, and how to bring it back, agreed with the partner and their contact for the go-live weekend.
5. And again at every release: what changed under us?
Section titled “5. And again at every release: what changed under us?”Salesforce releases three times a year, and every partner has its own schedule. An integration that passed every review last spring can fail after the next release without a line of your code changing (chapter 14 module 9).
Here’s what that looks like with dates. Salesforce retired API versions 21.0 to 30.0 in Summer ‘25. Versions 31.0 to 40.0 are deprecated from Summer ‘27 and retired in Summer ‘28 (chapter 3, checked 2026-11-21). The SOAP API login() call retires in versions 31.0 to 64.0 in Summer ‘27 (chapter 10). Each one is a release review finding waiting to be written, for any arrow that still uses them.
So the release review asks one question of every arrow: what changed under it? A version, a sign-in, a certificate, a partner’s API, a limit. Chapter 14’s release checklist is the review.
The code didn’t change. What’s under the arrow did.
Part of Delivery, Not a Final Inspection
Section titled “Part of Delivery, Not a Final Inspection”None of this works as a meeting at the end. Put the five reviews in the delivery plan the way you’d put a test cycle in it: dated, with the people who attend and what they bring. The design review needs the records. The code review needs the developer and the record side by side. The QA gate needs the partner’s test environment booked and Salesforce’s approval for load testing asked for in time. The go-live review needs the runbooks. The release review needs the release notes and the inventory.
And every finding leaves the review with a severity and an owner, or it isn’t a finding, it’s a remark. Module 3 is the card that makes that happen.
The Data Architect course teaches the same idea for a data model (Review Early and at the Gates). The timing is the same. The questions are integration’s own.
Beyond the exam. The exam asks you to build resilience to system updates and to identify a solution’s constraints and trade-offs. In practice, that happens at these five points, and the release review is the one most teams forget.
What an Architect Decides Here
Section titled “What an Architect Decides Here”- Which reviews the project needs, and where each sits in the delivery plan, dated.
- What each review reads: the records at design time, the code against the records, the tests at volume and under failure, the runbooks before go-live, the release notes every release.
- The load test plan, including Salesforce’s approval asked for in time.
- Who owns the release review, three times a year and whenever a partner releases.
- The severity and owner of every finding, and which ones block the next gate.
Explore
Section titled “Explore”- Salesforce Platform API Versions 31.0 through 40.0 Retirement (opens in a new tab), Salesforce Help (checked 2026-11-26): the dates.
- Salesforce Architects, Reliability for the Agentic Enterprise (opens in a new tab) (checked 2026-11-26): load testing, its approval, and failure injection.
- Resilience to Releases, chapter 14 module 9: three releases a year and the release checklist.
- Write the Design Down, chapter 16 module 6: the record every review reads.
