Skip to content

feat(offline): offline_migration for the ci profile (vericto CLI 2.3.0) - #30

Merged
vericto merged 1 commit into
mainfrom
docs/offline-ci-migration
Nov 16, 2026
Merged

vericto merged 1 commit into
mainfrom
docs/offline-ci-migration

Conversation

@vericto-bot

@vericto-bot vericto-bot Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What does this PR change?

Why?

Type of change

  • Driver wrapper (Snowflake, sqlite3, SQLAlchemy, DB-API)
  • Runtime API or CI-check client (retries, fail mode, caching)
  • Integration (LangChain, LlamaIndex, dbt, Airflow)
  • Sanitized mode
  • Bug fix
  • Documentation or examples
  • Dependencies or CI

Tests

  • Added or updated tests that cover the change, including the failure path
  • uv run ruff check . and uv run ruff format --check . pass
  • uv run mypy passes
  • uv run coverage run -m pytest and uv run coverage report --omit=... (as in CI) pass, at or above 80%
  • The Integration (...) job's commands pass locally (if an integration changed)
  • uv build succeeds

Checklist

  • Commits follow Conventional Commits
  • CHANGELOG.md updated under [Unreleased] (if a user of the package can see the change)
  • New or changed options, environment variables or errors documented in README.md
  • Parameter values are still never sent to Vericto
  • CI is green

Vericto CLI 2.3.0 caps schema DDL in the ci profile only for migrations:
a vericto serve ci request without "migration": true is checked like
check --offline --sql, so DROP TABLE is BLOCKED (was FLAGGED). TRUNCATE
and DROP SCHEMA / DATABASE are never capped (engine 5.1.0).

- Vericto(offline_migration=True), OfflineEvaluator(migration=...) and
  OfflineEngine.check(migration=...) send the marker (ci profile only;
  runtime, a non-bool or online raise VerictoConfigError). The field is
  sent only when set; verdict.raw["migration"] says what was sent.
- vericto-dbt check --offline does not mark dbt SQL as a migration:
  schema DDL in a model or hook now blocks with CLI 2.3.0+. Documented,
  with the remedies (--no-hooks, --select, --fail-on).
- README, docstrings and CHANGELOG (Unreleased) describe the scope; the
  fake serve follows CLI 2.3.0; parity with a migrations/ file against
  the real CLI (2.1.0, 2.2.0, 2.3.0).
- CI: the offline job pins vericto CLI 2.3.0 (was 2.1.0).
@github-actions

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@vericto
vericto merged commit 143162b into main Nov 16, 2026
22 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant