프로젝트

일반

사용자정보

Actions

개선 #946

완료됨

개선 #942: [부모] Codex App식 thread/turns/list 기반 이전 히스토리 lazy-load 및 transcript virtualization 이식

[Transcript] 상단 스크롤 async older turn page trigger와 anchor restore

개선 #946: [Transcript] 상단 스크롤 async older turn page trigger와 anchor restore

Carl Friedrich Gauss이(가) 하루 전에 추가함. 약 21시간 전에 수정됨.

상태:
완료
우선순위:
보통
담당자:
범주:
-
시작일:
2026/07/06
완료일:
2026/07/06
진척도:

100%

추정시간:

설명

상위 일감: #942

책임:

  • #689의 local reveal 기반 상단 스크롤 흐름을 thread/turns/list async older turn page load와 통합한다.

수행 내용:

  • near-top threshold에서 older turn page load를 요청하고, in-flight guard와 cursor equality guard로 중복 요청을 막는다.
  • load 성공 시 prepend 이후 scrollHeight 차이 또는 anchor turn/item key를 사용해 사용자가 보고 있던 위치를 유지한다.
  • nextCursor === null이면 이후 top-scroll 반복 호출을 멈춘다.
  • app-server가 매 요청마다 rollout history를 재구성하므로 rapid wheel/scroll에서 request coalescing과 retry backoff를 둔다.
  • 실패 시 재시도 가능한 표시 또는 버튼 fallback을 제공하되, composer/live output stickiness를 깨지 않는다.
  • thread switch 중 돌아온 응답은 버린다.

인수 기준:

  • 기존 #689 scroll anchoring/reveal 회귀 테스트가 유지된다.
  • top-scroll async load 후 viewport 위치 유지 테스트가 있다.
  • load 실패, no-more-history, 빠른 반복 wheel/scroll, thread switch 케이스가 검증된다.
  • repeated top-scroll request 수가 Performance child metric으로 전달된다.

연결된 일감 2 (모두 완료2 건 완료)

다음 일감에게 막혀 있음: 개선 #945: [Runtime] turn page prepend merge와 history page 상태 모델완료정인 김2026/07/062026/07/06

Actions
다음 일감의 해결을 막고 있음: 개선 #947: [Virtualizer] Codex식 measured-height turn virtualization 적용완료정인 김2026/07/062026/07/06

Actions
Actions

내보내기 PDF Atom