Repository navigation
app/: retention, proof upload and archive path follow-ups to #81 (sc-8900) - #84
Merged
Merged
Conversation
…day keeps its overlay (diffs.used_at); registering renews a blob, which isn't marked for a day after; a marked blob something names again is kept; and no deleting mark outlives its run (cleared after each batch and at the start of a run)
…ngth), so it takes exactly that many bytes
… its own: a snapshot named like another's page (x/page-2) or file (x/head.png) is suffixed ~2
…mes as a page image, checked again under the row's lock
ndbroadbent
force-pushed
the
laravel-render
branch
from
December 2, 2026 16:05
191c747 to
d87e621
Compare
ndbroadbent
force-pushed
the
laravel-render-followups
branch
from
December 2, 2026 16:05
221a982 to
ba48805
Compare
VisualCIdocspring/visualci · build #325 · 331 unchanged · no changes This PR vs base: nothing since #313, across 2 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-ups to #81's review (sc-8900). Based on
laravel-render.Retention vs diff overlays.
diffs.used_atis set when a comparison reuses a cached diff (diffs::find_or_compute, at most hourly).No stale
deletingmarks.updated_at(at most hourly). Retention doesn't mark a blob registered in the last day, so a registration that answers "already uploaded" just before a prune is safe.Proof upload size. A render's proof URL signs
Content-Lengthwith the size declared in its uploads entry, so it takes exactly that many bytes. RustFS refuses a larger body, and a test checks it.Archive paths. Every snapshot and page directory gets one of its own. A snapshot named like another's page (
x/page-2) or another's file (x/head.png) is suffixed~2, either way round. The manifest names each snapshot's paths.Tests:
a_recently_reused_diff_keeps_its_overlayandno_deleting_mark_outlives_its_pruneintests/retention.rs, the proof size check intests/renderer.rs, and unit tests for the archive layout. The full app suite passes with--lockedon docspring-dev, excepttests/sign_in.rs's OAuth discovery test, which waits on #58. clippy and fmt are clean.