Skip to content

test(api): run the integration SQL catalog through the ClickHouse e2e sweep - #544

Merged
JeremyFunk merged 1 commit into
mainfrom
claude/integration-catalog-e2e
Aug 19, 2026
Merged

test(api): run the integration SQL catalog through the ClickHouse e2e sweep#544
JeremyFunk merged 1 commit into
mainfrom
claude/integration-catalog-e2e

Conversation

@JeremyFunk

@JeremyFunk JeremyFunk commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

collectIntegrationCatalog() from @maple/query-engine-integrations/catalog was only consumed by the integrations package's own unit tests — the Cloudflare/PlanetScale/AI fixtures never ran through the real-ClickHouse analyzer sweep, while a comment in catalog.ts claimed the sweep's quoted/unquoted 64-bit decode assertion covered them.

  • Append the integration catalog to the sweep's entry list in sql-catalog.clickhouse.e2e.test.ts. The two catalogs are separate types (the core package must not import the integrations package), but both satisfy the small structural shape the sweep reads, captured as a local SweepEntry interface. The core catalog is still deduped by fingerprint; the 12 integration fixtures are distinct shapes and are appended as-is.
  • Document the wiring in catalog.ts's header, which makes the existing ai-sessions row-schema comment accurate rather than aspirational.

Testing

  • Ran the sweep against a real ClickHouse (CLICKHOUSE_E2E=1): 157 tests passed, and the verbose reporter confirms all 12 builder:* integration fixtures executed, including both 64-bit wire-shape decode passes for the AI-session fixtures that carry row schemas.
  • Integrations package unit tests: 287 passed.
  • Repo typecheck green (40/40 turbo tasks).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

… sweep

collectIntegrationCatalog() was only consumed by the integrations package's
own unit tests, so the Cloudflare/PlanetScale/AI fixtures never met the real
analyzer — while a comment in catalog.ts claimed the sweep's 64-bit decode
assertion covered them. Append the integration catalog to the sweep's entry
list (both catalogs satisfy the same structural shape) and document the
wiring in catalog.ts, making that claim true.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JeremyFunk
JeremyFunk merged commit cc69f9f into main Aug 19, 2026
44 of 46 checks passed
@JeremyFunk
JeremyFunk deleted the claude/integration-catalog-e2e branch August 19, 2026 21:20
@github-actions

Copy link
Copy Markdown

🍁 Maple PR preview

Note

Preview resources were removed when this pull request closed.

Final commit f327b81 · View workflow run

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