Commit 68b3eb7
committed
Include marginalia modules in HTML cache version digest
Editing src/marginalia.py (figure registry, attachments) or
src/marginalia_grammar.py (Canvas grammar) changes runtime HTML output,
but they were absent from html_version()'s content_paths. The Worker's
in-memory HTML cache would serve stale figures after a deploy. Add both
files to the digest so the cache version moves whenever either changes.
Verified: a probe edit to src/marginalia.py now flips HTML_CACHE_VERSION;
removing the probe restores it.
https://claude.ai/code/session_01MazwoRWAihW6dwso3fMCHE1 parent 7f29652 commit 68b3eb7
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments