2026-11-13 · ~19 min read · Decision records

The engineering SaaS dependency upgrade governance decision record: why the major version upgrade authority model you chose determines your breaking change ceiling and your security vulnerability response path

Dependency upgrade governance decisions are not decisions about which packages to use, what update cadence to adopt, or whether to pin to exact versions or version ranges. They are decisions about authority: who can approve a major version upgrade, what documentation is required before a breaking upgrade is merged, who is the named decision authority when a security vulnerability requires deploying an upgrade before the team has had time to test it, and how dependency version drift is governed so that the gap between installed versions and upstream current does not accumulate to the point where an individual upgrade becomes a rewrite. These decisions are made informally or not at all — encoded in the assumption that any engineer can upgrade any dependency at any time, in the absence of a process for distinguishing a security-urgent upgrade from a discretionary one, or in the written update policy that specifies when to update but not who must approve the update when it involves breaking changes. The consequences accumulate: a team that cannot act within a security advisory's disclosure window because no one has authority to authorize an untested deployment; three teams managing the same shared library with incompatible version policies until one team's major version increment breaks the payment pipeline integration; a service that cannot be upgraded without a rewrite because 18 months of skipped major versions have accumulated more breaking changes than the team can absorb in a planned sprint. Dependency update cadence is about when. Governance is about who gets to approve the upgrade when it involves breaking changes — and who makes the call when the incident response timeline and the security advisory's disclosure window are pointing in opposite directions.

Three ways dependency upgrade governance gaps produce costs that the update policy did not predict

The CVE nobody could authorize

A 29-person developer tools startup had been using a popular ORM package for database access since its founding year. The team had an engineering culture that valued keeping dependencies current: minor and patch versions were updated routinely, engineers were expected to include dependency updates in their regular development workflow, and the engineering handbook specified a 30-day window for patching any dependency with a disclosed CVE. The handbook was silent on who had authority to approve a dependency upgrade before the team's standard regression test suite had completed — a process that typically took two to three days for the ORM package, which touched the team's core database access layer and whose test suite included 400 integration tests against a local database instance.

The event that made the governance gap visible was a critical CVE in the ORM package. The advisory was published on a Tuesday morning. The CVSS base score was 9.1. The attack vector was network-accessible: an authenticated attacker could construct a query that bypassed the ORM's parameter escaping, producing a SQL injection in affected versions. The advisory specified a 72-hour coordinated disclosure window: the researcher had notified the package maintainers 90 days earlier, a patched version had been released, and the full details of the injection vector would be published at the end of the 72-hour window. Any team running an affected version would, at the end of that window, have a fully detailed exploit publicly available for their production systems.

The team's senior engineer identified the advisory within two hours of its publication. The team was running an affected version. The patched version had been released 11 days earlier. The patched version was a minor version increment — the ORM maintainers had backported the security fix to the current minor line. The upgrade path was minor version only, not a breaking major version upgrade. What made it a governance problem was the ORM package's size: the package was the team's primary database access layer, its integration test suite had 400 tests, and the CI pipeline for a full run took two hours and 40 minutes. The senior engineer had identified three tests that were potentially sensitive to the patched code path based on the advisory's description. She wanted to run a targeted test run against those three tests, deploy to production, and defer the full regression suite to a parallel run after deployment. The question was: was she authorized to deploy a dependency upgrade before the full regression suite completed?

She asked the engineering manager. The engineering manager said the decision felt like it needed VP Engineering sign-off given the production risk. The VP Engineering was in a customer call. The engineering manager sent a Slack message. The VP Engineering responded two hours later asking for a summary and was then in a board prep session for three hours. By the time the VP Engineering was available to review the summary and authorize the deployment, 11 hours had elapsed since the advisory. The full regression suite had completed and shown two test failures — both in the ORM's connection pool behavior under high concurrency, which the senior engineer assessed as pre-existing flakiness unrelated to the security patch. The senior engineer's assessment was reasonable; the VP Engineering accepted it and authorized the deployment. The upgrade was deployed 14 hours after the advisory. The team was within the 72-hour window.

