Skip to content

fix(runtime): install T3 Code from GitHub release archives - #46

Merged
dizys merged 5 commits into
dizys:mainfrom
0libote:fix/github-runtime-updates
Oct 20, 2026
Merged

dizys merged 5 commits into
dizys:mainfrom
0libote:fix/github-runtime-updates

Conversation

@0libote

@0libote 0libote commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue: Updates are stuck at 0.1.1-nightly.20261016.3190 because upstream stopped publishing the npm platform packages this container uses.

Fix: Install and update T3 Code from official GitHub CLI archives, with SHA-256 verification. Image builds and Setup share the same implementation, preserving compatibility checks, database snapshots, rollback and existing cached runtimes.

Existing containers need a rebuilt image to receive the new updater.

Validation

  • 624 Node tests passed, plus shell, syntax and static checks.
  • Tested real Stable and Nightly archives, including an isolated 3190 → 3348 upgrade that preserved authentication.
  • Added real-nightly staging to the native amd64/arm64 image smoke tests.

Finishing validation

  • Reserve disk headroom before downloading, recheck during streaming and before extraction, and cancel and remove failed staging. Seven new regressions cover low space, preserved live state, unknown or inconsistent sizes, cancellation and cleanup.

  • Keep release-check failures visible in the existing Setup warning, including GitHub rate limits and missing checksums. Diagnostics render as text and clear after recovery.

  • The responsive update audit passed all 12 configurations, including light/dark, mobile, desktop and embedded layouts.

  • Real ARM64 nightly 0.1.1-nightly.20261020.3411 passed checksum, Setup bridge, launcher compatibility and native authentication staging checks in a disposable home.

  • Version pins and changed shell/syntax checks passed. Native image CI passed on fad17f6 for core and browser on amd64 and arm64, including the native archive, UI, smoke and amd64 lifecycle checks.

  • Pin lookups use the existing CI token only for GitHub metadata, keep it out of command arguments and logs, retry bounded transient failures, and preserve lookup output in smoke diagnostics. Four additional tests cover token isolation, anonymous access, unavailable metadata and genuine version drift.

@0libote
0libote marked this pull request as ready for review October 19, 2026 10:01
0libote and others added 4 commits October 20, 2026 15:12
Check capacity before requesting and writing archives, reserve room for the running server, and recheck bounded batches and extraction. Cancel failed downloads, reject inconsistent sizes, and keep existing runtime state intact.

Show release check failures persistently in Setup. Add disk-pressure regressions and responsive browser coverage for rate limits, checksums, escaped diagnostics, and recovery.
Use the existing CI token only for GitHub API requests, pass it through stdin instead of command arguments, and retry bounded transient metadata failures. Keep registry lookups unauthenticated and real version drift blocking.

Retain pin-check output in smoke diagnostics. Add regressions for token isolation, public lookups, unavailable metadata and stale or invalid releases.
@dizys
dizys merged commit d1abbaf into dizys:main Oct 20, 2026
7 checks passed
@0libote
0libote deleted the fix/github-runtime-updates branch October 20, 2026 17:23
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.

2 participants