fix: preserve image atlas across patchless resolves (rebase of #1664) #2090
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.33) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 146 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.299
Real PR Conversation Timeline
1 comments
"Review active on #2090"
general
weight: 0.35
waywardmonkeys
This is #1664 by @waywardmonkeys, rebased onto
main. Fixes #1948. Fixes #1809.#1664 was approved in June but now conflicts with
main. This is the same commit, with its authorship, moved to theresearch/paths. The only changes from the original are in the regression test: the import list, and anunwrap()onget_mapped_range()for wgpu 30.A frame with no image, gradient or glyph patches makes the renderer free the persistent image atlas while the resolver still records its images as uploaded, so every later image draws transparent. This still reproduces on 0.12.0.
Testing (Apple M5, Metal):
glyph_image_brush_survives_image_free_renderfails onmainand passes here.cargo test -p vello_encoding, clippy and fmt are clean.The changelog entry is in the second commit. The third switches the test to
as_chunks, which clippy 1.99 requires.@waywardmonkeys, happy to close this if you would rather update #1664.
LLM disclosure: the rebase was done with LLM assistance and reviewed by me.