release: bump version to 0.84.2

This commit is contained in:
rayd1o committed 2026-12-05 01:56:03 +08:00
1 parent 5e6352f524
commit 30b44ec00d
77 files changed
+3312 -1039

No files matched your search

+3 -4
View File
@@ -670,11 +670,10 @@ release-oriented change.
- Before committing a release, verify target version consistency.
- Before pushing a release, run the smallest relevant validation for the changed scope and report what was or was not validated.
- Do not include generated runtime output directories in release commits.
- **Scoped Release & Deployment Classification**: Releases resolve changed paths (`scripts/release_scope.py`) against the previous stable tag and record exact service image digests plus `client.mode` (`none` | `hotfix` | `full`) in OCI `release-manifest:<tag>` (and in `release-manifest.json` when a client Release is published):
- **Scoped Release & Deployment Classification**: Releases resolve changed paths (`scripts/release_scope.py`) against the previous stable tag and record exact service image digests plus `client.mode` (`none` | `hotfix` | `full`) in OCI `release-manifest:<tag>` (and in `release-manifest.json` when a full desktop Release is published):
- `admin`-only, `backend`-only, or `aiprovider`-only changes (`client.mode == "none"`) push **only** the affected container image(s) + OCI `release-manifest:<tag>`, must **not** package desktop clients or publish client update manifests, and must **not** create a Gitea Release.
- Only releases with client updates (`client.mode` = `hotfix` or `full`) create a Gitea Release. Production `planet-release-deploy` inspects Git tags + OCI `release-manifest:<tag>` directly (with fallback to Gitea Releases for legacy tags) so server-only releases still roll out to the changed containers cleanly.
- `frontend/public/earth/**` (without `client/**`) emits only the lightweight L1 Earth hotfix bundle (`--hotfix`) while preserving the prior `shell_version`.
- `client/**` triggers full multi-platform desktop installer builds (`--all`, producing `.exe`/`.zip`, `.AppImage`/`.deb`, `.zip`) plus the L1 hotfix bundle.
- `frontend/public/earth/**` (without `client/**`, `client.mode == "hotfix"`) emits only the lightweight L1 Earth hotfix bundle (`--hotfix`) while preserving the prior `shell_version`, embeds the hotfix bundle and release notes inside OCI `release-manifest:<tag>` (`bundle_storage: "oci"`), and must **not** create a Gitea Release so `/releases/latest` always retains full desktop installers.
- Only full desktop client releases (`client/**`, `client.mode == "full"`) trigger full multi-platform desktop installer builds (`--all`, producing `.exe`/`.zip`, `.AppImage`/`.deb`, `.zip`) plus the L1 hotfix bundle and create a Gitea Release. Production `planet-release-deploy` inspects Git tags + OCI `release-manifest:<tag>` directly (with fallback to Gitea Releases for legacy tags) so server-only and OCI hotfix releases roll out cleanly.
- Docs/harness-only changes do not trigger production rollouts.
- **Production Deployment Gate (`发版 ≠ 已部署`)**: `scripts/release_publish.py` only publishes container images, OCI `release-manifest:<tag>`, and optional Gitea Releases; it never updates host-resident files or verifies live rollout. Whenever the user asks to `部署`, `发版部署`, or `上线`:
1. Inspect `git diff --name-only <prev_tag>..<tag>` for host-managed files not auto-updated by `planet-release-deploy.timer` (`scripts/production_deploy.py`, `scripts/production_registry.py`, `scripts/release_publish.py`, `deploy/systemd/*`, `docker-compose.deploy.yml`, `deploy/nginx/*`). If any changed, sync them onto the production host **before** rollout or `--retry` so stale host verification rules (e.g., anonymous polling hitting newly protected endpoints) cannot trigger false-positive rollbacks.