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
@@ -223,7 +223,7 @@ class AssetUrlTest extends TestCase
|
||||
* 정적 게이트 3조건 — 프로덕션 + enabled + 게시 완료(manifest) 를 전부
|
||||
* 통과해야만 base 가 반환된다.
|
||||
*
|
||||
* @scenario publish_state=unpublished, environment=production, trigger=self_heal
|
||||
* @scenario publish_state=unpublished, environment=production, trigger=self_heal, process_user=web
|
||||
*
|
||||
* @effects static_gate_requires_manifest, kill_switch_disables_publish_and_gate
|
||||
*/
|
||||
@@ -261,7 +261,7 @@ class AssetUrlTest extends TestCase
|
||||
* 태그 계층 파일 단위 게이트 — manifest 는 있어도 그 자산의 실파일이 없으면
|
||||
* 그 자산만 종전 API URL 로 방출된다 (나머지는 정적 URL).
|
||||
*
|
||||
* @scenario publish_state=partial, environment=production, trigger=manual_command
|
||||
* @scenario publish_state=partial, environment=production, trigger=manual_command, process_user=web
|
||||
*
|
||||
* @effects tag_layer_checks_individual_file_existence
|
||||
*/
|
||||
@@ -373,7 +373,7 @@ class AssetUrlTest extends TestCase
|
||||
/**
|
||||
* base null(게이트 미통과) 이면 기존 URL 과 바이트 동일해야 한다 (호출부 무변경 계약).
|
||||
*
|
||||
* @scenario publish_state=unpublished, environment=dev, trigger=kill_switch
|
||||
* @scenario publish_state=unpublished, environment=dev, trigger=kill_switch, process_user=web
|
||||
*/
|
||||
public function test_게이트_미통과시_종전_ur_l_바이트_동일(): void
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user