Skip to content

[5/6] refactor(showcase): convert the healthcare showcase to EQL v3#426

Open
freshtonic wants to merge 1 commit into
queue/eql-v3/transformfrom
queue/eql-v3/showcase
Open

[5/6] refactor(showcase): convert the healthcare showcase to EQL v3#426
freshtonic wants to merge 1 commit into
queue/eql-v3/transformfrom
queue/eql-v3/showcase

Conversation

@freshtonic

@freshtonic freshtonic commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

📚 eql-v3 PR  ·  5 of 6

Part of a queue. The PRs merge in FIFO order — the numbered order below, #1 first. Merging one supersedes the PRs after it until the author runs git queue sync (rebases the rest onto the merged base) and git queue submit (retargets their PRs).

✅🟢 #422 queue/eql-v3/setup-skillsmain
✅🟢 #423 queue/eql-v3/upgrade-depsqueue/eql-v3/setup-skills
♻️🟢 #424 queue/eql-v3/typecheckqueue/eql-v3/upgrade-deps
✅🟢 #428 queue/eql-v3/transformqueue/eql-v3/typecheck
✅🟢 #426 queue/eql-v3/showcasequeue/eql-v3/transform  👈 this PR
⏳🟢 #427 queue/eql-v3/integrationqueue/eql-v3/showcase

✅ approved · ♻️ changes requested · ⏳ review pending  |  🟣 merged · 🟢 open · ⚫ closed  —  status as of the last git queue submit.
🥞 Managed by git-queue — do not edit this list by hand.

About this queue

Migrates CipherStash Proxy from EQL v2 to EQL v3 (cipherstash-client 0.34.1-alpha.4 → 0.42.0, EQL 2.3.0-pre.3 → 3.0.2), replacing the opaque eql_v2_encrypted composite type with 53 typed jsonb domains that encode both scalar type and searchable capability in the column type itself.

About this branch

Convert the showcase to EQL v3

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e47c244a-5d59-4623-9d51-c2d7bcdfdadc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch queue/eql-v3/showcase

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@freshtonic freshtonic changed the title [4/4] refactor(showcase): convert the healthcare showcase to EQL v3 [4/5] refactor(showcase): convert the healthcare showcase to EQL v3 Jul 22, 2026
@freshtonic
freshtonic requested a review from tobyhede July 22, 2026 21:42
@freshtonic
freshtonic force-pushed the queue/eql-v3/typecheck branch from c251fb8 to 3cad2c5 Compare July 22, 2026 21:46
@freshtonic
freshtonic force-pushed the queue/eql-v3/showcase branch 2 times, most recently from 44ae965 to b76f2bf Compare July 22, 2026 21:50
@freshtonic freshtonic changed the title [4/5] refactor(showcase): convert the healthcare showcase to EQL v3 [5/6] refactor(showcase): convert the healthcare showcase to EQL v3 Jul 22, 2026
@freshtonic
freshtonic changed the base branch from queue/eql-v3/typecheck to queue/eql-v3/transform July 22, 2026 22:21
@freshtonic
freshtonic force-pushed the queue/eql-v3/transform branch from c251fb8 to 081333f Compare July 23, 2026 06:08
@freshtonic
freshtonic force-pushed the queue/eql-v3/showcase branch from b76f2bf to 4daab58 Compare July 23, 2026 06:08
@freshtonic
freshtonic force-pushed the queue/eql-v3/transform branch from 081333f to 627e45e Compare July 23, 2026 11:42
@freshtonic
freshtonic force-pushed the queue/eql-v3/showcase branch from 4daab58 to ef7d140 Compare July 23, 2026 11:42
The showcase's encrypted columns move from the EQL v2 opaque type +
per-column search config to EQL v3 self-configuring domain types.

- schema.sql: `pii/medication/procedure eql_v2_encrypted` +
  `eql_v2.add_search_config('ste_vec', ...)` -> `eql_v3_json_search` columns
  (the searchable encrypted-JSON / SteVec domain). The domain type alone
  declares the encryption and searchability, so the add_search_config calls
  are removed.
- data.rs::clear(): drop the `eql_v2_configuration` DELETE — v3 has no such
  config table (self-configuring domains); clearing now just truncates.
- Cargo.toml / README.md / CLAUDE.md / model.rs / main.rs diagram: reworded
  from EQL v2 to v3, incl. a capability -> v3-domain-suffix mapping table in
  the showcase CLAUDE.md.

The demo queries are unchanged: they are plain SQL (->, ->>, @>, <@,
jsonb_path_*, comparisons, ORDER BY, aggregates) that Proxy's mapper now
rewrites to the v3 functional-index form. End-to-end validation still needs
a live Proxy + database with EQL v3 installed.

Compiles clean.

Refs CIP-3595.

Stable-Commit-Id: q-2sptjp0nj4f9wer95m8yfk4nxg
@freshtonic
freshtonic force-pushed the queue/eql-v3/transform branch from 627e45e to 79de888 Compare July 23, 2026 12:12
@freshtonic
freshtonic force-pushed the queue/eql-v3/showcase branch from ef7d140 to 1191ee8 Compare July 23, 2026 12:12
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.

2 participants