Back to notes
The Tesseract MemoryTechnical note

Validate the newest snapshot, not the newest valid one

Selecting the latest record before checking it keeps a broken producer update visible instead of covering it with an older passing result.

Topics

An older result can hide a new failure

A source can return several snapshots with the same identity. If the dashboard validates them all and chooses the newest one that passes, its page can look healthy while the producer's latest update is broken.

The model chooses first. It sorts by the time the data describes, falling back to generation time, and sends only the newest record for each identity to validation. A failure in that record remains a visible problem instead of triggering a quiet search for older data.

Separate an old payload from a broken one

Validation checks the supported version, expected fields, required capabilities and canonical payload digest. An unknown version is incompatible. Malformed content, a changed digest, an invalid consumer time or a snapshot apparently generated in the future needs review.

An otherwise valid payload that has expired is stale and can remain labelled on screen. An invalid snapshot has no accepted payload. Each source retains its own status, reason and refresh error, so a failure in one service doesn't erase a usable result from the other.

Test the selection order, not just the validator

The model test supplies an older valid snapshot beside a newer malformed one. It expects review status and no accepted payload for that identity. Other definitions cover missing sources, expired data, changed digests and future timestamps. These checks were inspected, not rerun against live data.

The browser receives the combined response rather than opening either database. A new snapshot version can require a consumer update, but private table changes don't have to become frontend changes.

Newest-record acceptance and failure visibility

Deduplication precedes validation; older records do not rescue an invalid latest snapshot.

Direct callResponse / returnBlocked / denied
Producer records
Acceptance
View state

Scroll or drag the background to move. Use the zoom buttons to resize.Arrow keys move between components. Enter selects.

Choose a component to explore

Select a numbered component on the map or use the component menu. Its details and connections will appear here.

No component selected.

All connections (9)
  1. 01 · Snapshot candidates02 · Choose newest per identitycandidate set · Direct call
  2. 02 · Choose newest per identity03 · Older duplicatediscard duplicate · Blocked / denied
  3. 02 · Choose newest per identity04 · Contract and capabilitiesselected newest · Direct call
  4. 04 · Contract and capabilities06 · No accepted payloadunknown or malformed · Blocked / denied
  5. 04 · Contract and capabilities05 · Digest and time validitysupported shape · Direct call
  6. 05 · Digest and time validity06 · No accepted payloaddigest or timestamp failure · Blocked / denied
  7. 05 · Digest and time validity07 · Within validity interval?valid content · Direct call
  8. 07 · Within validity interval?08 · STALEexpired · Response / return
  9. 07 · Within validity interval?09 · CURRENTnot expired · Response / return