Verified Delta Pipeline 可验证增量发布工具链

Plan one release.
Serve every baseline.
规划一次发布。
覆盖每个基线。

Build a patch matrix from multiple old releases to one target. Keep efficient deltas, fall back to the full file, and export a verified CDN manifest.

从多个旧版本到同一个目标生成补丁矩阵。保留高效差量,在补丁不划算时回退完整文件, 并导出可验证的 CDN manifest。

Release Planner

Create a multi-baseline patch matrix 生成多基线补丁矩阵

Browser memory still limits input size. Start with representative release artifacts and reproduce production bundles with the CLI.

浏览器内存仍会限制输入规模。可先用代表性发布产物评估,再通过 CLI 复现生产 bundle。

Ready to plan a release

Baselines 基线数 0
Delta routes 差量路径 0
Full fallbacks 完整文件回退 0
Estimated transfer saved 预计节省传输
Baseline 基线 SHA-256 Patch 补丁 Ratio 比例 Decision 决策 Artifact 产物
The patch matrix will appear after planning.

Reproduce in CI/CD 在 CI/CD 中复现

The browser plans. The CLI ships. 浏览器负责规划,CLI 负责交付。

Use the exact same bundle schema in release jobs, GitHub Releases, or your CDN pipeline.

在发布任务、GitHub Releases 或 CDN 流程中使用完全相同的 bundle schema。

CLIrelease.sh
npx react-native-bs-diff-patch bundle \
  --from releases/ \
  --to dist/app.bin \
  --out dist/update-bundle \
  --max-ratio 0.85
GitHub Actionrelease.yml
- uses: JimmyDaddy/react-native-bs-diff-patch@v0.5.0
  id: delta
  with:
    old-file: releases/v1.bin
    new-file: dist/app.bin
    patch-file: dist/update.patch
    manifest-file: dist/patch-manifest.json