fix(core,admin-template): GC 스케줄 허용목록 동기 + 스토리지 잔존물 GC 신설 + 스케줄 모달 저장 회귀 수정

공개 후속 전수 조사의 실작업:
- attachments:prune-orphans 관리자 예약 허용목록 등재 + 가드 테스트 도출 규칙을
 런타임 validator 와 일치 (옵션 포함 키는 영원히 매칭되지 않는 죽은 항목)
- layout-previews:cleanup 을 gc-schedules 가드 구간으로 편입 (+onOneServer)
- storage:prune-leftovers 신설: 중단된 업데이트/설치의 _pending 스테이징·코어 임시·
 vendor 스테이징(3일)과 오래된 백업(30일, 최신 1개 상시 보존), 레거시 browser.log 회수
 — 산출물 누적 + 회수 경로 부재( 동형) 7건 해소
- 언어팩 설치 임시 디렉토리 정리를 finally 로 이동 (설치 성공 시 100% 누수)
- 브라우저 콘솔 로그를 daily(7일) 로테이션으로 전환 (단일 파일 989MB 실측)
- 검수 중 발견한 스케줄 등록/수정 모달 저장 불능 수정 (Form id 부재 + 커스텀
 Select/Toggle 값 미전송) + 동형 재발 차단 audit 룰 2종 신설
This commit is contained in:
HeuJung committed 2026-08-17 15:17:20 +09:00
1 parent db49e8b9b8
commit febffb173e
21 files changed
+1185 -29

No files matched your search

@@ -86,7 +86,7 @@ exports[`BindingShape 라우팅 diff 하네스 > 단일 바인딩 판정: greedy
]
`;
exports[`BindingShape 라우팅 diff 하네스 > 단일 바인딩 판정: 구 정규식과 신 정본이 갈리는 총량 1`] = `471`;
exports[`BindingShape 라우팅 diff 하네스 > 단일 바인딩 판정: 구 정규식과 신 정본이 갈리는 총량 1`] = `476`;
exports[`BindingShape 라우팅 diff 하네스 > 판정이 갈리는 식의 분류별 건수 요약 1`] = `
{
@@ -254,6 +254,7 @@ exports[`BindingShape 라우팅 diff 하네스 > 표현식/경로 판정: 구
"modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_shipping_policy_list/_partial_datagrid.json",
"modules/_bundled/sirsoft-page/resources/layouts/admin/admin_page_form.json",
"modules/_bundled/sirsoft-page/resources/layouts/admin/admin_page_list.json",
"plugins/_bundled/sirsoft-ckeditor5/resources/layouts/admin/ckeditor5_uploads.json",
"plugins/_bundled/sirsoft-gdpr/resources/layouts/admin/gdpr_consent_log.json",
"templates/_bundled/sirsoft-admin_basic/layouts/_admin_base.json",
"templates/_bundled/sirsoft-admin_basic/layouts/admin_module_list.json",
@@ -373,6 +374,7 @@ exports[`BindingShape 라우팅 diff 하네스 > 표현식/경로 판정: 구
"modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_product_list/_partial_product_datagrid.json",
"modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_shipping_policy_list/_partial_datagrid.json",
"modules/_bundled/sirsoft-page/resources/layouts/admin/admin_page_list.json",
"plugins/_bundled/sirsoft-ckeditor5/resources/layouts/admin/ckeditor5_uploads.json",
"templates/_bundled/sirsoft-admin_basic/layouts/admin_user_list.json",
"templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_activity_log_list/_partial_datagrid.json",
"templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_notification_log_list/_partial_datagrid.json",
+12
View File
@@ -1090,6 +1090,18 @@ if (isset($_GET['ajax_action'])) {
<span>고아 첨부 정리 (미리보기)</span>
<span class="text-[10px] opacity-60">(attachments:prune-orphans --dry-run)</span>
</button>
<button onclick="runCommand('attachments:prune-orphans')" class="inline-flex items-center gap-1.5 px-3 py-2 bg-amber-600 hover:bg-amber-700 text-white text-xs font-medium rounded transition-colors">
<span>고아 첨부 정리 (실삭제)</span>
<span class="text-[10px] opacity-60">(attachments:prune-orphans)</span>
</button>
<button onclick="runCommand('storage:prune-leftovers --dry-run')" class="inline-flex items-center gap-1.5 px-3 py-2 bg-amber-600 hover:bg-amber-700 text-white text-xs font-medium rounded transition-colors">
<span>스토리지 잔존물 정리 (미리보기)</span>
<span class="text-[10px] opacity-60">(storage:prune-leftovers --dry-run)</span>
</button>
<button onclick="runCommand('storage:prune-leftovers')" class="inline-flex items-center gap-1.5 px-3 py-2 bg-amber-600 hover:bg-amber-700 text-white text-xs font-medium rounded transition-colors">
<span>스토리지 잔존물 정리 (실행)</span>
<span class="text-[10px] opacity-60">(storage:prune-leftovers)</span>
</button>
<button onclick="runCommand('identity:expire-challenges')" class="inline-flex items-center gap-1.5 px-3 py-2 bg-amber-600 hover:bg-amber-700 text-white text-xs font-medium rounded transition-colors">
<span>본인인증 challenge 만료 처리</span>
<span class="text-[10px] opacity-60">(identity:expire-challenges)</span>