fix(core): root 프로세스의 terminating 정적 게시를 웹 자가 치유로 위임
sudo 코어 업데이트(7.0.9→7.0.10 실서버)에서 자식 프로세스(신코드, root)의 terminating 게시가 소유권 복원 이후 시점에 실행되며 캐시 락 샤드 디렉토리 (storage/framework/cache/data/xx)와 병합 번들(storage/app/ext-bundles)을 root 소유로 남겼고, 이후 웹 프로세스의 캐시 쓰기가 그 샤드에 해시되는 순간 Permission denied 로 죽어 전면 500 이 됐다 (laravel.log 무기록 — 로거 도달 전). normalizeOwnership 은 게시 트리(build/ext)만 다뤘다 — 게시의 간접 write-set (캐시 락·번들 빌드)이 사각이었다. 뒤쫓아 chown 하는 대신 root 프로세스에서는 terminating 자동 게시를 예약하지 않고 다음 웹 렌더의 자가 치유(웹 계정)에 위임한다. 명시적 ext-static:publish 는 게이트 밖(운영자 책임 — 규정 §6). - 시나리오 매니페스트에 process_user(web/root_cli) 축 신설 — uid 조합 실측 부재가 이 결함을 통과시킨 구조적 원인 (기존 마커 전수에 web 부여) - red 소급 증빙: 게이트 부재 커밋본에서 신규 케이스 실패 확인 → 15/15 green
This commit is contained in:
1 parent
5ba7a83597
commit
0bb33e3baa
9 files changed
+98
-17
No files matched your search
@@ -6,7 +6,7 @@
|
||||
* ~500KB 중복 / 부트 ~1.3s 연장이 발생했다. blade 주입 cache_version 시드가
|
||||
* 이를 제거했음을 실브라우저에서 잠근다.
|
||||
*
|
||||
* @scenario publish_state=published, environment=production, trigger=lifecycle
|
||||
* @scenario publish_state=published, environment=production, trigger=lifecycle, process_user=web
|
||||
* @effects no_duplicate_boot_requests, versioned_boot_urls
|
||||
*/
|
||||
import { test, expect, type Page } from '@playwright/test';
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* env 가드 — 대상 사이트가 정적 게시 미적용(비프로덕션/kill-switch/미게시)이면
|
||||
* staticBase 미주입으로 skip 된다 (첫 방문이 자가 치유를 예약하므로 워밍 1회 수행).
|
||||
*
|
||||
* @scenario publish_state=partial, environment=production, trigger=self_heal
|
||||
* @scenario publish_state=partial, environment=production, trigger=self_heal, process_user=web
|
||||
* @effects static_first_fetch_falls_back_to_api_on_miss, fallback_is_observable_via_console_warn
|
||||
*/
|
||||
import { test, expect, type Page } from '@playwright/test';
|
||||
@@ -33,7 +33,7 @@ async function probeStaticBase(page: Page): Promise<string | null> {
|
||||
|
||||
test.describe('정적 게시 fast path + 폴백 (#122)', () => {
|
||||
/**
|
||||
* @scenario publish_state=published, environment=production, trigger=self_heal
|
||||
* @scenario publish_state=published, environment=production, trigger=self_heal, process_user=web
|
||||
* @effects versioned_boot_urls
|
||||
*/
|
||||
test('@smoke 정적 URL 로 부트 리소스를 수신한다 (static-first)', async ({ page }) => {
|
||||
|
||||
Reference in new issue
Block a user