What the team discovered in the retrospective was how close the outcome had been. The 11-hour delay had been absorbed by the two-hour regression run and the two-hour window remaining before the advisory disclosure deadline. If the VP Engineering had been unavailable for a full day — a reasonable scenario for a traveling executive — the team would have been debating authorization while the full exploit details were being published. The retrospective also identified that the authorization process had consumed three separate engineers' attention for the duration: the senior engineer waiting for a decision, the engineering manager waiting for the VP, and the VP Engineering reading the summary while running a board prep session. The process cost was a consequence of the absence of a written security vulnerability upgrade authority model — a model that would have specified who had authority to authorize a targeted deployment before full regression, what the minimum pre-authorization documentation was, and what the default action was if the named authority was unreachable within a specified window. The team had a 30-day patch policy. It did not have an authority model for the scenario where the patch window was measured in hours rather than days.

The shared library with three owners

A 41-person B2B SaaS had an internal payment processing library — a thin wrapper around the payment gateway client that standardized error handling, retry logic, and event emission across the three teams that made payment-related calls: the checkout team, the subscription management team, and the billing reconciliation team. The library had been written by a senior engineer on the checkout team two years earlier. All three teams had been using it since. No one had formalized a governance model for the library's major version updates: each team managed its own dependency manifest, each team could update the library's version on its own release schedule, and no written policy specified that a major version upgrade of the shared library required coordination across the three consuming teams before it was merged.

The event that made the governance gap visible was a major version upgrade by the checkout team. The checkout team was building a new one-click checkout feature that required a capability added in the payment library's next major version: an idempotency key parameter added to the charge method. The checkout team's senior engineer upgraded the library in the checkout service, implemented the new feature using the idempotency key, opened a pull request, and merged after internal review. The major version change had two other breaking changes alongside the idempotency key addition: the error type hierarchy had been reorganized (PaymentDeclinedError was now a subtype of PaymentAuthorizationError rather than a sibling), and the event emitted on successful charge had been renamed from payment.charged to payment.charge.completed to align with the payment gateway's own event naming convention.

The subscription management team and the billing reconciliation team were not on the checkout team's pull request review. Neither team had been notified that a major version upgrade was planned. Both teams continued to depend on the previous major version of the library in their own services. The mismatch was not immediately visible: the library was pinned in each service's own dependency manifest, each service ran its own version of the library code, and there were no runtime errors — the services were simply using different versions of the same library. The mismatch became a production incident six days later when the billing reconciliation service attempted to process a batch reconciliation job that cross-referenced payment events from the checkout service's event stream.

The reconciliation job consumed the checkout service's payment events, matched them against the billing service's subscription records, and flagged any charge without a corresponding subscription record. The job had been running successfully for eight months. After the checkout team's library upgrade, the checkout service was emitting payment.charge.completed events. The reconciliation job was looking for payment.charged events. The reconciliation job processed the checkout service's post-upgrade events as unknown event types, logged them as unrecognized, and skipped them. The job completed with a zero-discrepancy report — not because there were no discrepancies, but because the reconciliation job was not matching any events from the post-upgrade checkout service. The discrepancy was identified by the billing team's finance analyst 11 days after the upgrade when the weekly revenue reconciliation report showed $24,000 in payments processed by the payment gateway that did not appear in the subscription management system's revenue records.

The investigation identified the event name mismatch within two hours. The fix was straightforward: the reconciliation service updated its event name reference and re-ran the missed reconciliation window. The recovery was complete within four hours. The post-mortem produced the governance finding: three teams were consuming a shared library, any team could upgrade the library to a new major version without notifying the other teams, and the shared library had breaking changes — event name renames, error type hierarchy changes — that could silently corrupt cross-service integrations without producing runtime errors. The post-mortem recommendation was a cross-team version coordination model: a process requiring that any major version upgrade of a shared library be approved by representatives of all consuming teams before the upgrade was merged, with a migration guide specifying every breaking change and the code change required in each consuming service.

