Skip to content

Release copied rich text on source and file transitions - #188

Merged
zzwong merged 1 commit into
mainfrom
dot/rich-cache-lifetime
Nov 8, 2026
Merged

zzwong merged 1 commit into
mainfrom
dot/rich-cache-lifetime

Conversation

@zzwong

@zzwong zzwong commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Scope

Refs #71. RichCache owns copied prose independently of Snapshot. Source installation now invalidates it; changing files invalidates a cache whose snapshot/file differs while same-file selection preserves cached list state. Exactly three UI files, including the headless regression file; the earlier synthetic ownership probe is excluded.

Verification

Independent review clear. Two actual Workbench headless lifecycle tests pass: real rich rendering, source/file transition, replacement frames and weak payload ownership; same-file selection retains cache identity. UI lib/tests Clippy -D warnings, formatting and diff checks pass. Tests use offline services and GPUI TestAppContext, not a native GUI backend.

Limits

This addresses one bounded copied-text lifetime, not the historical cumulative growth or all of #71. No native RSS, GPU, M4, frame-pacing or speedup measurement. Revisiting rich content rebuilds its cache; native performance remains unqualified.

@zzwong
zzwong force-pushed the dot/rich-cache-lifetime branch from 79a32c0 to c21a173 Compare November 8, 2026 06:15
@zzwong
zzwong marked this pull request as ready for review November 8, 2026 06:30
@zzwong
zzwong merged commit 1275a96 into main Nov 8, 2026
11 checks passed
@zzwong
zzwong deleted the dot/rich-cache-lifetime branch November 8, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant