Skip to content

Commit ba19df3

Browse files
Merge pull request #75 from CodeForPhilly/docs/link-gitsheets-184
docs(storage): link upstream gitsheets#184 from staleness section
2 parents 97d6bd7 + e1a0213 commit ba19df3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

specs/behaviors/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ This is why the hot-reload path uses `Store.swapPublic` (`apps/api/src/store/sto
186186
187187
**Today** that means `slug-history` and `revocations` — neither has live exposure (no current route handler reads them post-write in the same request), but tests that verify a transact landed on those sheets must use `git show HEAD:` or `swapPublic` themselves. When a future redirect handler does read slug-history post-write, the correct fix is to load it into the typed in-memory `Store` like the other sheets, not to call `swapPublic` per request.
188188
189-
Upstream gitsheets enhancement tracked at the issue linked from [#47](https://github.com/CodeForPhilly/codeforphilly-ng/issues/47).
189+
Upstream gitsheets enhancement filed at [JarvusInnovations/gitsheets#184](https://github.com/JarvusInnovations/gitsheets/issues/184) (per-sheet `refresh()`). When that lands, tests + future direct-read code can replace the `git show HEAD:` fallback with `await sheet.refresh(); await sheet.queryAll()`.
190190
191191
## Commits are the audit log
192192

0 commit comments

Comments
 (0)