Commit c5b209d
fix(webapp): use shared deserialiseMollifierSnapshot in logs download
The buffered-run placeholder branch of the logs download route parsed
the snapshot payload with raw `JSON.parse`, diverging from every other
read-side module (`RunStreamPresenter`, `syntheticRedirectInfo`, etc.)
that goes through the webapp wrapper `deserialiseMollifierSnapshot`.
The contract comment in `mollifierSnapshot.server.ts` documents the
single-deserialisation-path requirement: callers using the wrapper
won't drift if the snapshot encoding ever changes.
No behavioural change today (both end up calling `JSON.parse` under
the hood) — pure consistency fix.
Devin follow-up on PR #3757.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c2eadb3 commit c5b209d
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
| |||
0 commit comments