Skip to content

feat: add dry-run query param to build endpoint#354

Open
Scr4tch587 wants to merge 1 commit into
kai/dry-run-flagfrom
kai/dry-run-endpoint
Open

feat: add dry-run query param to build endpoint#354
Scr4tch587 wants to merge 1 commit into
kai/dry-run-flagfrom
kai/dry-run-endpoint

Conversation

@Scr4tch587

Copy link
Copy Markdown
Contributor

What

Expose dry runs over HTTP via ?dry-run=true on POST /build.

How

  • new dry-run query param (default false)
  • real build still returns {"status": "ok"}
  • dry run returns {dataset_name, dataset_version, dry_run, rows} (rows shaped like GET /data)
  • failures surface the same 400/422/500 semantics as a real build

Testing

  • route tests: dry-run returns rows, default is not dry-run, empty rows, 422 passthrough
  • integration: DB untouched, builders actually run, dependency chain + lookback, store parity

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

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