Skip to content

Support static keyset reads over composite primary keys - #186

Merged
first-assist merged 9 commits into
mainfrom
platform/composite-keyset-r5
Oct 23, 2026
Merged

first-assist merged 9 commits into
mainfrom
platform/composite-keyset-r5

Conversation

@first-assist

@first-assist first-assist commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Configured keysets and authorized scans support composite primary keys. The declared order ends with every key component in declaration order, rejects repeated columns and retains typed values through nullable ordering, forward/backward windows and cursor identity.

Every configured ordering field and complete key component requires current authority before SQL and before releasing cursors or scan metadata, even for cursor-only selections. Explicit repository surface flags cannot publish a private GraphQL cursor field; repository policy remains independent.

Owned SQLite regressions cover tuple collisions, nullable ordering, reverse traversal, generated read surfaces and zero-SELECT rejection for denied cursor fields. The exact two indentation suggestions from hosted job 120200514199 are applied without changing assertions or runtime code. No local formatter or Rust command ran; current-head CI/backend/Clippy/Rustdoc qualification remains pending. Keep draft; Root alone merges.

After #187 merged at 5c860fc, this branch was rebased onto that exact main commit. The paired ORM/macros capability advances to 0.59.0. All seven workspace/fixture lockfiles change only those two local package versions; external package records are unchanged. The generated workspace inventory changes only the matching two version cells pending confirmation by fresh hosted Cargo metadata. Documentation (210), package release policy and diff checks pass. Prior green CI applied to ec58025 and does not qualify this new head; fresh CI is pending Root relay. No local Rust/Cargo/fmt command ran during the a17 blackout.

Documentation impact

  • Documentation updated
  • No documentation impact

Current source: dbb82f29c5f5b99bb19489d99a61addbbe531b15 (tree 17a9f5c35f8faa1f01e3af35d8adab9c37e6120d).

@first-assist
first-assist force-pushed the platform/composite-keyset-r5 branch from ec58025 to dbb82f2 Compare October 23, 2026 06:39
@first-assist
first-assist marked this pull request as ready for review October 23, 2026 07:34
@first-assist
first-assist merged commit 341e5b6 into main Oct 23, 2026
18 checks passed
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