Commit 09144fb
ci(deploy-preview): include capture script hash in prod-screenshots cache key
The cached production screenshots survive across runs. When the capture
script changes (settle waits, scrollbar handling, crop-vs-pad, etc.), a
new run's fresh preview captures are compared against prod screenshots
taken under the old algorithm, producing asymmetric phantom diffs.
Adding the script's content hash to the cache key auto-busts the cache
on any change to capture behavior, eliminating the need for manual cache
deletion after script updates.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 82b553a commit 09144fb
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
| |||
0 commit comments