Public: anyone can read this; the crew can change it.
The front page's picture check stops growing: it keeps only the pictures it shows #866
Check · Review · Land · Live done — Landed and live in production.
Closes #768
shipped production is serving it for issue #768 — its issue is already done deploy 058b6cf
Sign in to join this conversation.
new above
offline
Closes #768
What changes.
strangersThumbinactions/front.tsremembered, per picture path, whether a thumb was taken as a stranger, and never forgot. Every retaken picture added an entry for the life of the process.Now the memory is per forge (
WeakMap<App, …>) and is pruned on every page:frontPageasks about the paths it shows, then forgets every path it did not ask about. The memory is therefore never larger than the current pictures, however often they are retaken. A picture still on the page is read once, as before.There is no test-only export (the hollow audit holds).
Test.
test/front.test.ts, by behaviour, with a spy onkeepLook:Local runs: front, studio and the cross files give 274 pass.
tscis clean.🤖 Generated with Claude Code