Skip to content

玉手箱 REPRODUCIBILITY

The reproducibility record.

A tebako runtime arrives as two prebuilt artifacts — the interpreter executable and its environment image — and running one means trusting bytes that were compiled on someone else's machine. The Ruby runtime factory answers with a claim that can be checked: for a release tag whose tree carries the reproducible-build pins, two runs of the same tree produce a byte-identical executable, compared before any signing, and a byte-identical environment image.

The claim is owned by the factory's docs/reproducible.md, and the factory's reproduce.yml workflow is its public check: one dispatch rebuilds one published leg on the release tag's own pipeline and compares the rebuilt bytes against the published record. This page renders the claim per leg of the v0.17.15 release line from a checked-in data file whose every cited run is re-verified live on each regeneration.

3 proven · 5 pending · 8 legs

release line v0.17.15 · ruby 4.0.9

data generated November 24, 2026

PER LEG

The claim, leg by leg.

One row stands per platform leg of the release line. A proven row names the twin-run that proves it — two builds of the same tree on independent runners, compared byte for byte — and a pending row says pending and points at the dispatch that proves a leg; no row says anything in between.

LegStatusThe claimThe proof

Linux x86-64 (glibc)

linux-gnu × x86_64

proven

Byte-identical exe and environment image across two independent runners; the rebuilt exe equals the published v0.17.15 exe byte for byte.

exe scope: published bytes (unsigned)

exe 4d858ae03cf7…

env image 206081a84330…

E2 twin-run

run 44983654950 · 3e25a6a

run 45000701327 · 3e25a6a

Linux arm64 (glibc)

linux-gnu × arm64

pending

No proving twin-run has been dispatched for this leg.

exe scope: published bytes (unsigned)

The leg builds on the same containerized recipe as the proven linux-gnu × x86_64 leg.

the proving dispatch ↓

Linux x86-64 (musl)

linux-musl × x86_64

pending

No proving twin-run has been dispatched for this leg.

exe scope: published bytes (unsigned)

the proving dispatch ↓

Linux arm64 (musl)

linux-musl × arm64

pending

No proving twin-run has been dispatched for this leg.

exe scope: published bytes (unsigned)

the proving dispatch ↓

macOS x86-64

macos × x86_64

pending

No proving twin-run has been dispatched for this leg.

exe scope: pre-signing digest (codesign rewrites the published exe)

