Skip to content

Automatically retire older app versions after updates - #455

Draft
Harrison-Xu wants to merge 2 commits into
mainfrom
codex/retire-superseded-versions
Draft

Harrison-Xu wants to merge 2 commits into
mainfrom
codex/retire-superseded-versions

Conversation

@Harrison-Xu

@Harrison-Xu Harrison-Xu commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Version updates currently leave old manifests and binaries behind even though the device and web stores show only the latest version. Web publish PRs now replace older manifests, and the shared deployment policy also covers older czdev clients, historical multi-version apps and concurrently merged PRs.

The backend selects the highest Debian version per app, including arm64/all transitions. After deployment, both global and China registries must exclude retired versions and contain the replacement before official Release downloads are revoked. Remaining superseded manifests are removed from current main with a non-forced push that rechecks their identity and the replacement; failures remain retryable. The existing OSS withdrawal pipeline removes retired mirror objects. Contributor fork Releases remain under their owners' control.

The first deployment also reconciles historical multi-version listings. A read-only plan at base 1f7484d found 54 superseded manifests across 31 apps. This PR has not changed live manifests or Release assets.

Validation: 33 regression tests passed, covering Debian ordering, architecture changes, missing replacements, registry presence, concurrent push retries, rollback protection and failed pushes. Workflow YAML and shell syntax checks passed. docs/PUBLISHING.md compares the CLI and web paths.

Companion dev-portal and AppBuilder PRs synchronize templates, stage matching czdev deletions and prevent retired merged PRs appearing indefinitely as publishing. Deploy packages before enabling the new portal lifecycle text.

Companion PRs: CardputerZero/AppBuilder#22 and CardputerZero/dev-portal#25.

This branch has not been deployed

No deployments
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