The root cause was not the checkout team's decision to upgrade. The upgrade was justified — they needed the idempotency key capability — and the breaking changes in the new version were clearly documented in the library's changelog. The root cause was the absence of a cross-team version coordination model that required the upgrading team to notify all consuming teams before a major version upgrade of a shared library, so that each team could assess the breaking changes in their own codebase before the upgrade landed in production. The event name rename was a 10-line change in the reconciliation service. The change was not made because no one outside the checkout team knew the upgrade had happened until the revenue discrepancy surfaced 11 days later.

The upgrade that became a rewrite

A 55-person enterprise SaaS had been using the same ORM package as its primary database access layer for three years. The team's dependency update practice was consistent on minor and patch versions — the CI pipeline included an automated PR for minor and patch dependency updates, and the team merged these updates as a low-priority maintenance task. The team's practice on major versions was inconsistent: each major version upgrade of the ORM had required a migration sprint in the past, and over time the implicit policy had evolved toward deferring major version upgrades until a sprint could be specifically allocated. The engineering manager had noted the deferral pattern in two retrospectives and had added "schedule ORM major version migration" to the engineering backlog, where it remained for 18 months without being prioritized above new feature work.

At the time the team was forced to confront the upgrade, the ORM's upstream current major version was four major versions ahead of the team's installed version. The team had installed version 4.x. The upstream current was version 8.x. The four major versions spanning the gap contained 23 breaking changes in the ORM's public API, including three changes to the query builder interface that the team used extensively for complex multi-join queries, two changes to the migration runner that the team used for schema management, a change to the transaction API that the team used in 47 distinct service call sites, and a change to the connection pool configuration format that the team had customized extensively for their multi-tenant workload pattern. Each of these changes had a documented migration path in the upstream changelog; the migration paths were real but required code changes across approximately 310 call sites in the team's codebase.

The event that forced the upgrade was a third-party security audit commissioned by a large enterprise prospect. The audit report flagged the team's ORM package at version 4.x as a material risk: the package had three CVEs patched in versions 5.x through 8.x that were not backported to version 4.x, the upstream maintainers had officially marked version 4.x as end-of-life 14 months earlier, and running a production database access layer on an end-of-life package with unpatched CVEs was a governance finding that the enterprise prospect's security team could not accept as an open risk item on a vendor assessment. The prospect's security team gave the team 60 days to remediate the finding before the procurement decision.

The team's engineering manager pulled the two senior engineers most familiar with the ORM to scope the upgrade. The scoping estimate was 310 call sites across six services, 23 breaking API changes requiring code changes, an estimated six weeks of engineer time assuming two senior engineers working full-time, plus an additional two weeks for regression testing and gradual rollout. The 60-day procurement deadline was achievable but required immediately pulling the two senior engineers from their current feature commitments, which would delay a planned customer-facing feature by approximately six weeks. The alternative — not remediating the finding within 60 days — would likely cost the enterprise prospect deal.

The team delivered the upgrade within 58 days. The upgrade was a rewrite in every practical sense: the two senior engineers spent the majority of their time rewriting database access patterns, not on the new features the ORM version offered. The final commit count on the ORM migration branch was 847 commits over 11 weeks, counting the extended regression period. The enterprise prospect deal was won. In the retrospective, the VP Engineering identified that if the team had upgraded one major version per quarter during the 18 months when major version upgrades were deferred, the total migration work would have been distributed across six planned maintenance sprints at approximately 50 call sites per sprint — a tractable maintenance task at each step — rather than a 310-call-site rewrite under a 60-day procurement deadline.

