Skip to content

Restore config-driven Lexicon tooling - #80

Open
flo-bit wants to merge 1 commit into
mainfrom
feat/lexicon-tooling
Open

Restore config-driven Lexicon tooling#80
flo-bit wants to merge 1 commit into
mainfrom
feat/lexicon-tooling

Conversation

@flo-bit

@flo-bit flo-bit commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • restore deterministic XRPC Lexicon generation from Contrail configuration
  • add contrail lexicons generate, check, pull, types, and all
  • delegate source pulling and TypeScript generation to the packaged Atcute CLI
  • generate collection, hydration, reference, profile, feed, operational, and authored custom-query contracts
  • add checked-in bundle/config drift detection and guard generated output from escaping the project root
  • map grouped Lexicon token values back to the configured short output keys used by generated hydration schemas
  • export the generator from @atmo-dev/contrail/lexicons

This PR is intentionally limited to Lexicon tooling. The generic public read service, contrail connect, and the api.atmo.rsvp deployment will follow as stacked PRs.

Verification

  • pnpm typecheck
  • pnpm build
  • pnpm test — 393 passed, 3 PostgreSQL-dependent tests skipped
  • pnpm --dir packages/contrail test:built
    • invokes the built contrail lexicons generate and check CLI using normal multi-argument syntax
    • runs Atcute type generation against the generated bundle
    • typechecks the generated TypeScript fixture
    • runs the existing built native-SQLite smoke test

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Native SQLite benchmark

Metric Result
Total time 19.20 s
Backfill time 19.02 s
Indexed records 20,989
Accepted records/s 1103.37
Indexed records/s 1093.22
Complete accounts 1,590
Retrying accounts 45

Runtime: Node v22.14.0, SQLite 3.47.2

Artifact source: calendar-records-only-sqlite-r100-h20-d3-2026-08-07T05-09-28-238Z.json

View workflow run

@flo-bit
flo-bit force-pushed the feat/lexicon-tooling branch from 3e7677b to 6d6c750 Compare August 7, 2026 05:08
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