Anchor time filters to shared dataset coverage - #44
Open
raederhans wants to merge 1 commit into
Open
Conversation
Live CARTO coverage can advance into a new month before the validated tract snapshot. Preserve the live maximum for provenance, but anchor defaults and recent presets to the latest date shared with the snapshot; never substitute the wall clock while coverage is unavailable. Constraint: Existing valid shared URLs remain usable within live coverage. Rejected: Replace coverageMax with the snapshot maximum | this would understate live API coverage and reject valid live-only windows. Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep windowAnchorMax separate from coverageMax when adding data sources. Tested: VITE_FEATURE_DIARY=1 VITE_TRACT_CRIME_SNAPSHOT=1 npm run validate; npm run test:browser-smoke; npm audit --audit-level=high
This was referenced Aug 3, 2026
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.
Summary
Verification
Evidence
Live coverage was 2006-01-01 through 2026-08-02 while the shipped tract snapshot covers 2025-08-01 through 2026-08-01. The browser regression now proves the default remains 2025-08 instead of drifting to 2025-09 when live coverage crosses the month boundary.