Skip to content

fix: clearer migration and config errors; document codec API#148

Merged
alvarogar4 merged 1 commit into
mainfrom
alvaro/num-7276-error-clarity-round-2
Jun 11, 2026
Merged

fix: clearer migration and config errors; document codec API#148
alvarogar4 merged 1 commit into
mainfrom
alvaro/num-7276-error-clarity-round-2

Conversation

@alvarogar4

Copy link
Copy Markdown
Member

Summary

Error-clarity round 2 from the prod-ready audit (the batch deliberately left out of NUM-7316–7319).

Test plan

🤖 Generated with Claude Code

Error-clarity round 2 from the prod-ready audit:

- #10 — a rejected migration statement now reports the migration file, the
  failed statement position ("statement N of M"), and a SQL preview on top of
  the cleaned ClickHouse message. statementError() wraps both the sync DDL and
  async paths; the journal still records the raw CH error.
- #21 — a syntax error in clickhouse.config.ts now prints the actual build
  diagnostics (collectAggregateErrorMessages expands the AggregateError.errors)
  instead of only the "N errors building config.ts" summary.
- #22 — documented the column `codec` API (general/preprocessor/raw codecs,
  chains, render output, and the codec_chain_* validation rules) in the schema
  DSL reference.

Unit + live e2e tests against the .env.test cluster; all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alvarogar4 alvarogar4 force-pushed the alvaro/num-7276-error-clarity-round-2 branch from c9b80b7 to 9d9d550 Compare June 11, 2026 12:22
@alvarogar4 alvarogar4 merged commit 0df9666 into main Jun 11, 2026
8 checks passed
@alvarogar4 alvarogar4 deleted the alvaro/num-7276-error-clarity-round-2 branch June 11, 2026 12:27
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