From 07e4f519a105b4f5d733fd61edd22959a5b786af Mon Sep 17 00:00:00 2001 From: linkong Date: Thu, 2 Apr 2026 11:30:51 +0800 Subject: [PATCH] fix: simplify startup readiness messaging --- VERSION | 2 +- docs/CHANGELOG.md | 18 ++++++++++++++++++ docs/version-history.md | 3 ++- frontend/package.json | 2 +- planet.sh | 2 +- 5 files changed, 23 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index eca6a4a4..6b9f278d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.22.8 +0.22.9 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9bd7f584..e77425d8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,24 @@ This project follows the repository versioning rule: - `feature` -> `+0.1.0` - `bugfix` -> `+0.0.1` +## 0.22.9 + +Released: 2026-04-02 + +### Highlights + +- Polished startup wait messaging in `planet.sh` so the script no longer shows retry counters before an actual restart attempt happens. +- Kept the service boot flow quieter during normal warm-up while preserving explicit retry feedback when a backend or frontend relaunch is really needed. + +### Improved + +- Improved [planet.sh](/home/ray/dev/linkong/planet/planet.sh) wait-state messaging by simplifying the initial readiness output to `等待服务就绪...` during health polling. +- Improved operator readability during local startup by reserving numbered retry messages for real process restart attempts instead of normal first-pass health checks. + +### Fixed + +- Fixed misleading startup output where the first health-check loop looked like an immediate retry sequence even though the service was still in its initial boot window. + ## 0.22.8 Released: 2026-04-01 diff --git a/docs/version-history.md b/docs/version-history.md index 507ba122..ff98911b 100644 --- a/docs/version-history.md +++ b/docs/version-history.md @@ -16,7 +16,7 @@ ## Current Version - `main` 当前主线历史推导到:`0.16.5` -- `dev` 当前开发分支历史推导到:`0.21.6` +- `dev` 当前开发分支历史推导到:`0.22.9` ## Timeline @@ -69,6 +69,7 @@ | `0.21.4` | bugfix | `dev` | `7ec9586f` | add Earth HUD backup snapshots and icon assets | | `0.21.5` | bugfix | `dev` | `a761dfc5` | refine Earth legend item presentation | | `0.21.6` | bugfix | `dev` | `pending` | improve Earth legend generation, info-card interactions, and HUD messaging polish | +| `0.22.9` | bugfix | `dev` | `6bfcd053` | simplify `planet.sh` readiness messaging and only show retry counts on actual restart | ## Maintenance Commits Not Counted as Version Bumps diff --git a/frontend/package.json b/frontend/package.json index 75eb6320..575bf960 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "planet-frontend", - "version": "0.22.8", + "version": "0.22.9", "private": true, "dependencies": { "@ant-design/icons": "^5.2.6", diff --git a/planet.sh b/planet.sh index dff64bfe..88b91425 100755 --- a/planet.sh +++ b/planet.sh @@ -74,7 +74,7 @@ wait_for_http() { return 0 fi - echo -e "${YELLOW}⏳ 等待${service_name}就绪 (${attempt}/${attempts})...${NC}" + echo -e "${YELLOW}⏳ 等待${service_name}就绪...${NC}" sleep "$interval" attempt=$((attempt + 1)) done