Skip to content

Phase 3: versioned access UX + file-removed tombstones #497

Closed

Description

@neuromechanist

Part of epic #449. Polish layer on top of Phase 1.

Scope

  • Version picker in HTML index pages (dropdown or sibling links)
  • Sitemap-style listing at https://data.nemar.org/:datasetId/ (all published versions)
  • /latest resolves to canonical version (already in Phase 1; this phase polishes the UX presentation)
  • Tombstone / file-removed indication: when a path exists in an older version but not in the requested version, return a structured 404:
    • JSON: { status: 404, reason: "removed", last_seen_version: "v1.0.0", last_seen_url: "https://data.nemar.org/nm000103/v1.0.0/..." }
    • HTML: friendly 404 page with link to the last version where the file existed
    • HTML index pages: "Files removed since v1.0.0" footer when relevant

Out of scope

  • 0-byte S3 placeholders with x-amz-website-redirect-location for s3://nemar/.../dataset/vX.Y.Z/ — explicitly deferred per epic body

Test plan

  • Unit: 404 routing distinguishes "version unpublished" (manifest missing) from "file removed" (manifest present, path absent)
  • E2E: nm099999 with v1 containing sub-99/, v2 dropping it; request v2 path -> structured 404 with last_seen_version: v1

Activity

  1. added a commit that references this issue on May 15, 2026
    b3edd29
  2. neuromechanist commented on May 15, 2026

    @neuromechanist
    ContributorAuthor

    Shipped in PR #505 (squash-merged on epic branch at b3edd29). Closed when epic merged to dev in PR #507 (e101294).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions