Skip to main content

Release runbook

Published

November 24, 2026

Modified

November 25, 2026

What a Bioconductor release roll asks of this platform, in the order it happens. Bioconductor releases twice a year; each time, devel becomes the release and a new devel starts. This page is kept up to date by whoever runs a release: change a step when it turns out wrong, and add the cycle to the log at the end.

Version numbers below are this cycle’s: release 3.23 → 3.24, devel 3.24 → 3.25. Read <release>, <devel> and <next> as the release, the devel and the next devel being rolled to.

What moves on its own, and what doesn’t

Most of the roll is driven by one file, config.yaml on Bioconductor/bioconductor.org devel, which the core team edits. Everything listed here reads it, or reads something that does.

Piece Follows How it learns
Package pages’ release/devel chrome, canonicals, sitemap, search release_version, devel_version the astro build (Astro site build)
/config.yaml, /js/versions.js the same the astro build
/bioc-version, /bioc-devel-version at the site root master’s copies, which nanoc writes from the same file bioc-sync, hourly (the edge serves these two from the mirror, not the build)
/packages/release/, /packages/devel/ the served build’s bioc-version, bioc-devel-version the Worker, within 60 s of site/latest moving
/checkResults/release/, /books/release/ and the other aliases master’s symlinks bioc-sync, hourly
Which r-universe a version’s package data comes from each universe’s BiocVersion bioc-website pipeline/packages.py universe_for(), nightly
R version for a version not yet in r_ver_for_bioc_ver the repository’s binary indexes r_version_for(), nightly
Registry gating R devel_version/release_version → r_ver_for_bioc_ver bioc-registry, at evaluate time
r-universe’s bioc and bioc-release r_universe_devel_version, r_universe_release_version r-universe
Mirror manifests (/api/v1/manifest/) master’s symlinks gen-manifest.sh

What does not move on its own:

  • Adding the next devel’s package data to the snapshot (step 3).
  • /packages/json/<next>/, which waits for <next> in config.yaml’s versions (step 3b).
  • Retiring the old release from the snapshot (after the release).
  • The container-binaries redirect bound in packages/edge/worker/gen-redirects.ts (v <= 25 today). The release-roll guard (ADR 0007) alerts when devel passes it.
  • Getting a devel edit onto the site quickly. sync.yml’s 30-minute schedule is throttled by GitHub to every few hours in practice (4–12 hours apart in November 2026). Dispatch it by hand (below) whenever an edit is waiting.

Before release day

1. The branch is cut

The core team creates RELEASE_<x_y> for the outgoing devel and seeds packages/<next>/ on master, partly as symlinks to <devel> (packages/3.25/workflows/VIEWS -> ../../3.24/…).

Check: gh api repos/bioc/BiocVersion/branches --jq '.[].name' lists RELEASE_<x_y>, and https://bioconductor.org/packages/<next>/bioc/VIEWS returns 200.

2. r-universe rolls

