feat(seo): 사이트맵 재생성 알림·폴링 폴백 + 코어 7.0.6 확정
이슈 후속(S7) 마감 + 릴리스 버전 확정. 기능(S7): - 사이트맵 전체 재생성 완료/실패 시 실행 관리자에게 알림(수동 실행 한정). 스케줄러·증분·봇 재생성은 알림 없음(triggered_by 부재 시 skip). - 최종 실패 전용 알림 + 재생성 전용 큐 + WS 진행상황 payload 봉투 정정. - Reverb OFF 폴링 폴백 경로 수정(실브라우저 폴링에서만 드러난 결함). 버전(D28 — 정정, D20 번복): - 릴리스를 7.0.5→7.0.6(patch)로 확정. 7.1.0(minor)은 다른 브랜치에서 별도 진행. - config/app.php + .env + README + INSTALL + CHANGELOG + 모듈 3 requires 를 7.0.6 로. - D19 SEO 캐시 이행 업그레이드 스텝을 Upgrade_7_0_6 로 리네임. 이유: 스텝 버전 게이팅이 version<=toVersion 이라, 7.1.0 이름이면 7.0.5→7.0.6 업그레이드에서 이행이 실행되지 않는다. 검증: composer test-smoke OK(2·29) · 재생성 알림/업그레이드 이행/진행상황 테스트 green · version-sync/version-bump(new-bump)/extension-require green · audit 0 error.
This commit is contained in:
1 parent
3dd34104cc
commit
124433148c
35 files changed
+698
-53
No files matched your search
+10
@@ -59,6 +59,13 @@ describe('admin_settings — sitemap 진행상황 데이터소스', () => {
|
||||
expect(start!.if).toContain('queued');
|
||||
expect(start!.if).toContain('running');
|
||||
expect(start!.if).toContain('writing');
|
||||
// onSuccess 조건은 방금 받은 응답(response.data)을 봐야 한다. 명명 소스(sitemap_status)는
|
||||
// onSuccess 실행 시점엔 아직 이전 렌더의 값(stale)이라, 재생성 직후(queued)에도 폴링이
|
||||
// 시작되지 않는 회귀가 발생한다(Reverb OFF 폴백 붕괴). 신선한 response 로 게이트해야 한다.
|
||||
// onSuccess 의 response.data 는 응답 봉투 전체({success,message,data}) 이므로 progress 는
|
||||
// response.data.data.progress (double .data) 다. 한 단계 부족하면 undefined → 폴링 미시작.
|
||||
expect(start!.if).toContain('response?.data?.data?.progress?.status');
|
||||
expect(start!.if).not.toContain('sitemap_status?.data?.progress?.status');
|
||||
// 폴링 액션은 sitemap_status 재조회
|
||||
const refetch = (start!.params.actions as AnyJson[])[0];
|
||||
expect(refetch.handler).toBe('refetchDataSource');
|
||||
@@ -73,6 +80,9 @@ describe('admin_settings — sitemap 진행상황 데이터소스', () => {
|
||||
expect(stop).toBeTruthy();
|
||||
expect(stop!.if).toContain('completed');
|
||||
expect(stop!.if).toContain('failed');
|
||||
// startInterval 과 동일하게 신선한 response(double .data) 로 게이트 (stale 명명 소스 금지)
|
||||
expect(stop!.if).toContain('response?.data?.data?.progress?.status');
|
||||
expect(stop!.if).not.toContain('sitemap_status?.data?.progress?.status');
|
||||
expect(stop!.params.id).toBe('sitemap_progress_poll');
|
||||
});
|
||||
|
||||
|
||||
@@ -285,7 +285,7 @@
|
||||
"onSuccess": [
|
||||
{
|
||||
"handler": "startInterval",
|
||||
"if": "{{sitemap_status?.data?.realtime_enabled !== true && ['queued','running','writing'].includes(sitemap_status?.data?.progress?.status ?? '')}}",
|
||||
"if": "{{response?.data?.data?.realtime_enabled !== true && ['queued','running','writing'].includes(response?.data?.data?.progress?.status ?? '')}}",
|
||||
"params": {
|
||||
"id": "sitemap_progress_poll",
|
||||
"intervalMs": 3000,
|
||||
@@ -301,7 +301,7 @@
|
||||
},
|
||||
{
|
||||
"handler": "stopInterval",
|
||||
"if": "{{['completed','failed'].includes(sitemap_status?.data?.progress?.status ?? '')}}",
|
||||
"if": "{{['completed','failed'].includes(response?.data?.data?.progress?.status ?? '')}}",
|
||||
"params": {
|
||||
"id": "sitemap_progress_poll"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user