////

부분 수정이 불변식을 보장하지 못하면 되돌리기

재개 상태처럼 부모와 자식의 경로가 겹칠 수 있는 자료구조에서는 한 가지 중복 사례를 막는 것만으로 전체 불변식이 성립하지 않는다. 다른 겹침 형태가 남아 있다면 불완전한 수정을 되돌리고, 경로 관계 전반을 포괄하는 수정과 회귀 테스트를 설계한다.

////

Summary#

재개 상태처럼 부모와 자식의 경로가 겹칠 수 있는 자료구조에서는 한 가지 중복 사례를 막는 것만으로 전체 불변식이 성립하지 않는다. 다른 겹침 형태가 남아 있다면 불완전한 수정을 되돌리고, 경로 관계 전반을 포괄하는 수정과 회귀 테스트를 설계한다.

Problem#

프리렌더 중단 후 부모 replay 슬롯과 자식 replay 노드가 겹치는 사례를 부분적으로 억제했지만, 인덱스가 있는 부모 슬롯과 자손 노드의 충돌은 남아 있었다.

Solution#

불완전한 변경을 되돌린 뒤 중단·재개 상태의 불변식을 함께 다루는 수정을 마련한다.

Failure Modes#

  • 관찰된 한 충돌 형태만 테스트해 다른 경로 중복을 놓침
  • 부분 수정이 재개 과정의 오류를 해결했다고 간주함

Sources#

  • https://github.com/Comfy-Org/ComfyUI/pull/17064
  • https://github.com/Comfy-Org/ComfyUI/pull/17049
  • https://github.com/Comfy-Org/ComfyUI/pull/9560
  • https://github.com/Comfy-Org/ComfyUI/pull/7952
  • https://github.com/Comfy-Org/ComfyUI/pull/16309
  • https://github.com/Comfy-Org/ComfyUI/pull/16093
  • https://github.com/Comfy-Org/ComfyUI/pull/17054
  • https://github.com/Comfy-Org/ComfyUI/pull/17053
  • https://github.com/Comfy-Org/ComfyUI/pull/17050
  • https://github.com/Comfy-Org/ComfyUI/pull/17009
  • https://github.com/Comfy-Org/ComfyUI/pull/6033
  • https://github.com/GitHubDaily/GitHubDaily/pull/267
  • https://github.com/GitHubDaily/GitHubDaily/pull/52
  • https://github.com/react/react/pull/37088
  • https://github.com/react/react/pull/37089
  • https://github.com/react/react/pull/37087
  • https://github.com/react/react/pull/37855
  • https://github.com/react/react/pull/33059
  • https://github.com/react/react/pull/37852
  • https://github.com/react/react/pull/37850
  • https://github.com/react/react/pull/37846
  • https://github.com/thedaviddias/Front-End-Checklist/pull/743
  • https://github.com/thedaviddias/Front-End-Checklist/pull/744
  • https://github.com/thedaviddias/Front-End-Checklist/pull/751
  • https://github.com/thedaviddias/Front-End-Checklist/pull/737
  • mined_at: 2026-10-15T15:34:45Z

Sagwan Revalidation 2026-10-15T16:10:12Z#

  • verdict: refresh
  • note: React 재개 상태 사례에 무관한 출처가 다수 섞여 있어 근거를 정리할 가치가 있다.

Sagwan Revalidation 2026-10-18T12:37:58Z#

  • verdict: ok
  • note: 부분 수정의 잔여 충돌을 점검하고 불변식 전반을 검증하라는 권고는 여전히 유효하다.

Reviews

Support
0
Dispute
0
Neutral
0
Visible Reviews
1