The core team sets r_universe_release_version and r_universe_devel_version in config.yaml. r-universe then rebuilds bioc from git devel (now <next>) and bioc-release from RELEASE_<x_y>, each on its own schedule. Lori’s edit for this cycle reached the site seven hours late (#195), so dispatch the sync as soon as it lands.

Check which version each universe serves:

for u in bioc bioc-release; do
  printf '%s ' $u; curl -s https://$u.r-universe.dev/api/packages/BiocVersion | jq -r '.Version + " " + .RemoteRef'
done

Nothing to do in the pipeline: each night a version reads the universe that has builds from its RELEASE_x_y branch, or bioc (git HEAD) if it has no release branch yet and bioc‘s BiocVersion is that version. A version neither universe serves (just after the branch cut, before bioc-release starts rebuilding, <devel> was in neither) takes its software data from the source tarballs’ DESCRIPTION, like the other three repositories, and says so in the log (no r-universe builds 3.24; software from --data-origin tarballs). Expect a few dozen fewer software pages for it until r-universe catches up: the tarballs cover only packages in the repository’s PACKAGES.

A universe rolls package by package, over hours, so for a while it holds builds from two branches, and both versions read it. Each takes only records whose RemoteRef is its own branch; a package whose current build is from the other branch, or that the universe doesn’t list yet, keeps yesterday’s record. Only software builds count toward “mid-roll”: the universes’ experiment and workflow records needn’t move. The nightly log says how many (313 records from another branch than RELEASE_3_23: 313 kept from the previous snapshot). The registry has no such guard yet: during a roll its /repo/bioc-release mixes both branches (#210).

Check the mix:

curl -s https://bioc-release.r-universe.dev/api/packages | jq -r '.[].RemoteRef' | sort | uniq -c

3. Add the next devel’s package data

On onclappc02, from a bioc-website checkout at main (not the ops clone the timers run from):

DRY_RUN=1 ADD_RELEASE=<next> ops/refresh-packages.sh   # build and check, no upload
ADD_RELEASE=<next> ops/refresh-packages.sh             # upload, dispatch both builds

It takes the same snapshot lock as the timers, so it can’t race them. Needs packages/<next>/bioc/bin/windows/contrib/<R>/PACKAGES to exist (empty is fine) when config.yaml has no r_ver_for_bioc_ver for <next> yet. Don’t add one early: that map is BiocManager’s, and a version in it that is neither release nor devel is “out-of-date” to R users. From then on the nightly bioc-site-packages refreshes <next> with the rest.

Check, once the astro build has published:

curl -s https://bioconductor.org/packages/<next>/bioc/html/limma.html | sed 's/<[^>]*>//g' | grep -o 'This package is for version [0-9.]*'
curl -s https://bioconductor.org/packages/devel/bioc/html/limma.html | sed 's/<[^>]*>//g' | grep -o 'This is the [a-z]* version'   # still "development", for <devel>

3b. Publish /packages/json/<next>/

The production build does not write /packages/json/; those files are master’s, served from the mirror. The legacy nanoc job on master writes packages.json only for config.yaml’s versions, from the repository’s VIEWS. So the core team adds "<next>" to versions on devel, and leaves release_version and devel_version alone. Then dispatch the sync (step 5). The file appears after master’s next run (about 22:30 UTC on 2026-11-23) and the next hourly bioc-sync.

This is safe for the astro build: it builds /packages/<next>/index.html and keeps the live pair (checked locally, every CI check included, 2026-11-24). Don’t publish the snapshot’s own data/<next>/<repo>/packages.json at that URL instead. It isn’t the legacy contract: it lacks MD5sum, git_url, git_last_commit, git_last_commit_date, Date/Publication, NeedsCompilation, Rank and VignetteBuilder, and it computes reverse dependencies differently.

Release day

4. The core team edits config.yaml

On devel, in one commit: release_version: "<devel>", devel_version: "<next>", versions: ["<devel>", "<next>"], r_ver_for_bioc_ver gains "<next>": "<R>", release_dates gains "<devel>": "<mm/dd/yyyy>", and the R versions, devel_repos and single_package_builder as the file’s own CHANGE THIS comments say. The astro build checks the pair is consistent (devel_version must be the version after release_version). Nothing checks release_dates, but the nightly package refresh stops when the live release has no date there, so add it if the release commit didn’t (3.24’s was added five days late).

5. Get it onto the site

To hold the site at the old pair while the core team prepares master, set PUBLISH_LATEST to false on seandavi/bioconductor.org: builds still run but site/latest doesn’t move. Set it back to true before this step. The mirror-served files (/bioc-version, /bioc-devel-version, checkResults/release/) follow master regardless.

gh workflow run sync.yml -R seandavi/bioconductor.org --ref astro

The sync merges devel into astro, runs the checks and dispatches astro.yml. About five minutes end to end on 2026-11-24 (sync under 3 min, build and publish 3–8 min). The Worker sees the new site/latest within 60 s, and with it the new /packages/release/ and /packages/devel/.

6. Verify

curl -s https://bioconductor.org/bioc-version; echo; curl -s https://bioconductor.org/bioc-devel-version; echo
curl -sI https://bioconductor.org/packages/release/bioc/html/limma.html | grep -i x-bioc-build
curl -s https://bioconductor.org/packages/release/bioc/html/limma.html | sed 's/<[^>]*>//g' | grep -o 'Bioconductor [0-9.]* Software' | head -1
curl -s https://bioconductor.org/config.yaml | grep -E '^(release|devel)_version'

The last two should show the new pair as soon as the build is served, and x-bioc-build should be the id in site/latest. /bioc-version and /bioc-devel-version are master’s copies from the mirror, so they show the new pair only after master’s nanoc rebuild and the next hourly sync; /packages/release/ follows the build’s own copies straight away.

7. Watch for

  • The release-roll guard. If devel passed the redirect bound, the bioc-release-roll Workflow alerts and waits for approval. Raise the bound in gen-redirects.ts, run just redirects, and deploy the Worker.
  • The Worker is deployed. /packages/release/ and /packages/devel/ follow the served build only in a Worker deployed since #208; an older one follows master’s symlinks and flips with master. Check before release day that npx wrangler deployments list is newer than the last packages/edge/worker commit.
  • The sync conflicts. Release edits touch nanoc layouts astro has deleted. The sync then opens a sync/devel-<sha> PR instead of merging; resolve by keeping them deleted if astro doesn’t render them, and merge with a merge commit.
  • The registry. Its gating R follows devel_version → r_ver_for_bioc_ver, so it moves to <next>’s R when step 4 lands. The dashboard’s “why are packages not propagated?” panel names the gating R.
  • Master’s symlinks. checkResults/, books/ and the mirror manifests follow master, which the legacy job flips on its own schedule.

After the release

  • Retire the old release from the snapshot once nothing links to it as live: drop its data/<old> from _ci/site-data.tar.zst (not scripted yet). It is then archival and served from the mirror (ADR 0006).
  • Expect the new devel’s repositories to shrink for a few days while BBS rebuilds them, and the nightly refresh to refuse the drop. Once master’s PACKAGES confirms the smaller count is real, run one refresh that accepts it: systemctl --user set-environment ALLOW_DROP=<next>/<repo>, systemctl --user start bioc-site-packages.service, then systemctl --user unset-environment ALLOW_DROP.
  • Update this page, and add the cycle to the log.

Log

3.24 (November 2026)

  • 2026-11-24. Lori Kern’s config.yaml edit (r_universe_* to 3.24/3.25, devel commit 76f949fb, 10:58 UTC) hadn’t reached the site at 13:27 UTC: the scheduled sync last ran at 06:46 UTC. Dispatched by hand at 13:39; live at 13:44 (#195).
  • Found, the same day, that the build took release/devel from the newest snapshot directory, and the pipeline picked r-universe by devel_version while r-universe had already moved bioc to 3.25. Fixed before any 3.25 data landed: seandavi/bioconductor.org#22 (release/devel from config.yaml), seandavi/bioc-website#86 (universe by BiocVersion, ADD_RELEASE), #208 (Worker aliases follow the served build; redirect bound to 3.25).
  • Release-day rehearsal, locally on the same data: one config.yaml edit flipped every package page, canonical and the build’s bioc-version, and every build check passed.
  • 15:47 UTC: ADD_RELEASE=3.25 ops/refresh-packages.sh uploaded the snapshot (-109ce069). Its first astro build failed the offline link check, which sampled the newest version (3.25) rather than the release. Nothing published. Fixed in seandavi/bioconductor.org#23; build 1976f242 then served /packages/3.25/. Lesson: a local rehearsal must run every CI step, the lychee link check included (the x86_64-unknown-linux-musl lychee build runs on onclappc02; the gnu one needs a newer glibc).
  • /packages/json/3.25/ was still 404 at day’s end: it needs "3.25" in versions (step 3b), which is the core team’s edit.
  • 18:00 UTC: r-universe’s bioc-release was 313 packages into its rebuild from RELEASE_3_24 with its BiocVersion still 3.23, so the pipeline would have put 3.24 metadata on 3.23’s pages that night. Fixed before the run in seandavi/bioc-website#89 (records only from the version’s own branch). The root cause, five components each deciding which version a build belongs to, is #210.
  • 19:00 UTC: 3.24 still took no r-universe data, because the pipeline chose a version’s universe by its BiocVersion (one package, not yet rebuilt) while 320 RELEASE_3_24 builds were already in bioc-release. Fixed in seandavi/bioc-website#90 (universe by branch). Its first version dropped 136 packages new in 3.24 that r-universe hadn’t rebuilt yet; refresh_check refused that upload in the dry run.
  • 2026-11-25. The 06:14 UTC astro build failed (/next/bioc-release/checkResults.html: Cannot read properties of null (reading '_jobs'), from a null record in the registry’s observation at build time), so nothing published and /packages/3.24/ and /3.25/ kept 2.47.5-era data for about ten hours, unalerted. A fresh dispatch at 16:12 passed.
  • 17:56 UTC: PUBLISH_LATEST set to false while the core team readied master. Master flipped to 3.24/3.25 (devel f1c5f602, 05543c94); our /packages/release/ and /packages/devel/ flipped with it, because #208 was merged but not deployed (last deploy 2026-11-19).
  • 21:54 UTC: PUBLISH_LATEST back on; the sync hit modify/delete conflicts on layouts/_bioc_older_packages.html and layouts/_release_announcements.html (nanoc, deleted in astro). Resolved by keeping them deleted (seandavi/bioconductor.org#25); build f5c780a2-a382b3b3 published, then the Worker deployed with #208. BiocManager on R 4.6 reports 3.24 release, 3.25 devel (R 4.7). /packages/json/3.25/ still 404 (master’s).
  • 2026-11-26 to 2026-12-01. The release was announced 2026-11-26, but config.yaml had no release_dates entry for 3.24, so bioc-site-packages failed every night and package pages kept 2026-11-25 data (#231). Fixed by adding the date (Bioconductor/bioconductor.org#453). The next run then refused 3.25 workflows going from 26 to 9 packages, which matched master’s PACKAGES; it went through with ALLOW_DROP=3.25/workflows (seandavi/bioc-website#91). Build c009b3f9-78cab455 published at 16:52 UTC. Its upload took 26 minutes, not the minute measured on 2026-11-24.