Skip to content

Publish desktop runtimes automatically for stable engine releases - #2465

Merged
ashhart merged 1 commit into
mainfrom
fix/automatic-desktop-runtimes
Nov 7, 2026
Merged

ashhart merged 1 commit into
mainfrom
fix/automatic-desktop-runtimes

Conversation

@ashhart

@ashhart ashhart commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

What this changes

Stable engine releases currently do not update the desktop app's signed runtime catalog. Publish a verified Mac arm64 runtime on each stable release, then sign and persist the catalog through the website's transactional endpoint. Reconciliation also backfills missed releases and renews expiring signatures.

  • Issue: n/a, directly requested release-infrastructure maintenance. No model family, backend or arithmetic changes.
  • Stacked on: main at ca854da; one commit adding only runtime publication tooling and workflows.
  • atc overlap --json: scoped inspection on 2026-11-07 against ca854da reported incomplete GitHub file coverage for a large PR. Supplemental API pagination and the complete fetched head tree covered all 182 observed open PRs for these exact 16 new paths, with no matching paths. This is scoped observed-head coverage, not repository-wide ATC clearance.

Checks on this head

  • Head commit: c35fd8b.
  • Lean checker, python3 tools/zig/lean_check.py, on base and head: 116 inherited findings on each, zero new findings. python3 tools/pr_check.py --base origin/main: 16 files, zero errors and zero warnings. git diff --check passed.
  • Tests run: node --test tools/runtime_release/*.test.mjs: 13 passed, zero failed/skipped; python3 -m unittest discover -s tools/runtime_release -p 'test_*.py': 3 passed, zero failed/skipped. Actionlint passed for all three workflows. Website endpoint integration: 90 tests passed, zero failed/skipped, complete release-readiness check and Wrangler dry-run passed. Actual workerd SQLite persistence, rollback rejection and forged-write rejection passed. The unchanged released app 1.0 updater discovered and installed the real authenticated 1.2.4 runtime through fixture publication transport, reverified all 23 files and passed its CPU-only native probe without activating it. A cross-host compression negative control failed before its fix and passes afterward.
  • Production activation: merged as 27b1b13. Automatic Mac preparation and protected publication passed: https://github.com/ashhart/TensorFold/actions/runs/42404408658. The production signed feed now offers 1.2.4 to the unchanged released app 1.0 updater. Its actual download, 23-file verification and native probe passed in an isolated profile. Complete runtime SHA-256: f0d76657100c1f4ccba55a2a6ac29006d3d13dd97161828563d7f9750f147947, 6,975,396 bytes. Both previous catalog packages and all nine original engine assets are unchanged. Idempotent dispatch passed without an asset or feed write: https://github.com/ashhart/TensorFold/actions/runs/42404558471. No GUI rebuild, GUI publication or installed-app replacement.
  • CI: all 8 checks passed on this pushed head: publisher fixtures, formatting, Linux host suite, Windows host suite, macOS dev tools, Linux release paths and benchmark clients on Linux and Windows. Integration base is ae28e51; its intervening changes are confined to the changelog and HIP contract record tables. No runtime publication path overlaps. Run: https://github.com/ashhart/TensorFold/actions/runs/42403004313. Publisher fixtures: https://github.com/ashhart/TensorFold/actions/runs/42403004414.
  • Not run: local full Zig host, golden, GPU and dev-tools suites because no Zig or inference source/API changed. Native engine source and GUI builds are outside this change. Existing repository CI remains enabled. Windows/Linux runtime publication is outside the approved stable platform scope.

Receipt

n/a, release transport and packaging changes cannot alter inference execution or model arithmetic.

  • Main against branch: n/a, no inference change or performance claim.
  • Boxes it reaches: Mac arm64 preparation and Ubuntu signing in GitHub CI; Cloudflare Durable Object catalog storage is deployed separately.
  • New switch? Default, accepted values, profile row: workflow input tag, default latest, or an exact stable v1.x.y backfill; no engine switch.
  • Environment: base and head above; Node 22 fixture checks, Node 24 CI, Python 3.12 CI. Zig/backend toolchains, GPU and model checkpoint n/a because no inference changes.
  • Paths and platforms: Mac arm64 runtime packaging and cross-platform catalog validation tested; Windows/Linux preview qualification remains separate. Signing key is available only to the protected main-branch publish job, after keyless native authentication and preparation.
  • Exactness: n/a, no model execution or token changes.
  • Main against branch, same machine and checkpoint: n/a, no inference change.
  • Decode speed: n/a, no inference change.
  • Prompt speed: n/a, no prompt-processing change.
  • Licence of new weights or drafter: n/a, no weights or drafter added. Existing official native licenses are retained and verified.

Checklist

  • The title and description match the head commit, including the receipt and stack.
  • Negative controls reject tampered signatures, unsafe archives, altered inventory, rollback and asset replacement; the observed compression regression failed before the correction and passes afterward. Offline tests have no optional external dependency.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

@ashhart

ashhart commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

/atc exchange 36d955b00d6217f782b8356c9ab1638585699bfdbc2580fda91763d185e2e656

@ashhart
ashhart merged commit 27b1b13 into main Nov 7, 2026
8 checks passed
ashhart added a commit that referenced this pull request Nov 8, 2026
#2465 gets its line, #2388 and #2434 their numbers, #2379 one line
(with #2516 folded in), seven contributor thanks restored, #1781 thanks
by handle, and no line promises later work.
@ashhart
ashhart deleted the fix/automatic-desktop-runtimes branch November 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant