chore(eql): mise tasks to install a local EQL v3 build#410
Open
freshtonic wants to merge 1 commit into
Open
Conversation
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.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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
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— copiescipherstash-encrypt.sql/-uninstall.sqlfrom$CS_EQL_V3_PATH(e.g.../encrypt-query-language/releaseaftermise run buildthere) ascipherstash-encrypt-v3.sql/-v3-uninstall.sql(distinct names; gitignored)postgres:eql:v3:setup/postgres:eql:v3:teardown— install/drop theeql_v3schema via psql in the Postgres container, mirroring the v2 task pattern (withON_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_v2andeql_v3schemas coexist; v2 setup unchanged before/after).Linear: CIP-3343 (parent CIP-3299).