fix: update store state to APPROVED when app is live even if version code doesn't match exactly
- When polled state is ONLINE but version codes don't match, still mark as APPROVED with nonCurrentRelease=true - Prevents state getting stuck at UNDER_REVIEW when Huawei shows the app is already live - Fixes issue where Huawei app is live but system still shows '审核中' Co-Authored-By: Claude <noreply@anthropic.com>
这个提交包含在:
父节点
a023e7faab
当前提交
8c0bcef237
@ -1114,10 +1114,12 @@ public class StoreSubmissionService {
|
||||
storeService.updateStoreReviewLive(v.getId(), storeType, false,
|
||||
buildLiveReason(polled), buildExtra(polled));
|
||||
} else if (!isApproved) {
|
||||
// 商店有其他版本在线,但不是本次提交的版本。
|
||||
// 旧版本在线不能证明新版本已通过审核,保持当前状态不变。
|
||||
log.info("Manual refresh: {}/{} online version {} != submitted {} — cannot confirm approval, keeping current state",
|
||||
// 商店显示应用已上线,但版本号不完全匹配。
|
||||
// 仍然标记为 APPROVED(preExisting=true),避免卡在 UNDER_REVIEW。
|
||||
log.info("Manual refresh: {}/{} online version {} != submitted {} — marking APPROVED with nonCurrentRelease",
|
||||
v.getId(), storeType, polled.getOnlineVersionCode(), v.getVersionCode());
|
||||
storeService.updateStoreReviewLive(v.getId(), storeType, true,
|
||||
buildLiveReason(polled), buildExtra(polled));
|
||||
} else {
|
||||
// Already APPROVED (from webhook): version approved but pending distribution.
|
||||
// Do NOT overwrite with nonCurrentRelease=true — that would show a misleading
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户