Skip to content

fix(update): restore legacy self-update compatibility - #66

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/legacy-self-update-bridge-20260729
Jul 29, 2026
Merged

fix(update): restore legacy self-update compatibility#66
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/legacy-self-update-bridge-20260729

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add a 16 KiB fail-closed release marker that satisfies the archive contract hard-coded in A3S 0.9.9 through 0.10.10
  • keep Anthropic SRT runtime code and dependencies removed
  • package and verify the marker in every tar archive and the Windows zip
  • add regression tests for the legacy JSON contract, inert CLI, executable mode, and release workflow

Root cause

A3S 0.10.8 validates support/managed-srt before replacing its own binary. Releases from 0.10.11 onward removed that tree together with SRT, so the old process rejects the otherwise valid archive before it can install the SRT-free binary.

Validation

  • cargo test --locked --test legacy_self_update_bridge
  • public v0.10.8 Apple Silicon binary completed a controlled self-update through the new bridge: 0.10.8 -> 9.9.9
  • installed bridge contained only four files; its CLI exited 1 with the retirement message
  • release workflow YAML parsed successfully and git diff --check passed

@ZhiXiao-Lin
ZhiXiao-Lin force-pushed the fix/legacy-self-update-bridge-20260729 branch from 59eeda6 to 475ce4e Compare July 29, 2026 02:02
@ZhiXiao-Lin
ZhiXiao-Lin force-pushed the fix/legacy-self-update-bridge-20260729 branch from 475ce4e to 5330664 Compare July 29, 2026 02:05
@ZhiXiao-Lin
ZhiXiao-Lin merged commit d01b884 into main Jul 29, 2026
3 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/legacy-self-update-bridge-20260729 branch July 29, 2026 02:26
@ZhiXiao-Lin ZhiXiao-Lin mentioned this pull request Jul 29, 2026
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