Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
oven: fix grab 500 'Cannot set properties of undefined (setting status)' master
grabPiece() re-fetched its tracking record via activeGrabs.get(grabId) at the capturing/encoding/complete transitions. If the map entry was evicted mid- capture (cleanupStaleGrabs / clearAllActiveGrabs / dedup), get() returned undefined and `.status =` threw, surfacing as an HTTP 500 from /grab. The keep flow then fell back to using the HTML artifact as the thumbnail, which an <img> can't render — blank thumbnails in the prepared-artifacts window. Hold a stable local grabRecord reference and use it for all status/field writes so capture completes regardless of map mutation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author prompt.ac/@jeffrey Co-author Claude Opus 4.8 Date (Jun 17, 2026, 1:38 AM UTC) Commit f973c6a7 f973c6a71b601a81b18de65abd54efb0cab02437 Parent 70ea8f5c 70ea8f5c149bad2e6991284acf049726bdbf88c9