Route reconstructed pages to C++ CUDA placement - #25
Closed
FujitsuPolycom wants to merge 1 commit into
Closed
Conversation
Use the direct-file native restore function only for immutable flat snapshot objects and route reconstructed page-delta bytes to the in-memory C++/CUDA page-placement function. The two interfaces have distinct verified signatures: direct restore accepts manifest lookup and cache-root inputs; page placement accepts authenticated encoded pages and a decoded page plan. A rejected page-delta restore continues to recompute rather than serving unverified state. SparkCache wire values, digest salts, chunk geometry, and cache namespace are unchanged; deployment source receipts are rebound to the resulting source tree. Validation: 739 SparkCache tests passed with 7 skipped; 108 deployment tests passed with 1 skipped; Ruff and diff checks passed.
This was referenced Aug 30, 2026
Owner
Author
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.
Resulting behavior
Flat opaque-page snapshots use SparkCache's direct-file C++/CUDA restore function. Authenticated page-delta graphs reconstruct their complete encoded page snapshot and pass those bytes to the separate in-memory C++/CUDA page-placement function.
The connector no longer sends an �ncoded_pages argument to the direct-file function, whose contract requires manifest lookup and cache-root inputs. Page-delta verification failures still reject the restore and recompute the request.
Compatibility
SparkCache wire values, digest salts, 256-token geometry, stored object schemas, and cache identity are unchanged. DeepSeek-V4 and GLM-5.2 source receipts are rebound because connector source and regression coverage changed.
Validation
Status: implemented; live page-delta C++/CUDA restore qualification remains pending the rebuilt-image replay.