fix(deploy): review fixes — smoke photoId field, web healthcheck wget, outbox table name, cdn key shape
Reviewer findings on p5-prep batch:
1. BLOCKING: prod-smoke.sh visibility grep used "id" but API items
serialize photoId (cn public.service / ov public-ov.service) — every
healthy deployment would false-FAIL release gate ④. 4 sites fixed.
2. web/web-ov healthchecks used curl on nginx:alpine (absent) → perpetual
false-unhealthy; switched to busybox wget.
3. RUNBOOK rollback rule cited nonexistent sync_outbox → outbox_events.
4. cdn-checklist invalidation sample key shape aligned to actual
variantsObjectKey layout (.../albums/{albumId}/variants/{photoId}/{version}/{variant}.jpg).
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -95,8 +95,8 @@
|
||||
# 多 URL 用换行分隔(RefreshObjectCatches/PreloadObjectCaches 的 ObjectPath 约定)
|
||||
aliyun cdn RefreshObjectCaches \
|
||||
--ObjectPath "$(printf '%s\n%s' \
|
||||
'https://<图片域名>/variants/thumb/<photoId>/<版本>.webp' \
|
||||
'https://<图片域名>/variants/browse/<photoId>/<版本>.webp')" \
|
||||
'https://<图片域名>/photo-live/prod/albums/<albumId>/variants/<photoId>/<version>/thumb.jpg' \
|
||||
'https://<图片域名>/photo-live/prod/albums/<albumId>/variants/<photoId>/<version>/browse.jpg')" \
|
||||
--ObjectType File
|
||||
|
||||
# 新活动发布 → 预热首页与首屏静态资源(viewer 域名,降低冷缓存首访时延)
|
||||
|
||||
Reference in New Issue
Block a user