The root cause was not the deferral decisions individually. Each deferral was locally rational — in any given quarter, the sprint capacity was more valuable on new features than on a maintenance migration. The root cause was the absence of a dependency version drift governance model that made the cumulative cost of deferral visible before the drift reached a level where upgrade was no longer a maintenance task. If the quarterly drift report had flagged the ORM at two major versions behind and required a remediation plan, the team would have been forced to confront the trade-off between deferral cost and feature cost at two major versions of drift rather than four — when the migration was 100 call sites rather than 310.

Two structural properties of dependency upgrade governance decisions

The three failures above share two structural properties. The first is the breaking change ceiling — the version gap beyond which a dependency upgrade transitions from a maintainable upgrade task to a rewrite event. The breaking change ceiling is determined by the major version upgrade authority model (whether breaking upgrades require a named approver and a migration notes document, and whether the approval process distinguishes upgrades with cross-team scope from upgrades affecting only the upgrading team's own code), the cross-team version coordination model (whether teams sharing a common dependency have a shared authority structure for major version decisions so that one team's upgrade does not silently break another team's integration), and the dependency version drift governance model (whether a named role is responsible for publishing a quarterly drift report, what the escalation thresholds are for packages at one, two, and three-or-more major versions behind, and what the governance consequence is for packages on the remediation plan that are not progressing toward resolution). The breaking change ceiling is not a fixed number — it depends on the package's rate of breaking change introduction, the team's codebase size, and the degree to which the package is used across shared interfaces. A team with a drift governance model that flags packages at two major versions behind and requires a remediation plan absorbs the upgrade cost incrementally; a team with no drift governance model discovers its breaking change ceiling at the worst possible moment — when a security audit, a CVE, or a prospect procurement decision forces the upgrade on a deadline that the incremental approach would have made trivially manageable.

The second is the security vulnerability response path — the named authority chain for deciding to deploy an upgrade before the standard testing process is complete, the documentation required before the emergency deployment, and the default rule when the named authority is not reachable within the security advisory's disclosure timeline. The security vulnerability response path is determined by the security vulnerability upgrade authority model (who has authority to authorize deployment before regression testing completes, what the minimum testing scope is that must be completed before that authorization is given, and what the default action is if the named authority cannot make a determination within the disclosure window). The security vulnerability response path is a cross-functional governance problem, not purely an engineering one, because the decision to deploy an undertested upgrade involves engineering's authority over production stability and the security team's authority over the organization's security posture and its ability to represent that posture accurately to customers and auditors. The absence of a named authority converts the advisory's disclosure timeline into an organizational negotiation. The negotiation's outcome depends on who is available, who raises the concern to whom, and whose calendar permits a decision — not on the actual risk trade-off between deploying an untested upgrade and remaining exposed to a known vulnerability. The gap between a well-governed response (a named authority makes a documented determination within four hours) and an ungoverned one (11 hours of waiting and three engineers' time consumed) can determine whether the team is inside or outside the disclosure window when the full exploit details become public.

These two properties are linked but address different governance gaps. A team can have a thorough major version upgrade authority model — every breaking upgrade approved with a migration notes document and a cross-team notification — and still have no security vulnerability upgrade authority model, because the approval model governs the standard case and the security model governs the emergency case where the standard approval timeline is too slow. A team can have a detailed security vulnerability response path and still accumulate version drift, because the security model addresses the acute governance problem while the drift governance model addresses the chronic one. The dependency upgrade decision record covers the technical decisions for a specific upgrade event — the why-now reasoning, the upgrade-versus-replace threshold, and the documentation of the specific breaking changes encountered. The governance decision record covers who has authority to approve the upgrade, who can authorize deployment before testing completes, and how the team prevents the drift accumulation that converts future upgrades from maintenance tasks into rewrites. Both are necessary; each addresses a different layer of the same compound problem.

The governance layer is also distinct from the dependency update policy decision record, which covers the update cadence decisions — when to update minor versions, how to handle patch updates, and how to manage the dependency update backlog as a recurring maintenance task. The update policy determines when the team acts on available updates. The governance decision record determines who must approve the action when it involves breaking changes, and who resolves the cross-functional decision when the update's risk profile requires authorization beyond the individual engineer. The policy answers when; the governance record answers who and by what authority.

Five sections of a dependency upgrade governance decision record

1. Major version upgrade authority model

The major version upgrade authority model defines who is authorized to approve merging a dependency upgrade that includes breaking changes, what documentation is required before the upgrade pull request is merged, and how the authority threshold varies with the upgrade's scope.

Three upgrade scope tiers require different authority levels. A breaking upgrade that affects only the upgrading team's own code — no shared interfaces, no internal libraries used by other teams, no customer-facing API contracts that other teams implement or consume — is within the upgrading engineer's authority. The authority threshold at this tier is permissive because the engineer is accepting the risk on behalf of their own team and their own codebase, and requiring manager approval for routine intra-team upgrades would slow the team's dependency maintenance without producing meaningful governance benefit. The governance contribution at this tier is not authority restriction but documentation requirements: the upgrading engineer must create a breaking upgrade documentation record specifying the version transition, the breaking changes encountered, the code changes made to resolve each breaking change, and whether any behavior change is customer-visible. The documentation record is created before the pull request is merged, not retrospectively.

A breaking upgrade that touches a shared interface — a shared internal library used by other teams, an internal API contract that other services implement or consume, or a package whose major version is pinned in a shared dependency manifest that multiple services reference — requires engineering manager approval. The engineering manager's approval serves two functions: it ensures that the upgrading team has identified all consuming teams before the upgrade lands, and it creates an authority record for the upgrade that the cross-team version coordination model can reference when notifying consuming teams. The engineering manager approval must be accompanied by a cross-team impact assessment: a list of all services or teams that consume the shared dependency, with a note on whether each consuming team has been notified and whether any consuming team has identified breaking changes in their own code that must be resolved before the upgrade is complete.

A breaking upgrade that touches a customer-facing API contract, a dependency whose behavior change affects customer data handling, billing logic, authentication or authorization paths, or a dependency flagged as security-critical in the team's vendor dependency governance model requires VP Engineering approval. The VP Engineering approval at this tier reflects the organizational scope of the upgrade: a breaking change in a customer-facing API contract may require customer notification, a behavior change in a billing dependency may require finance team review, and a change in an authentication dependency may require a security team review before deployment. The VP Engineering approval ensures that the upgrade has been reviewed at the level of organizational authority that matches its organizational scope.

All three tiers require a repurposing check before the approval is granted: if the dependency being upgraded is documented as security-critical, payment-critical, or as a shared interface in the team's existing dependency governance records, the upgrading engineer must confirm that the upgrade's scope classification reflects the dependency's current role rather than its original role at the time the governance record was written. Dependencies that have grown in scope since their governance record was last updated — a utility library that has become a shared core library, a logging package that has become an authentication logging dependency — must be reclassified before the upgrade is approved, so that the upgrade receives the authority level appropriate to the dependency's current production role.

2. Breaking upgrade documentation requirements

The breaking upgrade documentation record captures the information required to understand a dependency's behavior change after the upgrade, to identify the upgrade as a potential cause when investigating behavioral regressions months after the fact, and to inform future major version upgrades of the same package.

The required fields are: the package name, the version transition (from version and to version), the breaking changes present in the new version that required code changes in the team's codebase (not all breaking changes listed in the upstream changelog — only the breaking changes that were encountered during the upgrade), the code changes made to resolve each breaking change (a reference to the specific commits or pull request sections), whether any behavior change is customer-visible and if so what the change is, whether any shared interface or cross-team contract is affected by the upgrade, the engineer who performed the upgrade, the approver if the authority threshold requires approval, and the testing scope — which test suites were run against the upgrade, whether any test suites were deferred and why, and the completion status of any deferred testing.

The documentation record is a governance artifact separate from the pull request description. Pull request descriptions may be archived, squashed, referenced only by PR number in the git log, or simply not surfaced when an engineer four months later is investigating why database query behavior changed on a specific date. The breaking upgrade documentation record is maintained in a queryable format — a structured file in the repository or an entry in the team's internal documentation system — so that it can be found by a date range search, by package name, or by dependency type when it is needed as evidence during a production investigation. The documentation record is not a changelog replacement; it is an engineering team's record of which breaking changes from the upstream changelog actually affected the team's codebase, which is different from the upstream changelog for most upgrades because most teams use a subset of a package's API surface.

The documentation record is especially important for upgrades that change default behavior — upgrades where the breaking change is in what the package does when no explicit configuration is provided rather than in a removed API method. Default behavior changes are the class of breaking change most likely to pass unit tests (because unit tests typically exercise explicitly configured behavior) and most likely to surface as behavioral regressions in production (because production behavior depends on defaults that the team may not have explicitly overridden). The documentation record for a default behavior change must specify the old default, the new default, and whether the team has explicitly configured the old default to maintain the previous behavior or has accepted the new default and what the production behavior change is.

3. Security vulnerability upgrade authority model

The security vulnerability upgrade authority model defines who has authority to authorize deploying a dependency upgrade before the team's standard regression test suite has completed, what the minimum pre-authorization documentation is, and what the default action is when the named authority is not reachable within the security advisory's disclosure window.

The trigger for the security vulnerability upgrade authority model is a security advisory with a CVSS base score of 7.0 or higher that affects a package in the team's production dependency manifest. At this severity threshold, the upgrade is classified as a security-urgent upgrade rather than a standard breaking upgrade, and the standard approval timeline may be too slow if the advisory includes a coordinated disclosure window shorter than the standard regression test cycle. The security team lead or the engineer who identifies the advisory is responsible for notifying the VP Engineering within two hours of identifying the affected package.

The minimum pre-authorization documentation that must exist before the VP Engineering makes the deployment determination is: the CVE identifier or advisory reference, the CVSS base score and attack vector summary, the affected version range, the team's installed version and whether it falls within the affected range, the patched version or the first version that resolves the vulnerability, an enumeration of the breaking changes in the patched version relative to the installed version, the engineer's identification of which code paths in the team's codebase exercise the vulnerable functionality, and the engineer's recommended minimum test scope — the specific test suites or test cases that cover the vulnerable code paths and that must pass before emergency deployment is authorized. This documentation package is what allows the VP Engineering to make a risk-informed deployment determination rather than a time-pressured binary yes/no without evidence.

The VP Engineering's deployment determination must be made within four hours of receiving the documentation package. The determination specifies: whether emergency deployment before full regression is authorized, what the minimum test scope that must complete before deployment is (either accepting the engineer's recommendation or modifying it), and what the monitoring protocol is for the first 24 hours after the emergency deployment. The VP Engineering's determination is documented in the advisory response record. If the VP Engineering is not reachable within four hours of the documentation package being submitted, the security team lead has escalatory authority to authorize the emergency deployment with the minimum test scope the engineer recommended. The escalatory authorization is documented in the advisory response record with the VP Engineering's awareness noted as pending rather than confirmed. When the VP Engineering becomes available, they review the escalatory determination and either confirm or note objections for the post-incident review.

When the advisory does not include a coordinated disclosure deadline — when the full exploit details are already public at the time the advisory is identified — the urgency model is different: the team is already in the post-disclosure window, the upgrade should be treated as a P2 incident, and the standard incident response authority model applies rather than the security vulnerability upgrade authority model. The security vulnerability upgrade authority model is specifically for the pre-disclosure window, where the team can act before the full exploit details are public, and where the question is not whether to upgrade but whether to deploy an undertested upgrade before the standard regression cycle completes.

4. Dependency version drift governance model

The dependency version drift governance model defines who is responsible for auditing the team's dependency manifest against upstream current versions, what the review cadence is, what the escalation thresholds are for packages at different levels of drift, and what the governance consequence is for packages that remain at an elevated drift level without a documented remediation plan.

A named drift review owner — typically the platform team lead or, in the absence of a platform team, the VP Engineering — is responsible for publishing a quarterly dependency drift report covering all packages in the team's production dependency manifest that are one or more major versions behind the upstream current release. The drift report categorizes packages by drift level and trigger type. Drift level one — one major version behind — is the monitor tier: the package appears on the report, the owning team is notified, and no immediate action is required unless the upstream changelog shows that security CVEs have been patched in the skipped version. Drift level two — two major versions behind — is the escalate tier: the report requires the owning team to submit a remediation plan within 30 days specifying the target version, the sprint estimate, the engineer owner, and a completion deadline. Drift level three and above — three or more major versions behind — is the VP Engineering tier: the drift finding is escalated to the VP Engineering, the owning team must submit a remediation plan within 14 days, and the VP Engineering's approval is required for any new feature sprints in the owning service until a remediation plan with a deadline no more than two quarters out is on record.

The remediation plan requirement at drift level two and above serves a different purpose than a cleanup mandate. The purpose is to ensure that the team has a documented awareness of its breaking change ceiling for each drifted package — that the team can answer, in the next quarterly drift review or in a security audit, the questions of why the package is at its current drift level, what the migration plan is, and when the migration is expected to complete. The absence of a remediation plan is not a finding that an upgrade has been missed; it is a finding that the team does not have a documented plan for addressing a known technical risk, which is a governance gap independent of whether the upgrade itself is imminent.

The remediation plan review at the subsequent quarterly drift report checks three things: whether the drift level has decreased (indicating that the remediation sprint has started), whether the completion deadline from the remediation plan is still accurate, and whether the sprint estimate from the remediation plan reflected the actual migration complexity. When an upgrade is completed, the post-upgrade documentation — the breaking upgrade documentation record — is referenced in the drift report as the closure evidence for the remediation plan item. This creates a continuous record from the drift identification to the remediation plan submission to the upgrade completion, which is the evidence chain required by a security audit to demonstrate that the team identified the drift finding, planned a response, and executed on the plan.

5. Dependency upgrade governance review model

The dependency upgrade governance review model defines the recurring review events that assess whether the upgrade governance models are functioning as intended, what metrics indicate a governance model failure, and what the triggers are for revising the authority thresholds or documentation requirements.

The quarterly review covers four metrics. First, the security vulnerability response metric: for each security-urgent upgrade in the quarter, was the VP Engineering notified within two hours of the advisory identification, was the deployment determination made within four hours of the documentation package submission, and was the advisory response record completed with the determination and monitoring protocol before deployment? A quarter with more than one missed notification window or one escalatory authorization that the VP Engineering could not confirm within 24 hours indicates a process failure in the advisory notification chain. Second, the breaking upgrade documentation completion metric: for each breaking upgrade merged in the quarter, was a documentation record created before the pull request was merged? A quarter with more than 10% of breaking upgrades missing documentation records indicates either a training gap or an authority threshold that is too low — engineers are classifying breaking upgrades as non-breaking to avoid the documentation requirement. Third, the cross-team impact notification metric: for each shared-interface upgrade in the quarter, were all consuming teams notified before the upgrade was merged? A quarter with one missed notification that produced a cross-team integration failure indicates a coverage gap in the shared interface identification process. Fourth, the drift remediation plan coverage metric: for each package at drift level two or above in the quarterly drift report, does a remediation plan on record exist? A drift report with packages at drift level two or above without remediation plans is a governance finding requiring VP Engineering review before the next report cycle.

The annual review covers two structural assessments. The authority threshold review asks whether the upgrade scope classifications from the past year reflect the current dependency architecture: have any packages migrated between tier one (intra-team) and tier two (shared interface) or tier three (customer-facing/security-critical) due to changes in how they are used across the codebase? Authority thresholds that do not match the current dependency architecture produce over-governance (requiring VP Engineering approval for packages that are genuinely intra-team) or under-governance (allowing engineering-only approval for packages that have grown into shared infrastructure). The drift governance model calibration review asks whether the drift thresholds and remediation plan requirements from the past year produced timely migration activity or created administrative overhead without reducing actual drift: did the two-major-version escalate threshold result in remediation plans that were acted on, or in remediation plans that were written and then not prioritized? The annual review is the mechanism for adjusting the drift governance model's thresholds to match the team's actual upgrade capacity — a governance model that requires remediation plans faster than the team can execute them produces paperwork; a model calibrated to the team's actual sprint capacity produces migrations. The goal is migrations, and the annual review is where the governance model is adjusted to produce them.

The dependency upgrade governance decision record does not exist in isolation. Its security vulnerability response path intersects with the broader access control governance model when a vulnerability disclosure affects authentication or authorization libraries whose behavior change may require an access control model review event before deployment. The decisions captured in the founding sessions — which dependencies are security-critical, what the cross-team version coordination requirements are, who has authority to authorize an emergency deployment — are exactly the kind of reasoning that gets buried in the AI chat sessions where the team's initial infrastructure decisions were made. Extracting those sessions surfaces the governance commitments the founding team made before the team grew large enough that the commitments needed to be written down.

Frequently asked questions

Frequently asked questions

Who should have authority to approve a major version upgrade of a third-party dependency?

The major version upgrade authority model works best when it distinguishes between the scope of the breaking change rather than applying a single authority threshold to all major version upgrades. A breaking upgrade that affects only the upgrading team's own code is within the upgrading engineer's authority with documentation requirements. A breaking upgrade that touches a shared interface requires engineering manager approval and a cross-team impact assessment. A breaking upgrade that touches a customer-facing API contract or a security-critical path requires VP Engineering approval. The scope-tiered model prevents the most common dependency governance failure: an engineer who does not realize their upgrade has cross-team scope because no process exists to surface that scope before the upgrade is merged.

Who has authority to authorize deploying a dependency upgrade before regression testing is complete when a security vulnerability has been disclosed?

The VP Engineering holds the deployment determination authority for security-urgent upgrades: whether to deploy before full regression, what the minimum test scope is, and what the monitoring protocol is after deployment. The security team lead has escalatory authority when the VP Engineering is not reachable within the four-hour determination window. The escalatory authorization is documented and reviewed by the VP Engineering when available. The authority model is specific to the pre-disclosure window; when the full exploit details are already public, the standard incident response authority model applies instead.

How should dependency version drift be governed to prevent major version gaps from accumulating?

The dependency version drift governance model assigns a named drift review owner responsibility for a quarterly drift report covering all packages one or more major versions behind upstream current. Drift level one triggers monitoring. Drift level two triggers a 30-day remediation plan requirement. Drift level three or above triggers VP Engineering escalation and a 14-day remediation plan requirement before new feature sprints are approved. The model's purpose is not to mandate immediate upgrades but to ensure the team has a documented plan for each drifted package so that a security audit, a CVE, or a procurement assessment does not force the upgrade on a deadline the incremental approach would have made trivially manageable.

What documentation is required before a breaking dependency upgrade is merged?

A breaking upgrade documentation record specifying the version transition, the breaking changes encountered in the team's codebase, the code changes made to resolve each breaking change, whether any behavior change is customer-visible, whether any shared interface or cross-team contract is affected, the upgrading engineer and approver, and the testing scope. The record is a governance artifact separate from the pull request description — it must be findable by package name and date range when it is needed as evidence during a production investigation months after the upgrade. Default behavior changes require explicit documentation of the old default, the new default, and whether the team has overridden the new default to maintain the previous production behavior.