The engineering SaaS multi-service coordinated deployment governance decision record: why the backward compatibility window model you chose determines your coordination failure ceiling and your partial rollback authority surface
Multi-service coordinated deployments are treated as an execution problem — which pipeline runs first, how long the deployment takes, whether the services come up healthy — not as an organizational governance decision whose consequences compound with every backward compatibility window that is implicit rather than documented, every consumer service that is not notified before a contract change deploys, and every rollback event where the speed of the team's response is bounded not by the rollback mechanisms available but by the absence of a pre-established decision framework for who is authorized to trigger them and in what sequence. The backward compatibility window model, the consumer notification requirement, and the coordinated rollback authority model are established when a team first encounters a release that requires two or more services to change simultaneously, and those governance decisions propagate to every subsequent coordinated deployment, every deployment gap between fast and slow pipelines, and every incident where two service teams spend forty minutes in Slack deciding who makes the rollback call while the impacted customers continue accumulating errors. Three founding choices — the backward compatibility window model, the deployment sequencing and monitoring model, and the coordinated rollback authority model — determine whether multi-service deployments are shipped with the organizational awareness that their coordination requirements demand or accumulate as undocumented informal practices that look like process until they produce a failure the informal process was not designed to prevent.
A 36-person B2B SaaS providing workflow automation for professional services firms had a data export feature that allowed account administrators to download their entire account's workflow history as a paginated CSV. The feature was used by approximately 40% of accounts at least once per quarter for compliance auditing. The export API was built on offset-based pagination: the client sent a request with an offset parameter and a limit parameter, the server returned the requested page and a total_count field, and the client used the total count to calculate whether more pages existed. The implementation had been live for 14 months and had never required a pagination-related support ticket.
In the same two-week sprint, the backend team decided to migrate the export API's pagination to cursor-based pagination. The motivation was correct: offset-based pagination on the export table had begun producing inconsistent results when records were inserted or deleted during a multi-page export operation, and the table had grown large enough that high-offset queries were causing noticeable response time degradation. The backend team implemented cursor-based pagination with an after cursor parameter replacing the offset parameter and a next_cursor field in the response replacing the total_count field. Because the frontend needed to consume the new pagination model, the sprint included a frontend update that removed the offset-based pagination logic and replaced it with cursor-based consumption of the next_cursor field.
The backend team's implementation included backward compatibility: the API accepted both the old offset and limit parameters and the new after cursor parameter, returning the appropriate response format for whichever parameter set was sent. The backend team documented the backward compatibility in a comment in the API handler and in a note in the sprint planning document. The frontend team's implementation removed all offset-based pagination code — there was no need to maintain both paths once the frontend was updated, and dead code in the frontend was a maintenance liability the team preferred to avoid. Neither team discussed whether the frontend removing offset support before the backend deployed was a risk. The assumption was that both would deploy in roughly the same window — the sprint was ending on Friday, both would merge to main before the Friday deployment window, and the CI/CD pipelines would run roughly in parallel.
The frontend deployment completed at 3:47 PM on Friday. The frontend was served via a CDN deployment platform; from merge to production serving, the process took 4 minutes and 38 seconds. The backend CI/CD pipeline included unit tests, integration tests against a staging database with 200,000 rows, and a blue-green deployment with a 15-minute traffic migration window. The backend deployment completed at 5:52 PM — 2 hours and 5 minutes after the frontend. During that 2-hour and 5-minute window, the frontend was serving new code that constructed cursor-based API requests (using the after parameter, omitting the offset parameter), and the backend was still running the previous version that required offset-based pagination requests. Because the new frontend code sent after=null as the first request with no offset parameter, and the previous backend version did not recognize the after parameter, the backend returned the first page of results correctly — the first page required no offset — but the response contained a total_count field rather than a next_cursor field. The new frontend code expected next_cursor to advance pagination and found undefined; the pagination logic interpreted this as the last page and stopped after one page of results. Every user who initiated an export during the 2-hour window received only the first page of their export — typically the most recent 100 records — with no error message or indication that the export was incomplete. Fourteen account administrators received single-page export files they would eventually discover were incomplete when they attempted to use the files for compliance reporting. The issue was not discovered by the engineering team; it was reported by an account administrator 11 days later when she noticed the row count in her export file did not match the total she expected from her account's workflow activity.
A 47-person B2B data platform providing managed data pipeline services for growth-stage consumer brands had a notification service that published pipeline event notifications — job started, job completed, job failed, data quality threshold breached — to an internal event queue consumed by five downstream services: the customer dashboard (displaying real-time pipeline status), the alerting service (generating PagerDuty and email alerts), the audit log service (recording all pipeline events for SOC 2 compliance), the billing service (counting billable pipeline executions), and the reporting service (aggregating pipeline metrics for weekly business reviews). The event payload format had remained stable for 11 months.
The notification service team needed to add type discrimination to the event payload to support a new category of system-level events that the downstream services needed to handle differently from the existing pipeline events. The change added a event_category field to the payload with two values: pipeline for the existing pipeline events and system for the new events. The change also renamed three existing fields: job_id became pipeline_run_id (a more accurate name that the team had intended to implement for two years), status became event_status (to avoid name collision with a field being added in the same change), and created_at was removed in favor of two separate fields, event_time (the time the event occurred) and processed_at (the time the notification service published the event to the queue).
The notification service team notified the five downstream service teams in a Slack message two weeks before the deployment: the message described the payload changes, linked to the updated schema documentation, and asked each team to confirm they had updated their consumers. By deployment day, the notification service team had received explicit confirmation from four teams: the customer dashboard team, the alerting service team, the billing service team, and the reporting service team. The audit log service team had not responded to the Slack message. The notification service team had sent a follow-up message four days before the deployment; the follow-up received an emoji reaction — a thumbs-up — from an audit log service engineer who was attending to the message on a mobile device between meetings and believed the emoji confirmed their readiness but had not updated the consumer code. The notification service team interpreted the emoji reaction as an acknowledgment that the audit log service would be ready. Neither team followed up with a written confirmation that the update had been deployed to staging and tested.
The coordinated deployment went forward. The notification service, the customer dashboard, the alerting service, the billing service, and the reporting service all deployed successfully within a 40-minute window. The audit log service did not deploy — it had not been updated and there was no deployment in its pipeline. The audit log service's consumer code expected the previous field names: it read job_id, status, and created_at from each event. After the notification service payload change, the audit log service received events with the new field names. The service did not throw an error; it read the fields by name, found them missing, and recorded null values for the pipeline run identifier, the event status, and the event timestamp in the audit log entries. The audit log entries were structurally valid — they contained the event UUID, the account ID, and the event category — but the pipeline run ID, event status, and timestamp fields were null. The service processed all 847 pipeline events over the next 2.5 hours and recorded each with null values for the three critical compliance fields.
The failure was discovered not by monitoring but by an audit log service engineer who ran a data quality check the following morning as part of a weekly habit. When she queried for audit log entries from the previous day and found that the pipeline run ID was null for all entries after 3:17 PM, she immediately posted in the team's Slack channel. The notification service team identified the payload format mismatch within 11 minutes. The question of who should rollback which service produced a 47-minute Slack thread. The notification service team's position was that the audit log service team owned the rollback, since the audit log service was the one with outdated consumer code; the right action was for the audit log service team to deploy their updated consumer immediately, not to roll back the notification service. The audit log service team's position was that the notification service team had deployed a breaking change without verifying readiness; rolling back the notification service to the old format would prevent further data quality degradation while the audit log service team completed their update. Each position was organizationally coherent from the perspective of the team holding it. Neither team had pre-assigned rollback authority for a coordinated deployment scenario where one consumer was not ready. The thread produced 23 messages from 7 participants before an engineering manager joined and directed the audit log service team to deploy their updated consumer immediately, which they did in 14 minutes. Total audit log entries with null compliance fields: 2,311 entries across 2.5 hours. The backfill required 4.5 hours of work from the audit log service team to reconstruct the missing field values from the event queue's replay capability.
A 55-person B2B enterprise SaaS providing contract lifecycle management for mid-market professional services firms was adding a new feature: the ability to tag contracts with a custom taxonomy of business unit classifications. The feature required a new column on the contracts table — a nullable business_unit_tags JSONB column — and a new version of the contracts service that could read and write the new column. The migration and the service update were scheduled as a coordinated deployment: the migration would run first to add the column, and the service update would deploy second once the migration completed.
The contracts table had 51 million rows in production. The team's staging environment had 180,000 rows. The migration script added the nullable column and created a GIN index on the JSONB column to support fast tag lookups. In the staging environment, the migration ran in 3.1 seconds: the column addition was near-instant on a 180,000-row table, and the GIN index build completed in 2.9 seconds. The team rehearsed the deployment sequence in staging twice. Both rehearsals produced the same result: the migration completed before the service update's deployment pipeline reached the point of swapping traffic to the new instance, confirming the assumption that the migration was the faster of the two operations.
The contracts service deployment pipeline included compilation, unit tests, integration tests against a staging database, packaging into a container image, pushing the image to the container registry, and spinning up a blue-green instance before beginning the traffic migration. The full pipeline took 18 minutes in staging. In production, the CI/CD system used the same container registry and spun up the new instance against the production cluster's larger compute allocation, which made the container startup faster than in staging. The production pipeline completed and began the traffic migration — switching 10% of production traffic to the new service instance — in 14 minutes. The migration script was running against the production database's 51 million rows. The GIN index build on a 51-million-row JSONB column took 28 seconds in production, locking the contracts table for the duration of the index creation.
At the moment the production contracts service began receiving 10% of traffic, the migration's GIN index build was 6 seconds into its 28-second execution window and the contracts table was locked. Every write request routed to the new service instance — contract creation, contract update, contract tagging — attempted to INSERT or UPDATE a row in the locked contracts table and received a lock timeout error after the configured 15-second lock wait timeout. The new service instance returned HTTP 500 for every write request during the 22-second window between the traffic migration start and the index build completion. The old service instance, which was still receiving 90% of traffic, was not affected by the lock — it did not write to the new column and its write operations completed normally. The 10% of traffic routed to the new instance represented 23 active customer sessions that were performing write operations during the 22-second window.
The on-call engineer received a 500-error rate alert at 11:03 PM and identified the lock timeout within 4 minutes. The traffic migration was reversed — all traffic routed back to the old service instance — and the 500 errors stopped immediately. The migration completed on its own 14 seconds after the traffic reversal, leaving the column and index in place. The team re-deployed the new service instance starting at 11:12 PM, this time waiting for explicit confirmation that the migration had completed before beginning the traffic migration, and the second deployment succeeded without incident. The 23 affected customer sessions had received errors during the 22-second window; 7 had received errors during write operations that were lost (the write did not succeed on the new instance and the customer's browser had not retried). The engineering team identified the failed writes from the new instance's error logs and re-applied them manually from the error log data. The resolution took 2 hours. The root cause was not a technical defect in the migration, the index build strategy, or the service deployment pipeline. It was the absence of a sequencing model that required the migration to be verified as complete — specifically, that the table was no longer locked — before the application service began receiving traffic.
Two structural properties these failures share
The three patterns above look like a frontend deployment that should have waited for the backend, an emoji acknowledgment that should have been a written confirmation, and a migration rehearsal that should have been run against a production-scale dataset. Each was identified as a tactical problem — the backward compatibility implementation needed to be on the frontend as well as the backend, the consumer notification model needed written acknowledgment rather than emoji reactions, the migration rehearsal needed a production-scale staging environment. But each failure was caused by the same structural decision gap: the team made founding multi-service coordinated deployment governance decisions (the backward compatibility window model, the consumer notification requirement, the rollback authority model) during the period when the services were simple enough and the deployment cadence low enough that informal coordination and ad-hoc rollback decisions did not produce visible failures, those decisions were encoded in informal norms and deployment runbooks, and the original reasoning was not recorded. When the failures surfaced, the teams diagnosed each as a tactical problem in the specific deployment, specific API change, or specific migration rather than as a symptom of a coordinated deployment governance model that had not been designed for the team size, service dependency surface, and deployment pipeline speed variance of a 36 to 55-person engineering organization. The two structural properties that bounded each team's coordination safety were the same in all three cases.
Cross-service release coordination surface. The backward compatibility window model component is the boundary condition for the cross-service release coordination surface: a frontend that removes support for the previous API contract before the backend deploys the new contract produces a failure window whose duration is exactly the gap between the two deployments; that gap is determined by deployment pipeline speed rather than by any governance decision, and pipeline speed variance between services — a 5-minute frontend pipeline and a 2-hour backend pipeline — is a known property of the team's infrastructure rather than a surprising discovery. A backward compatibility window that requires the frontend to maintain support for the previous API contract until the backend has deployed and the deployment window has closed eliminates the deployment gap as a failure source regardless of pipeline speed variance. The consumer notification requirement component determines whether the coordinated deployment governance model can detect unready consumers before the deployment begins: the notification service team followed the standard informal model — a Slack message with a follow-up — and received what appeared to be acknowledgment from all consumer teams. The governance gap was not in the effort to notify but in the absence of a readiness verification requirement: the model that accepts an emoji reaction as a consumer readiness confirmation cannot distinguish between a consumer team that has tested the updated consumer in staging and a consumer team whose engineer acknowledged the message between meetings and intended to update the consumer the following week. A model that requires a written confirmation specifying which environment the updated consumer has been deployed to and tested in converts the notification step into a readiness gate rather than an information-sharing step. Connect this property to the API versioning decision record: the backward compatibility window model in the coordinated deployment governance ADR is the organizational complement to the API versioning strategy — the versioning strategy determines how breaking changes are structured technically, while the backward compatibility window model determines how those changes are coordinated organizationally across the deployment window.
Partial rollback authority surface. The rollback trigger specification component is the missing boundary that converts every coordinated deployment incident into an ad-hoc decision: the notification service team and the audit log service team were not being uncooperative — each team's position was organizationally coherent from its perspective — but the absence of a pre-assigned coordinator role meant that the incident thread had no mechanism to produce a decision. If rollback authority for coordinated deployments had been pre-assigned to the initiating service team — the notification service team, whose contract change was the reason for the coordination — the rollback decision would have been an execution by the notification service team's engineer rather than a 47-minute governance negotiation. The rollback trigger specification component determines how quickly the rollback decision begins: the 36-person company's pagination failure was not discovered for 11 days because the failure produced incomplete exports rather than errors, and there was no trigger specification defining what a coordinated deployment monitoring window looked like or what threshold constituted a rollback signal for a silent data quality failure. A coordinated deployment monitoring model that requires the initiating team to actively verify data integrity signals — not only error rate and latency, but output completeness for data-producing endpoints — in the first hour after deployment would have surfaced the pagination failure within hours rather than days. The rollback sequencing model component determines whether a partial rollback is a valid response and what order services are rolled back in: the 47-person company's incident had two valid rollback paths (the notification service rolls back to old format; the audit log service deploys its updated consumer) and the rollback sequencing model that would have resolved the authority dispute was simply the pre-assigned coordinator rule — the initiating team's coordinator chooses the rollback path, and the choice is theirs to make. Connect this property to the incident command system decision record: the coordinated rollback authority model for multi-service deployments feeds into the incident command model — when a coordinated deployment incident exceeds the coordinator's pre-authorized rollback authority (because the incident affects customer-facing data integrity or requires rolling back services owned by teams whose engineers are not available), the incident command escalation path determines who the next decision authority is.
Five sections of the multi-service coordinated deployment governance ADR
1. Coordinated deployment classification model
The coordinated deployment classification model specifies what constitutes a coordinated deployment requiring governance oversight, as distinct from a standard single-service deployment. A coordinated deployment is any deployment that involves two or more services where the correctness of the combined deployment depends on a specific relationship between the services' versions: the new version of service A requires the new version of service B to be present, or the new version of service A produces output that the previous version of service B cannot consume correctly, or the new version of service A performs a database operation (migration, index build, constraint addition) that affects the write availability of tables that service B writes to.
Four categories constitute coordinated deployments under this model. First, breaking API changes: a service change that removes, renames, or modifies the semantics of a field, parameter, or endpoint in a way that is not backward compatible with the previous contract. The 36-person company's pagination change was a breaking API change — the new frontend code was not backward compatible with the previous backend contract — but neither team classified it as a coordinated deployment requiring governance. Second, payload format changes with consumers: a service change that modifies the structure of events, messages, or records produced by one service and consumed by one or more downstream services, including field renames, field additions whose absence is not gracefully handled by consumers, and field removals. The 47-person company's notification service change was a payload format change with consumers. Third, schema migrations with application service coupling: a database schema change that must be performed while an application service is being updated to use the new schema, where the migration and the application service deployment interact through the database's table locking behavior or through the application service's dependency on the new schema. The 55-person company's column addition and GIN index build was a schema migration with application service coupling. Fourth, protocol changes requiring simultaneous updates: a change to a communication protocol between two services where the previous protocol and the new protocol are not interoperable and both services must be updated within a narrow time window.
When a deployment matches any of the four categories, the deploying team submits a coordinated deployment record before the deployment begins. The record includes the classification category, the list of services involved, the backward compatibility window specification (how long the previous contract will be honored, or a statement that no backward compatibility window is provided and the reason), the consumer readiness confirmation requirement (which teams must confirm readiness and what confirmation format is required), the deployment sequencing model (the order in which services deploy and the hold condition between them), and the rollback coordinator assignment (who holds rollback authority and what the trigger criteria are).
2. Consumer discovery and notification model
The consumer discovery and notification model specifies how the deploying team enumerates the services that consume their changed contract, how they communicate the change, and what readiness confirmation is required before the deployment proceeds. The model has three steps.
Consumer enumeration begins before the deployment record is submitted. For API changes, the deploying team queries the team's service dependency registry — a document or tool that maps API producers to their known consumers — and cross-references against the deployment's change set. For payload format changes, the deploying team identifies all services subscribed to the affected event queue or topic by querying the message broker's subscription list or the team's queue consumer registry. For schema migrations, the deploying team identifies all services that query the affected tables through the table ownership registry. The enumeration result is the complete consumer list in the coordinated deployment record; a consumer that is not in the list at the time of enumeration is treated as a potential unregistered consumer, and the deploying team posts a service-team-wide notification asking unregistered consumers to self-identify at least 5 business days before the deployment.
The notification is sent to each consumer team's engineering channel with a minimum 10-business-day advance notice for breaking changes (payload format changes, breaking API changes) and 5-business-day advance notice for additive changes (new fields, new API versions that do not remove old ones). The notification includes the change description, the backward compatibility window duration if applicable, the sunset date for the previous contract, the technical migration guide with before-and-after examples, and the confirmation deadline. The notification format is a written message, not a calendar invite or a Slack message where an emoji reaction is interpretable as acknowledgment.
The readiness confirmation required from each consumer team is a written response specifying three things: the name of the engineer who verified the consumer update, the environment in which the updated consumer was tested against the new contract (staging, pre-production, or a local environment with a schema-compatible database), and the deployment status of the updated consumer (already deployed to staging, scheduled for deployment before the backward compatibility window closes, or will be deployed simultaneously with the initiating service using this coordinated deployment record). An emoji reaction, a verbal acknowledgment in a team meeting, or a thumbs-up without the three-field written confirmation does not satisfy the readiness confirmation requirement. This distinction matters because the confirmation's purpose is not social acknowledgment — indicating that the consumer team has seen the message — but governance verification that the consumer team has tested their updated consumer and has a deployment plan. The two are superficially similar responses in a Slack thread and structurally different governance events. If a consumer team has not provided written readiness confirmation by the confirmation deadline, the deploying team notifies the consumer team's engineering manager and extends the deployment date by one sprint cycle.
3. Deployment sequencing and monitoring model
The deployment sequencing and monitoring model specifies the order in which services in a coordinated deployment are released, the monitoring window between deployments, and the hold conditions under which the sequence is paused. The sequencing model converts a coordinated deployment from a parallel event whose timing is determined by pipeline infrastructure speed into a staged event whose timing is controlled by governance gates.
The sequencing order follows the dependency direction: the service whose contract change is depended upon by other services deploys first. For backward-compatible changes where the new contract is a superset of the previous contract — the new API version accepts both old and new parameters; the new event payload includes all previous fields plus new ones — the initiating service deploys first, and consumer services can deploy at any point within the backward compatibility window. For non-backward-compatible changes — the previous contract is removed simultaneously with the new contract, requiring all consumers to be updated before any user traffic exercises the new contract — the initiating service deploys only after all consumer services have confirmed deployment. For schema migrations with application service coupling — the application service must wait for the migration to complete before beginning to write rows with the new column — the migration deploys first and the application service deployment pipeline is held until a readiness check confirms the migration has completed and the table is no longer locked.
The monitoring window between service deployments in a coordinated release is a minimum of 15 minutes for internal-only changes (changes that affect only communication between internal services, with no direct user-facing impact during the deployment window) and a minimum of 30 minutes for user-facing changes (changes where the deployment window produces a user-visible behavior difference, however brief). During the monitoring window, the deployment coordinator actively reviews: the error rate on the changed endpoint or service (not assuming clean because no alerts have fired, but opening the monitoring dashboard and confirming the error rate is below the rollback trigger threshold), the data integrity signal for the first affected output (for pagination changes, confirming that multi-page export operations are completing to their full page count; for payload format changes, confirming that the downstream service receiving the new format is writing complete records rather than null values in key fields), and the readiness check output for any service scheduled to deploy in the next stage of the sequence. The monitoring window's hold condition: if the error rate exceeds the rollback trigger threshold, or if the data integrity signal shows incomplete output, or if the next-stage readiness check fails, the deployment sequence is paused and the rollback trigger evaluation begins.
The readiness check for schema migrations is specifically required to include a table lock state verification: a query against the database's lock monitoring view confirming that the table affected by the migration is not locked before the application service's pipeline is permitted to begin traffic migration. The 55-person company's failure was caused by a readiness check that verified the migration script had completed (the script had exited with code 0) rather than verifying that the table was no longer locked (the index build, spawned by the migration script asynchronously, was still running). The database schema migration decision record that specifies the zero-downtime migration pattern — build the index concurrently, use the NOT VALID option for large-table constraint additions — is the technical complement to this sequencing model: the migration execution decisions determine what lock profile the migration produces, while the sequencing model specifies how the application service deployment is gated on the migration's lock state rather than on the migration script's exit code.
4. Backward compatibility window model
The backward compatibility window model specifies when a backward compatibility window is required, what the minimum window duration is, how dual-contract support is tested, and when the previous contract can be sunset. The model answers the specific question that the 36-person company's deployment left unanswered: who is responsible for maintaining backward compatibility during the deployment window, and for how long?
A backward compatibility window is required for all breaking API changes and all payload format changes with consumers where the consumer services will not deploy their updates simultaneously with the initiating service. The window duration is determined by the longest consumer team's planned update deployment cycle plus a two-week buffer: if the slowest consumer team plans to deploy their update in the following sprint (two weeks), the backward compatibility window must be at least four weeks. If all consumer services have confirmed simultaneous deployment — they will deploy their updated consumers as part of the same coordinated deployment record — no backward compatibility window is required, because there will be no deployment gap during which the old contract must be honored.
Backward compatibility responsibility belongs to the initiating service, not to the consumer services. This distinction resolves the question that the 36-person company's deployment left ambiguous: the frontend team removed support for the previous backend API contract, which is equivalent to the consumer service removing support for the previous producer contract. The backward compatibility model specifies that during the backward compatibility window, the service whose contract is changing — the initiating service — maintains support for the previous contract. Consumer services are not responsible for maintaining backward compatibility with a contract that is changing; the initiating service is responsible for honoring the previous contract until the window closes. The practical implication: the frontend must have maintained support for the offset-based pagination response format for the duration of the backward compatibility window, not removed it at the same time the backend was being updated.
Dual-contract support must be tested in staging before the deployment, specifically in a scenario that exercises both the previous contract and the new contract in the same test run. For API changes, this means running the previous version of the consumer against the new version of the initiating service (confirming backward compatibility) and running the new version of the consumer against the new version of the initiating service (confirming the new contract works). For payload format changes, this means running the previous consumer version against the new producer version and confirming that the previous consumer handles the new payload format gracefully — not crashing, not silently dropping fields, not writing null values into required fields — for the duration of the backward compatibility window.
The sunset date for the previous contract is the date on which the initiating service removes backward compatibility support. The sunset date must be communicated to all consumer teams at the same time as the initial notification, and consumer teams must confirm that their updated consumer will be deployed before the sunset date. The sunset does not happen unilaterally: if a consumer team has not deployed their update by the sunset date, the deploying team notifies that consumer team's engineering manager and extends the sunset date by two weeks. The previous contract may not be sunset while any consumer team has not confirmed deployment of the updated consumer. This requirement prevents the sunset date from becoming a soft deadline that the initiating service team enforces selectively.
5. Coordinated rollback authority model
The coordinated rollback authority model specifies who holds rollback authority for a coordinated deployment, what the trigger criteria are for initiating a rollback, and in what sequence services are rolled back when only a subset can be rolled back cleanly. The model must be specified in the coordinated deployment record before the deployment begins, not discovered during an incident thread.
Rollback authority is assigned to the deployment coordinator: the engineer named as coordinator in the coordinated deployment record. The deployment coordinator is typically from the initiating service team — the team whose contract change is the reason for the coordination — because that team has the most context about what the deployment was designed to do, what failure modes are expected during the deployment window, and which rollback mechanism addresses which failure type. The coordinator holds rollback authority for decisions within pre-defined trigger criteria. If the error rate on a changed endpoint exceeds the rollback trigger threshold defined in the deployment record, or if the data integrity signal shows the failure type specified in the deployment record as a rollback signal (incomplete output, null values in required fields, schema constraint violations), the coordinator executes the rollback without requiring consensus from other service teams. The coordinator's rollback decision is not subject to veto by other service teams; the trigger criteria crossing is the authorization. Escalation to an engineering manager is required when the incident is ambiguous — signals near but not clearly above the trigger criteria threshold — or when the rollback would require rolling back services owned by teams whose engineers are not available to execute the rollback on the coordinated timeline.
The rollback sequencing model specifies two rollback paths for each coordinated deployment: the full rollback path (all services return to their previous version) and the partial rollback path (the fastest and most reversible rollback that stops the incident). The partial rollback path takes priority because it minimizes incident duration. For the 47-person company's notification service deployment, the partial rollback path was deploying the audit log service's updated consumer — a 14-minute deployment that stopped the null-field accumulation immediately — rather than rolling back the notification service to the previous format, which would have required re-deploying the notification service's previous version and invalidating the already-deployed consumer updates on the other four services. The coordinator's authority to choose the partial rollback path resolves the dispute between the two teams: the coordinator chooses the fastest path to stopping the incident, documents the choice in the incident record, and the choice is not revisited in the incident thread. The deployment strategy decision record that specifies the deployment pipeline design for individual services — blue-green, canary, rolling — is the technical complement to the rollback sequencing model: the rollback sequencing model determines what sequence of rollbacks stops the incident fastest, while the deployment strategy determines how quickly each individual service rollback can be executed once the decision is made.
Further reading
- The deployment strategy decision record — the deployment pipeline decisions for individual services (blue-green, canary, rolling) that coordinated deployments are built on top of; the rollback sequencing model in the coordinated deployment governance ADR depends on the individual service rollback speed — the deployment strategy decision determines how quickly each service in the coordinated deployment can be rolled back once the coordinator makes the rollback decision.
- The database schema migration decision record — the zero-downtime migration pattern decisions (concurrent index builds, NOT VALID constraint staging, expand-contract sequences) that determine what lock profile a migration produces; the deployment sequencing model's readiness check requirement — table lock state verification before application service traffic migration — is calibrated against the migration execution decisions in this record.
- The API versioning decision record — the API versioning strategy decisions that determine how breaking changes are structured technically (versioned endpoints, header-based versioning, field deprecation cycles); the backward compatibility window model in the coordinated deployment governance ADR is the organizational complement — the versioning strategy determines what the backward compatible form looks like technically, while the window model determines how that compatibility is maintained organizationally across the deployment timeline.
- The incident command system decision record — the incident command model that governs escalation authority and decision-making during active incidents; the coordinated rollback authority model's escalation path feeds into the incident command model when a coordinated deployment incident exceeds the coordinator's pre-authorized rollback criteria or requires rolling back services owned by teams whose engineers are not available.
- The WhyChose open-source extractor — run locally against your ChatGPT or Claude export to surface the multi-service coordinated deployment governance decisions buried in your founding architecture sessions — the backward compatibility window debates, the rollback authority discussions, the deployment sequencing decisions — structured as decision records with original-chat backlinks so the founding coordination reasoning is recoverable when the first deployment gap, unready consumer, or migration-application race condition asks why the coordinated deployment governance model did not prevent it.
FAQs
What is a backward compatibility window and why is it a governance decision rather than a technical one?
A backward compatibility window is the period during which a service honors both its previous API contract and its new API contract simultaneously, allowing consuming services to deploy their updates at any point within the window rather than requiring simultaneous deployment with the producing service. It is a governance decision rather than a technical one because the window's duration must be agreed upon before the deployment begins, enforced by both sides during the transition period, and explicitly closed on a known date that all consumer teams have acknowledged. A technically-implemented backward compatibility window that has not been communicated to consumer teams produces the same failure as no window: consumer teams may not know the window exists, may not have scheduled their updates within it, or may deploy their updates expecting the old contract to be available indefinitely. The governance decision specifies three things: the minimum window duration (determined by the slowest consumer team's deployment cycle plus a buffer), the communication model (which teams are notified, what format, what acknowledgment is required), and the sunset date (confirmed by all consumer teams before the new contract deploys). Critically, backward compatibility responsibility belongs to the initiating service, not to the consumer services — the service whose contract is changing maintains support for the previous contract, not the consumers of that service. The 36-person company's frontend removing offset-based pagination support before the backend deployed the cursor-based API was the consumer service removing backward compatibility, which is not the consumer service's responsibility to maintain.
Who should own the rollback decision authority for a multi-service coordinated deployment?
Rollback authority for a multi-service coordinated deployment should be pre-assigned to the deployment coordinator — typically from the initiating service team — before the deployment begins. The coordinator holds rollback authority for decisions within pre-defined trigger criteria: if the error rate or data integrity signal crosses a threshold defined in the deployment record, the coordinator executes the rollback without requiring consensus from other service teams. The critical governance decision is that authority is assigned before the deployment begins, not discovered during an incident thread. The 47-person company's 47-minute Slack thread was not caused by capability or coordination failure — each team's position was organizationally coherent — but by the absence of a pre-assigned coordinator. If rollback authority had been assigned to the notification service team (the initiating service team), the rollback decision would have been an execution by the coordinator in the first few minutes rather than a 47-message thread. The coordinator also chooses the rollback path — full rollback or partial rollback — with authority to decide which path stops the incident fastest. The partial rollback path, deploying the unready consumer's update rather than rolling back the initiating service, was the faster path in the 47-person company's case; the coordinator's authority to choose it without consensus resolves the dispute between the two service teams.
What is a coordinated deployment sequencing model and why does deployment speed difference between services matter?
A coordinated deployment sequencing model specifies the order in which services in a coordinated release are deployed, the monitoring window between deployments, and the hold condition under which the sequence is paused. Deployment speed differences between services matter because services on different deployment infrastructure deploy at different speeds — a frontend on a CDN platform in 5 minutes, a backend service with integration tests in 2 hours, a schema migration in 3 seconds in staging and 28 seconds in production on a 51-million-row table. When the sequencing model is not specified, services deploy in the order their pipelines complete, which is determined by infrastructure speed rather than logical dependency order. The 55-person company's application-migration race condition was not caused by a technical error; it was caused by the assumption that the migration would complete before the application service deployment pipeline reached traffic migration, an assumption that held in staging (3.1 seconds for the index build, 18 minutes for the pipeline) and failed in production (28 seconds for the index build, 14 minutes for the pipeline). A sequencing model that requires a readiness check — confirming the table is no longer locked before the application service begins traffic migration — eliminates the race condition regardless of the relative speeds of the migration and the deployment pipeline. The readiness check must verify lock state, not script exit code; the 55-person company's migration script exited successfully before the asynchronously-spawned index build completed.
How do multi-service coordinated deployment governance decisions connect to AI chat sessions and what gets lost without a decision record?
Multi-service coordinated deployment governance decisions are made in AI chat sessions during the period when a SaaS team first encounters a release requiring coordination across two or more services. The backend team asks Claude how to safely deploy a breaking API change when frontend and backend need to update simultaneously, asks ChatGPT how other teams handle the deployment sequencing for schema migrations, iterates on what the rollback procedure is when four of five consumers have deployed and the fifth is not ready, and debates whether the notification service team or the audit log service team owns the rollback call when a coordinated deployment causes an incident. Each decision is encoded in deployment runbooks, in informal understanding of who calls rollbacks, and in the first backward compatibility implementation that sets the precedent. The original reasoning — why the backward compatibility window requires 30 days (the slowest consumer team's sprint cycle plus buffer), why the sequencing model requires table lock state verification not script exit code (a prior migration race condition in production), why the notification service team holds rollback authority for coordinated deployments it initiates (a 47-minute incident thread the first time consensus was attempted) — is gone within two or three coordinated release cycles. The founding multi-service coordinated deployment governance ADR — written from those AI chat sessions before the original reasoning is buried under runbook revisions and incident postmortems — is the document that makes the next coordination failure visible as a gap in a documented model rather than as a surprising failure of an assumed practice.