CAVEAT logo: a waterfall flowing into a networkCAVEATCascades in linked event data
A waterfall that turns into flowing water and then into a network of linked nodes
Analysis scenario · paper appendix A.1

Release cascades in npmAppendix A.3 of the paper · Software

Overview › Scenarios › Release cascades in npm

An analyst wants to know how updates travel through the JavaScript ecosystem. This page follows one pass through the prototype: choose a lag window for each kind of link, read the structure of the cascades that result, keep the Cloudflare workerd cascades as a group, and record what holds up.

55,102regular releases, Jan 2025 to Sep 2026
2,544packages
41,918hand_off links, same repository
7,643dependency links, across repositories
6,653t-cascades found, covering 36 % of releases

Four terms before the first step

Link
A downstream package raised its minimum required version of an upstream package within 30 days of the upstream release. Links record documented adoption of a version. They do not prove causation.
Link kinds
hand_off joins releases of packages in the same repository. dependency joins releases across different repositories.
t-cascade
Starts at a root release and follows links whose lag stays inside the window set for their kind.
Anchor entity
The entity a release is placed at. software-npm-0.1 anchors at the package. software-npm-grouped-0.2 anchors at the npm scope, so all @cloudflare/* packages form one group, cloudflare.

Figures come from the co-author’s analysis (paper Figs. 12 to 18) and from a replay of the same steps recorded on 1 December 2026 in software-npm-grouped-0.2. Analyst notes, the group description and finding F9 are taken from that replayed session. Figures tagged Not in the paper exist only there or among the co-author’s extra images. Click any figure to enlarge it.

1Data

How fast does each kind of link happen?

In the toolData › Links › lag histogram of each link kind

The histograms count links by the lag between the two releases, in groups of doubling width on a log scale. The two kinds behave differently. hand_off links peak between 1 second and 4 minutes. dependency links pile up at hours and days.

Paper Fig. 12, top. software-npm-grouped-0.2 Lag between linked releases for hand_off (left) and dependency (right). The dashed line marks the 7-day window.
Analyst’s note · hand_off histogram

Same as in the non-grouped dataset before: peak in the first seconds to minutes; valley at around 1 day, therefore we set the lag window for hand_off to 1 day

Analyst’s note · dependency histogram

Default selection of 7 days for the dependency lag window seems appropriate

What the analyst takes away

One window cannot serve both kinds. The hand_off window becomes 1 day. The dependency window stays at its 7-day default.

2Detect

Which window should the dependency links get?

In the toolDetect › hand_off window › 1 dDetect › window sweep for dependencyRun detection

The sweep repeats detection for many dependency windows and follows the largest episode. Up to 3.5 days it stays below 100 releases. At 7 days it reaches 189, at 14 days 477, and at 28 days it jumps to about 4,000. The tool places its suggestion near 21 days, at the onset of that jump. The analyst keeps 7 days, before the jump.

Paper Fig. 12, bottom. software-npm-0.1 Sweep over the dependency window with hand_off fixed at 1 day. Black line: current setting. Orange dashed line: suggestion A.
Analyst’s note · window sweep

Sweep is the same as in the non-grouped dataset, therefore the same conclusion applies here as well

hand_off as in data, window 1 d; dependency as in data, window 7 d. Externally fed events count as roots. Size cap none. Display filter: at least 3 events.
Result

With these settings detection returns 6,653 t-cascades, covering 36 % of all releases. Setting both windows to 1 day would drop about 2,500 cascades.

3Explore

What shapes do the cascades have?

In the toolExplore › Structure › Motif atlas

The bar on top splits the 6,653 cascades by structure type. The matrix below crosses motif combinations (rows) with size bands (columns). Each cell shows the most common shape and how many cascades have it.

Paper Fig. 13. Motif atlas for all 6,653 t-cascades. Merges account for 46.2 % (top bar). Cascades of five or more events almost always include merges.

Merges are the most common structure, found in 3,073 cascades (46.2 %), because a single package release often bumps several upstream dependencies at once. Two thirds of the cascades (4,431, 66.6 %) have only 3 or 4 releases. The largest groups among them are 2,372 pure chains, 1,053 chain-fork-merge cascades and 704 pure forks. Cascades with 5 to 17 or more releases almost always combine branching with merging.

4Explore

What does the largest episode look like?

In the toolExplore › Filter › Episode › largest (189 releases)Layers viewHorizontal axis › clock timeColour › number of t-cascades

The largest episode has 83 overlapping t-cascades and 189 releases, between 10 February and 20 March 2025. Most of its 106 roots belong to release trains, batches of packages that one project publishes together. They appear as vertical columns: platform binaries of two Rollup releases (18 packages each, within one minute), SWC (10 binaries), four Vitest patch releases (12 packages each, within 48 seconds) and Nuxt.

Paper Fig. 14. software-npm-0.1 Largest episode, 85 package lanes. Vertical columns are release trains: four Vitest patches near the top, two Rollup binary releases in the middle, SWC near the bottom. Dashed lines are dependency links. Node colour shows how many t-cascades share a release.

Shared utility packages (pathe, pkg-types, ohash, consola) connect these separate projects. pathe 2.0.3 is adopted by @nuxt/devtools 2.1.0 after 4.5 days and by vitest 3.0.6 after 6.7 days. That pulls both families into one episode even though neither depends on the other. Opening the episode as a group in Groups shows 43 % dependency links, against 12 % in the full run.

The figure also shows the limit of per-package anchors. Of 85 lanes, 18 belong to @rollup/rollup-* binaries, 10 to @swc/core-* binaries and 18 to @vitest/* and @nuxt/* subpackages. Repetitive rows from a few projects dominate the view.

Not in the paperExtra figure. software-npm-0.1 One t-cascade from @octokit/openapi-types 27.0.0, 10 events on package lanes. Diamonds mark releases reached by several links: request, graphql, core and rest. The first nine events follow within a few hours. @octokit/rest 22.0.1 comes the evening of the next day.
5Explore

Does grouping packages by scope make the picture readable?

In the toolData › dataset › software-npm-grouped-0.2Detect › same windowsExplore › Filter › EntitiesExplore › Entity map › Symbol size › start here / pass through here

The grouped dataset anchors each release at a package group. All packages with the same npm scope form one group, for example the five platform binaries @cloudflare/workerd-darwin-64 to @cloudflare/workerd-windows-64 belong to cloudflare. Every unscoped package stays its own group. Events and links are unchanged, so detection finds the same 6,653 t-cascades. The 2,544 packages collapse into 1,574 groups (1,453 of them single packages) with 3,932 relations between groups.

The Entities filter shows that most cascades stay local at group level: 2,246 remain within one group, 2,630 span two groups and only 210 span five or more.

Software has no geography, so the adapter computes an artificial 2D layout from the dependency graph between groups. Distance on the map means dependency coupling. Read it as close or far.

Not in the paperEntity map, all 6,653 t-cascades. software-npm-grouped-0.2 Symbol size is the number of cascades that start at a group.
Analyst’s note · entity map, symbol size “start here”

Definitely some packages contribute to more cascades than others

Setting Symbol size to start here makes cloudflare stand out with 731 cascades. Switching to pass through here makes workerd, the Cloudflare Workers runtime, the hub.

Not in the paperTwo settings of the same map. software-npm-grouped-0.2 Left: symbol size start here, cloudflare (731). Right: pass through here, workerd (706).
Analyst’s note · start here

Cloudflare with 731 t-cascades seems to be quite involved

Analyst’s note · pass through here

Workerd seems to be part of many many t-cascades

Why the counts differ

Each workerd release comes with up to five platform binaries, and each binary is a root at cloudflare. One release therefore starts up to five cascades there, and all of them pass through workerd.

6Groups

Keep the workerd cascades as a group

In the toolExplore › Filter › Entity › workerd (involves)Make group of the viewGroups › accept the group

The Entity filter keeps the 706 t-cascades that involve workerd. It drops 25 unrelated @cloudflare/* cascades. Make group of the view saves the 706 as a rule-based selection, which the analyst names Workerd.

Paper Fig. 15. software-npm-grouped-0.2 Zoomed entity map, filtered to the 706 t-cascades that involve workerd. Circle size is the number of those cascades that involve each group. cloudflare, workerd, miniflare and wrangler sit tightly together with alchemy nearby. One long arc leads towards opennextjs, outside the crop, beside the AWS packages.
Show the wider map around the cluster
Not in the papersoftware-npm-grouped-0.2 The same filter, zoomed out. opennextjs (55) lies far from the cluster.

In Groups the radar chart ranks the 706 members against all 6,653 cascades. Unlike most cascades, which stay within one or two groups and rely on fast hand_off links, this group reaches the 92nd percentile in entity spread (it crosses 4 to 6 groups). It drops to the 32nd percentile in hand_off share, because cross-repository dependency links dominate. The median duration is 1.68 days (65th percentile). Of the group’s cascades, 62 % are merge-type, against 46.2 % across the run.

Paper Fig. 16. software-npm-grouped-0.2 Summary of the 706 workerd cascades in Groups. Left: median percentile radar profile relative to the full run. Right: the six most common shapes. The label gives the number of releases per level, counted from the root.

The shapes list shows six recurring topologies. In 454 cascades (64 %) the shape is 1-1-2, a diamond merge ending at miniflare and wrangler. In 102 (14 %) it is the chain 1-1-1, reaching wrangler directly without miniflare. Smaller sets such as 1-1-2-1 (60, 8 %) and 1-1-3-1 (30, 4 %) extend one step further to external adopters.

What the tool wrote about the group

Size
706 t-cascades of 3 to 6 events (median 4); duration: median 1.68 days, 90 % within 5.69 days.
Structure
Structure types: 19 % chain, 18 % fork, 62 % merge. Most common combinations of motifs: chain + fork + merge (53 %), chain (19 %), fork (17 %).
Where
Most roots at cloudflare (706). First follow-on events mostly at workerd (100 %, ×9.4).
When
Roots between 2025-01-23 and 2026-09-30, most in 2026-09 (63 t-cascades). Weekday of the roots: most on Wed 22 % (run 17 %).
Evidence
1,089 distinct links; kinds hand_off 74 %, dependency 26 %; evidence of existence rule 100 %; typical lag 2.5 min (90 % within 2.4 d).
Delay
Links leaving the root: hand_off 100 % (run 81 %).
7Groups

What does one workerd cascade look like?

In the toolGroups › Members › open a memberCascade view › entity lanes, real time

In the Members panel each workerd version appears up to five times as identical cards. The only difference is the operating system suffix of the root package: workerd-darwin-64, darwin-arm64, linux-64, linux-arm64 and windows-64. Opening one member in entity lanes over clock time shows a full run, with one lane per package group.

Paper Fig. 17. software-npm-grouped-0.2 One t-cascade from the 706-member group, rooted at @cloudflare/workerd-darwin-64 1.20250712.0 (12 to 21 July 2025). Solid arrows are hand_off links, dashed arrows are dependency links. The diamond marks the merge at wrangler. Grouping collapses the binaries of one scope so that links between projects stand out.
FromToKindLag
root binaryworkerd 1.20250712.0hand_off2 minutes
workerdminiflare 4.20250712.0dependency4.5 days
workerdwrangler 4.24.4dependency4.5 days
miniflarewrangler (same monorepo)hand_off2 seconds
miniflarealchemy 0.48.1dependency20 hours
wrangler@opennextjs/cloudflare 1.5.2dependency4.9 days
Analyst’s note · cascade from the darwin-arm64 binary

Two minutes after the root (binary update), workerd follows via a hand_off link; a couple of days later the other dependencies (wrangler, miniflare) are being updated as well. Miniflare and wrangler share a repo, hence their update is so close as well and connected via a hand_off link kind. After that, two external packages (alchemy and opennextjs/cloudflare) update as well. […]

Analyst’s note · cascade from the windows-64 binary

This looks exactly like the previous recorded finding. This time it is the Windows binary as a root of the t-cascade. Before it was Darwin. All is the same, the root (binary for a different operating system) is the only difference.

Show the two replayed cascades (darwin-arm64 and windows-64 roots)
Not in the papersoftware-npm-grouped-0.2 The same release with two other binaries as root. The structure is identical.
8Findings

What can be said about the whole group?

In the toolFindings › Characterise › Entities (scoped to the accepted group)Findings › Characterise › Hand-overs and locality › 4 × 4 gridRecord a finding

The Entities table for the group shows where the cascades go and how often each package takes part.

EntityReleases in the dataCascades of the groupShare of its releases
workerd419all 706 involve it34.1 % (about 143)
miniflare172569 involve it: 439 pass through, 130 end there66.3 %
opennextjs18755 end there5.3 %
alchemy27830 end there2.2 %

The workerd row shows that not every runtime release triggers a cascade. Only 34.1 % of its 419 regular releases (about 143) are picked up downstream within the 7-day window. miniflare (172 releases) and wrangler (259 releases) publish less often and skip intermediate workerd versions.

The Hand-overs and locality view answers how local the links are. 99.4 % of them (1,082 of 1,089) connect direct neighbours in the entity structure. The 4 × 4 region matrix has a single active row, R9 cloudflare. Of the 1,089 links, 1,079 stay inside R9 and only 10 cross into R4 aws-sdk, where opennextjs sits.

Paper Fig. 18. software-npm-grouped-0.2 Region hand-over matrix for the 706 accepted workerd cascades over a 4 × 4 grid of the 2D dependency layout. Outlined cells on the diagonal are links that stay inside one region. Layout coordinates reflect dependency coupling, not physical space.

The analyst records what the figures and tables support. The finding keeps its scope, its settings and the workspace items it rests on.

F9confirmedWorkerd (706 t-cascades, tentative)

Over 99% of the links connect direct neighbors.

In the data table we can see that only about one third of all workerd releases lead to an update cascade.

Probably some versions are skipped.

Rests on
8 workspace items (w1 to w8): the three window figures, the three entity maps and the two single cascades
Settings
hand_off as in data, window 1 d; dependency as in data, window 7 d. Externally fed events count as roots. Size cap none. Display filter: at least 3 events.
Range
Across 10 settings explored (1 runs, 9 sweep points): roots per 1,000 events 364 to 384; share of events in t-cascades 36 % to 36 %.
Recorded
by analyst, 1 Dec 2026, 14:06 UTC, on 6,653 t-cascades
9Wrap-up

Two lessons for cascade analysis in software registries

  1. Choose lag windows per link kind. Same-repository hand_off releases happen within minutes. Cross-repository dependency adoptions take hours to days.
  2. The anchor entity shapes what is readable and how cascades are counted. Individual packages show every release, but lane views fill up with platform binaries. Grouping by npm scope keeps the map and the lanes readable. It does not remove every effect of how packages are published: one workerd release still starts up to five cascades in cloudflare. Entity spread and root counts must therefore be read together with the adapter’s anchor definition, which the framework records alongside every result.

All parameter settings, accepted groups, confirmed findings and supporting views for both software-npm-0.1 and software-npm-grouped-0.2 are stored in exportable session files.

The recorded trail of the replayed session

Time (UTC)ItemStep
13:44:20w1 · Lag of kind hand_off1
13:44:41w2 · Lag of kind dependency1
13:45:16w3 · Window sweep2
13:46:49w4 · Entity map, all 6,653 t-cascades5
13:47:51w5 · Entity map, start here5
13:49:24w6 · Entity map, pass through here5
13:51:26Group “Workerd” created from the 706 t-cascades in view6
13:59:07w7 · Cascade from the darwin-arm64 binary7
14:00:35w8 · Cascade from the windows-64 binary7
14:06:18Finding F9 recorded8
14:06:31Findings exported
Data sets: software-npm-0.1 (npm_release_adapter 0.1, manifest 9f9f520046) and software-npm-grouped-0.2 (npm_release_adapter 0.3, manifest 9007d78f29). Tool: CAVEAT, redesign phase 2, built 2026-11-28 08:56 UTC. All t-cascades shown are tentative unless marked accepted.