JupiteX Get the app
Science & Technology28 Nov 2026 · about 6 min

Netflix Builds Quasar to Measure the Blast Radius of Library API Changes

The brief

Quasar is an internal Netflix tool for tracing library API symbols to the code that uses them. It helps engineering teams estimate the downstream impact of a proposed change before releasing it. This matters because knowing an API is incompatible does not, by itself, reveal which applications depend on it. During pull request analysis, Quasar compares API definitions between commits and identifies symbols that were added, removed, or modified. It then searches indexed code references for affected repositories, dependency versions, and source locations. The tool uses SCIP data supplied by language-specific indexers during CI builds, stored as Parquet files in Amazon S3 and queried through Amazon Athena. A Netflix example found that removing a deprecated method affected 137 repositories across three library versions. Quasar complements compatibility analysis rather than replacing it, and its findings do not prove every consumer has been found. Netflix is also investing in runtime analysis and plans to bring impact information earlier into coding workflows.

01

What is Quasar, and what problem does it help Netflix solve?

Quasar is an internal Netflix tool for tracing library API symbols to the code that uses them. It helps engineering teams estimate the downstream impact of a proposed change before releasing it. This matters because knowing an API is incompatible does not, by itself, reveal which applications depend on it.

During pull request analysis, Quasar compares API definitions between commits and identifies symbols that were added, removed, or modified. It then searches indexed code references for affected repositories, dependency versions, and source locations. The tool uses SCIP data supplied by language-specific indexers during CI builds, stored as Parquet files in Amazon S3 and queried through Amazon Athena.

A Netflix example found that removing a deprecated method affected 137 repositories across three library versions. Quasar complements compatibility analysis rather than replacing it, and its findings do not prove every consumer has been found. Netflix is also investing in runtime analysis and plans to bring impact information earlier into coding workflows.

02

How does Quasar connect a proposed API change to the code that actually uses it?

Quasar links a proposed API change to code that references the affected symbols. That connection gives library teams more than a compatibility warning: it can show which repositories and dependency versions may be affected, along with relevant source locations. This helps teams understand the practical reach of a change before releasing it.

During pull request analysis, Quasar compares API definitions between commits to find added, removed, or modified symbols. It queries references collected through SCIP, an open format for representing code relationships. Language-specific indexers submit this data during CI builds; Quasar stores it in Amazon S3 as Parquet files and queries it through Amazon Athena. A reported example traced removal of one deprecated method to 137 repositories across three library versions.

The results are static evidence, not a complete guarantee. Reflection, dynamic loading, stale indexes, and incomplete coverage can hide consumers. Netflix is investing in runtime analysis to complement the index, and plans to let agents retrieve consumer information earlier, before pull requests are opened.

03

In Netflix’s example, how many repositories and library versions were affected by removing one deprecated method?

The Netflix example involved removing a single deprecated method. Quasar's impact report showed that the change affected 137 repositories across three library versions. The scale is striking: one library change can have consequences well beyond the repository where the method is defined.

Quasar identifies that reach by comparing API definitions between commits, then querying indexed references to the changed symbol. Its results can include affected repositories, the dependency versions they use, and source locations. The index is built from SCIP code-relationship data submitted by language-specific indexers during CI builds, then stored and queried using Amazon S3 and Athena.

This figure is an observed result, not proof that every consumer was found. Reflection, dynamic loading, stale indexes, and incomplete coverage can prevent references from appearing. Netflix says runtime analysis is being developed to complement static evidence. The tool informs removal decisions, but does not guarantee that an API is safe to delete.

04

How can knowing which code uses an API help teams prepare for a change before releasing it?

Knowing which code uses an API helps a library team see the likely consequences of changing it. Instead of relying only on a compatibility warning, engineers can identify affected repositories, dependency versions, and source locations. That information can guide planning before a change reaches users of the library.

Quasar compares API definitions across commits and queries indexed references for changed symbols. In Netflix's example, removing one deprecated method affected 137 repositories across three library versions. With details about the consumers and call sites, teams can investigate where migration work may be needed. The article says Netflix wants agents to identify public API changes and retrieve consumer information before pull requests are opened, helping prepare migration changes.

The findings are useful evidence, not a guarantee of complete coverage. Reflection, dynamic loading, and incomplete or stale indexes can hide usage; rare runtime paths can also escape observation. Netflix is investing in runtime analysis to complement static evidence. Library producers still make API and release decisions.

05

Why can’t compatibility checks, dependency graphs, or text searches alone reliably show which applications use a changed API?

Compatibility checks can identify that an API change is incompatible, such as a removed method or changed signature, but they do not necessarily say which applications call it. Dependency graphs offer another view, yet they show declared relationships rather than actual use. Text searches look for written matches but can miss references created through inheritance, overloads, or generated code.

Quasar combines API comparisons with semantic code indexing to connect changed symbols to indexed references. During pull request analysis, it finds affected repositories, dependency versions, and source locations. SCIP represents code relationships, while language-specific indexers submit data during CI builds. This approach aims to answer not just whether a change breaks compatibility, but where consumers may be affected.

The methods also have a practical limit: building every downstream consumer to test a change can be expensive. Quasar offers another way to assess impact, but its index is not complete proof of usage or non-usage. Reflection, dynamic loading, stale indexes, and incomplete coverage can still hide consumers.

06

Why does finding no indexed references fail to prove that an API is unused?

Finding no indexed reference means Quasar did not observe a reference in the data it queried; it does not prove that nobody uses the API. The article names reflection, dynamic loading, stale indexes, and incomplete coverage as ways consumers can be missed. This distinction matters when teams are deciding whether to remove an API.

The tool relies on code relationships indexed through SCIP and submitted by language-specific indexers during CI builds. Its static evidence can locate relevant call sites, but it may not capture every way a program reaches an API. Antonio J. del Águila also pointed to rare code paths, such as a quarterly batch job, that may not appear during a sampled observation window.

Roberto Pérez Alcolea acknowledged these blind spots and said Netflix is investing in runtime analysis to complement static evidence. Together, those signals can inform removal decisions, but they do not guarantee an API is safe to delete. Quasar's findings should therefore be treated as evidence, not certainty.

07

What is an API, and how does an application use one provided by a library?

In standard software usage, an API is a defined interface that lets one piece of software use functionality provided by another. A library can expose symbols such as methods, and an application can refer to or call those symbols in its code. The source article discusses library APIs and symbols but does not give a general definition of API.

Quasar focuses on connecting those library symbols to their consumers. It compares API definitions between commits, then queries indexed code references to locate repositories, dependency versions, and source locations that may use a changed symbol. Its SCIP-based index represents code relationships collected by language-specific indexers during CI builds.

This helps teams estimate the impact of changing an API, but the evidence can be incomplete. Reflection, dynamic loading, stale indexes, and missing coverage can hide some use. Quasar complements API compatibility analysis, and Netflix is investing in runtime analysis as another signal. The findings inform decisions; they do not guarantee that an API is safe to remove.

This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.

Read more in the JupiteX app

Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.

Or read more news on the web