Repository navigation
feat(core): tablepro-records crate for synced kinds - #4518
Merged
Merged
Conversation
…of the wrong shape
…ind driver fields and routes in dest, refuse malformed saves
…secrets to the published route, check a settings document's root
…y entry deleted here
datlechin
enabled auto-merge (squash)
November 25, 2026 17:27
# Conflicts: # core/ARCHITECTURE.md
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.
Summary
tablepro-records(core/crates/records) oncoreandstorage(ADR 0054, Crates).sha256-long ids, favourite and table folder item digests, settings categories, envelope ids, key object ids.destpaths, withdestbuilt from the record's current fields (0056).destalso binds a connection's driver fields, network options and published SSH route: a driver's own fields can name the hosts it dials or turn off its TLS checks.json-patchhas no merge-patch diff.SecretKeyand its per-record checks (depth, NUL, null, 1 MiB as Go measures it).tablepro_storage::cloudkitmoved totablepro_records::cloudkit::library;fficalls it, the FFI surface is unchanged.verifiedInProduction, record names, and a projection between CloudKit and wire fields for all 13 types.isReadOnly,colorTagandtagId, stampsmodifiedAtLocalandschemaVersion, and writes only deployed fields.ConnectionStore::lay_out_blockingreplacescloud_edits_blockingandapply_cloud_pull_blocking.apple/scripts/export-cloudkit-schema.shalso writescore/crates/records/fixtures/production-schema.ckdb, since a Linux source archive holds noapple/.Test plan
verify.sh --jobs 4 --platform windows core tablepro-records: PASS, 115 tests.verify.sh --jobs 4 --platform windows core tablepro-ffi -- --test cloud_library --test library: PASS, 30 tests.verify.sh --jobs 4 package TableProFFI: PASS, 8 tests,CloudLibraryRecordsTestsamong them.fixtures/ids.jsonprinted by the Mac's ownIdentityPathandTableScopeunder Foundation.fixtures/merge.jsonrun directly and again after a trip through CloudKit fields;fixtures/dest.json.production-schema.ckdbin both directions.tablepro-storageon this Mac fails 14query_historycopy tests onorigin/mainas well: macOS 27's SQLite 3.54 refusesVACUUM INTOan existing empty file.