Skip to content

chore(eql): mise tasks to install a local EQL v3 build#410

Open
freshtonic wants to merge 1 commit into
v3from
chore/eql-v3-install-plumbing
Open

chore(eql): mise tasks to install a local EQL v3 build#410
freshtonic wants to merge 1 commit into
v3from
chore/eql-v3-install-plumbing

Conversation

@freshtonic

Copy link
Copy Markdown
Contributor

Summary

Adds opt-in mise tasks to install a locally built EQL v3 schema into the test Postgres, alongside the existing v2 flow (which is untouched):

  • eql:v3:copy — copies cipherstash-encrypt.sql/-uninstall.sql from $CS_EQL_V3_PATH (e.g. ../encrypt-query-language/release after mise run build there) as cipherstash-encrypt-v3.sql/-v3-uninstall.sql (distinct names; gitignored)
  • postgres:eql:v3:setup / postgres:eql:v3:teardown — install/drop the eql_v3 schema via psql in the Postgres container, mirroring the v2 task pattern (with ON_ERROR_STOP=1)

Deliberately does not apply tests/sql/schema.sql (still v2); the v3 fixture lands in the stacked follow-up PR. Documented in DEVELOPMENT.md ("Installing a local EQL v3 build").

No merge gate — this has no eql-bindings dependency and changes no runtime code; verified live (eql_v2 and eql_v3 schemas coexist; v2 setup unchanged before/after).

Linear: CIP-3343 (parent CIP-3299).

Add postgres:eql:v3:setup / postgres:eql:v3:teardown / eql:v3:copy to
install a locally built eql_v3 schema (from encrypt-query-language
branch eql_v3, built with 'mise run build' there) into the test
Postgres container, alongside the existing v2 flow.

The install SQL is consumed from $CS_EQL_V3_PATH (a directory
containing cipherstash-encrypt.sql / cipherstash-encrypt-uninstall.sql,
e.g. the EQL repo's release/ dir) and copied to the repo root as
cipherstash-encrypt-v3{,-uninstall}.sql so the v2 artifacts are not
clobbered.

Unlike postgres:setup, the v3 task does NOT apply tests/sql/schema.sql:
that fixture is still v2; a v3 fixture comes later.
@coderabbitai

coderabbitai Bot commented Jul 2, 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

Run ID: d0fa3700-95f2-4e8e-b242-d28057c563f2

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 chore/eql-v3-install-plumbing

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.

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