Repository navigation
Conversation
- `MeshMeta` resolves `dir`, `initial_mesh_dir` and `dynamic_mesh_dir` from `custom_data["mesh"]`; either mesh dir may be a cloud URL. - Setup writes the shard spec and the mesh block, never the watershed's info. - `dataset_info` and the graphene info take mesh keys from the mesh block alone. Co-Authored-By: Claude <noreply@anthropic.com>
- Stitching, remeshing and find-path read node meshes through `NodeMeshReader`, from `initial_path` and `dynamic_path`. - The manifest's shard readers resolve `initial_path` through `shard_mesh_source`, a cloud-URL dir included. - `remeshing()` drops `cv_sharded_mesh_dir`; its callers pass `MeshMeta`'s values. Co-Authored-By: Claude <noreply@anthropic.com>
akhileshh
force-pushed
the
meshing-v2-pcgv3
branch
from
November 11, 2026 03:41
ea50693 to
7e8b062
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## pcgv3 #551 +/- ##
==========================================
+ Coverage 67.51% 67.64% +0.13%
==========================================
Files 89 89
Lines 8643 8629 -14
Branches 1149 1148 -1
==========================================
+ Hits 5835 5837 +2
+ Misses 2619 2604 -15
+ Partials 189 188 -1
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
akhileshh
force-pushed
the
meshing-v2-pcgv3
branch
from
November 16, 2026 00:00
816c573 to
fe494ae
Compare
- `Accept: application/x.cave;manifest_version=2` gets fragments grouped by absolute bucket, with one seg id per row. - A v1 request for a table that `needs_v2` gets `406`, naming the v2 header; responses carry `Vary: Accept` and `X-Manifest-Version`. - Manifest flags merge the query string and the body through `_flag`. Co-Authored-By: Claude <noreply@anthropic.com>
- `MeshMeta.spec_dir` names the spec's dir, the parent of `initial_path`; `reader_anchor` derives from it. - `verify=0` builds its shard readers through `shard_mesh_source`. - The remesh worker looks for the spec in `spec_dir`, so a table whose watershed lives elsewhere still remeshes. Co-Authored-By: Claude <noreply@anthropic.com>
- `setup_mesh_meta` merges its seven keys over the existing block, so `initial_mesh_dir` and other keys survive a re-run. - The shard spec is written in `MeshMeta.spec_dir`, beside the initial meshes, never under a watershed that holds none. Co-Authored-By: Claude <noreply@anthropic.com>
- ChunkedGraphMeta.repoint_watershed pins the mesh block first - it rebuilds the meta, so nothing read at the old watershed survives - it persists nothing; ChunkedGraph.update_meta saves it - ws_cv, the watershed info and the OCDBT settings drop the Redis cache Co-Authored-By: Claude <noreply@anthropic.com>
- A copy keeps its source's initial meshes, writes its own dynamic dir and inherits the source's. - A new node's creation time hints at its dir; a miss searches the own dir, then inherited ones. - This replaces the rewrite that gave a copy private or graph-suffixed mesh dirs. Co-Authored-By: Claude <noreply@anthropic.com>
- A copy's restored id counters reuse its source's ids, so an older dir may hold another node's mesh. - A miss now searches the own dir and the inherited dirs newer than the hint. - The copy's block is built beside its layer record, and its dir name has one home. Co-Authored-By: Claude <noreply@anthropic.com>
- Publish the dynamic dir relative to the mesh root when it lies there. - Share one whole-segment test of the mesh root with `needs_v2`. - Refuse v1 for a sibling dir that only shares the root's prefix. Co-Authored-By: Claude <noreply@anthropic.com>
akhileshh
force-pushed
the
meshing-v2-pcgv3
branch
from
November 19, 2026 15:54
41c3249 to
efce963
Compare
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.
Why
A table's watershed can live in a different location from its meshes, and that location holds no meshes.
PCG looked for every mesh under
<watershed>/<mesh dir>, so such a table lost its meshes in the manifest, stitching, remeshing and find-path.A copy of a table also lost its source's edited meshes, and under the default layout its initial meshes as well.
What changes
MeshMetareadsdir,initial_mesh_diranddynamic_mesh_dirfromcustom_data["mesh"]; the last two may be absolute cloud URLs.infois no longer written, anddataset_infono longer takes mesh keys from it.infopublishes the table's mesh keys.mesh_dir,dynamic_mesh_dir, andmesh_metadatawith the absolute initial and dynamic paths.dynamic_mesh_dirandmesh_metadata.unsharded_mesh_dirname the dynamic dir relative to<watershed>/<mesh dir>whenever it lies there, so a table repointed onto its own watershed, or away and back, stays readable by v1 clients.initial_pathand dynamic meshes fromdynamic_path; both manifest modes and the remesh worker read the shard spec beside the initial meshes.Accept: application/x.cave;manifest_version=2. Fragments are grouped by their absolute bucket, and every row carries exactly one seg id.<watershed>/<mesh dir>gets406, naming the v2 header; "outside" compares whole path segments, so a sibling such as<mesh dir>_v2counts as outside.ChunkedGraphMeta.repoint_watershedpins the mesh block first, so the meshes stay where they are; save the meta withChunkedGraph.update_meta.ws_cv, the watershed info and the OCDBT settings read the watershed directly, with no Redis cache.Table copies
dynamic_<copy id>.inherited_dynamic.Compatibility
inherited_dynamicreads exactly as before.Vary: AcceptandX-Manifest-Version.meshgen.remeshing()no longer takescv_sharded_mesh_dir.<dir>_<copy id>or a shared-initial layout on its first open; it reads its source's meshes as above.🤖 Generated with Claude Code