The arm64 twin-run found the rss gemspec’s writer-fingerprint leak (the factory’s issue #384); the fix normalizes the writer fingerprint at deploy (#385), a step every macos leg shares. brew formulae float within a runner image and are recorded, not pinned.

the proving dispatch ↓

macOS arm64

macos × arm64

proven

Pre-signing-identical exe and byte-identical environment image across two independent runs of the same tree.

exe scope: pre-signing digest (codesign rewrites the published exe)

exe (pre-signing) 7efd761191a2…

env image 3d1628006634…

brew formulae float within a runner image and are recorded, not pinned; the resolved versions land in the run’s provenance record.

E3 twin-run

run 45138271519 · 3abe8c7

run 45138277368 · 3abe8c7

Windows x86-64 (UCRT)

windows × x86_64

proven

Pre-signing-identical exe and byte-identical environment image across two independent runs of the same tree.

exe scope: published bytes (unsigned today; the compare reads the presign record the day Authenticode arms)

exe (pre-signing) 8846e4bd75da…

env image 4083ab3e9f94…

MSYS2 tracks the rolling repository and is recorded, not pinned: byte-identity is claimed while the recorded pacman resolution stands, and the provenance record carries the resolution’s digest.

E4 twin-run

run 45138283413 · 3abe8c7

run 45138288574 · 3abe8c7

Windows arm64 (UCRT)

windows × arm64

pending

No proving twin-run has been dispatched for this leg.

exe scope: published bytes (unsigned today; same presign handling)

The same MSYS2 scope applies as on the ucrt64 leg, and the build-log sweep (#385) runs on every windows leg.

the proving dispatch ↓

SCOPE

What the claim covers, and what it does not.

Signing rewrites the executable after the claim's digest is taken: macOS applies codesign today, and Windows applies Authenticode once that signing work arms. A signed artifact is therefore irreproducible per run by design, and the executable claim on the signing platforms is scoped to the pre-signing digest that both builds record in their provenance. The published, signed executable verifies against its own sha256 sidecar, never against a rebuild.

Each build records a contract card, which is the build's provenance record: the source archives' digests, the pre-signing executable digest, and the toolchain that ran, including the card's builder os: field naming the machine that built it. Two proving runs whose os: fields differ are not a leak in the claim; the field is the provenance record doing its work, and the compared digests are taken from the bytes, not from the machine.

Three parts of the toolchain are recorded rather than pinned. On macOS the brew formulae float within a runner image: the Brewfile pins formula names, and the resolved versions land in the toolchain record. On Windows, MSYS2 tracks a rolling repository and no snapshot mirror exists to pin against, so byte-identity on the Windows legs is claimed while the recorded pacman resolution stands, and the resolution's digest is part of the provenance record. The CI runner image floats on the provider's schedule and is recorded in the toolchain record as the suspect to read first when a comparison fails.

The pins landed after v0.17.15, and a tag whose tree predates them stamps its image manifests with wall-clock time, so its images can never byte-reproduce. For those tags reproduce.yml verifies the published-integrity floor — the published executable and image download and sha256-verify against their published sidecars — and the identity rows of the verdict light up automatically on the first release whose tree carries the pins.

VERIFY

Re-prove any published leg.

One dispatch of reproduce.yml verifies one published leg. The workflow checks out the release tag's own tree, dispatches the platform's build on the tag ref with publishing disabled, and renders a verdict whose hard rows compare the rebuilt bytes against the published record: the published executable and image against their sha256 sidecars, and on releases that carry the pins the rebuilt executable and image against the published digests. The workflow holds no write grant, so a verification run can never create, replace, or delete an asset of the release.

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby \
  -f tag=<vX.Y.Z> -f ruby_version=<e.g. 4.0.9> \
  -f platform=<linux-gnu|linux-musl|macos|windows> -f arch=<x86_64|arm64>

Each leg of the current release line carries its dispatch below. A red verdict names the artifact and both hashes and quotes the published provenance record's toolchain, and the run's machine-readable verdict is downloadable as the run's reproduce-verdict-* artifact.

LegThe dispatch

Linux x86-64 (glibc)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=linux-gnu -f arch=x86_64

Linux arm64 (glibc)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=linux-gnu -f arch=arm64

Linux x86-64 (musl)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=linux-musl -f arch=x86_64

Linux arm64 (musl)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=linux-musl -f arch=arm64

macOS x86-64

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=macos -f arch=x86_64

macOS arm64

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=macos -f arch=arm64

Windows x86-64 (UCRT)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=windows -f arch=x86_64

Windows arm64 (UCRT)

gh workflow run reproduce.yml --repo tamatebako/tebako-runtime-ruby -f tag=v0.17.15 -f ruby_version=4.0.9 -f platform=windows -f arch=arm64

How this page is built

The claim and its scope are authored in the Ruby runtime factory's docs/reproducible.md, and the evidence of record is the factory's CI. This page renders a checked-in data file, and the site build never fetches.

A generator script produces the data file and holds it to the factory's record on every run: the recorded legs and their exe scopes must match the factory's own per-leg table cell for cell, reproduce.yml must still carry the documented dispatch inputs, and every cited run must be completed, green, and on the recorded commit in the GitHub API. The proven unsigned Linux leg is additionally anchored against the published release's sha256 sidecar, so the page cannot drift from the bytes the release actually serves. A failed check fails the regeneration and leaves the committed file untouched.

The data file regenerates daily and on dispatch from the factory, and the drift lands as a data-only pull request. A reproduce.yml verdict does not write to this page today; wiring the workflow's verdict feed into the data file is the designed next step, so that a fresh verdict updates the record without a human edit.