Skip to content

Build immutable offline global tileset pipeline - #45

Draft
Occumed79 wants to merge 2 commits into
mainfrom
rebuild/offline-global-tileset
Draft

Build immutable offline global tileset pipeline#45
Occumed79 wants to merge 2 commits into
mainfrom
rebuild/offline-global-tileset

Conversation

@Occumed79

Copy link
Copy Markdown
Owner

Summary

  • replace the active runtime gateway/Neon cache/geometry path with a fail-closed immutable PMTiles store that returns stored MVT bytes unchanged
  • keep one browser source and explicitly disable MapLibre parent/child fallback stretching
  • add a deterministic offline plan, SHA-locked input localization, layer authority normalization, exact clipping, duplicate/overlap removal, malformed/oversized/tile-footprint rejection, atomic PMTiles packing, and complete-manifest finalization
  • assign split-prefix ancestor tiles explicitly so every addressed z0-z16 tile has exactly one prebuilt owner
  • remove the external terrain source and use opaque preblended depth colors to eliminate alpha-overdraw seams
  • add mandatory static and exact-camera motion validation for footprints, vertical/horizontal seams, stretching, neighbor inconsistency, blanks, and source switching

Built validation artifact

  • artifact version: 27265b07293da7e3c593fcfa6916272a89c97e44c292c983d320f19a5c3e8629
  • size: 258,545,615 bytes
  • addressed tiles: 11,240
  • build duration: 485.117 seconds
  • 413 tile-shaped features quarantined
  • 19,896 exact duplicates removed
  • 2,934 contained overlaps removed

The artifact is a deliberately partial, representative validation fixture. Production rejects partial manifests unless the explicit validation-only override is set.

Validation

  • npm run build
  • real release owner plan: 5,782 physical owners / 2,180 logical z6 cells / 754 locked regional inputs
  • real Fresno owner enumeration: 1,106,457 exact output addresses from 2,748,048 input addresses
  • real four-tile owner PMTiles smoke build: verified, zero malformed/oversized/footprint rejections
  • 9 required static views and 30 exact-camera motion checkpoints
  • zero rectangular footprints, seams, stretched polygons, inconsistent neighbors, blank frames, source switches, page errors, or network errors
  • final screenshots inspected manually, including Pacific, antimeridian, Atlantic transition, Fresno regional, city, and street views

Remaining production-scale work

The complete 269.3 GB regional input inventory cannot fit in this workspace, so the full 5,782-owner production artifact was not built here. The checked-in pipeline and per-owner orchestration are ready for a sufficiently provisioned offline build host, and deployment remains fail-closed until every owner report is present.

No generated PMTiles artifact, downloaded input archive, or screenshot is included in this PR.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e6bcf04c-e57b-48f6-908d-d28d719c84ba

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant