dj-pearson/rowshape validate

Validate a database migration against production-shaped data and gate CI on the verdict.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fixturePath to the committed rowshape.yaml fixture.norowshape.yaml
migrationsMigration .sql file or directory to validate.nomigrations
ephemeralAdmin connection URL for a disposable Postgres (e.g. a CI services container). validate creates a throwaway database, hydrates the fixture into it, applies the migration, and drops it. No production credential.no""
targetValidate against this live database URL instead of hydrating (its data is ground truth). Mutually exclusive with `ephemeral`.no""
warn-as-failFail the job on a WARN-only verdict (default false — WARN informs but does not block).nofalse
jsonCapture the machine-readable JSON verdict to a file for downstream steps.notrue
runnerOverride migration runner detection (alembic|prisma|drizzle|rawsql).no""
seedDeterministic hydration seed.no""
scaleFraction of declared rows to hydrate (default 1.0).no""
argsExtra space-separated flags passed through to `rowshape validate`.no""
versionrowshape release to install (e.g. v1.2.3). Default 'latest'. Ignored when `binary` is set.nolatest
binaryPath to a prebuilt rowshape binary. When set, the install step is skipped — use this if you install rowshape yourself (brew/go install) or in tests.no""
repoGitHub repo to download the release from (advanced; default rowshape/rowshape).norowshape/rowshape
namedescription
verdictThe verdict — PASS, WARN, or FAIL (empty on a tool error).
exit-codeThe raw `rowshape validate` exit code (0 PASS, 1 FAIL, 2 WARN, 3 tool error).
verdict-jsonPath to the captured JSON verdict file (when json=true).