refactor(intake): add ClickHouse repository boundary - #927
Merged
Conversation
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
shanaiabuggy
approved these changes
Jul 27, 2026
Base automatically changed from
clickhouse-dao-characterization/brnewsom
to
main
July 27, 2026 22:42
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
BrianNewsom
enabled auto-merge
July 27, 2026 23:09
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (5)
📝 WalkthroughWalkthroughClickHouse access now runs through a typed executor and registered table names. Evaluation session and rollup contracts are separated from implementations, dependencies use executor-backed repositories, and tests cover query mapping, parameter binding, sorting, filtering, and import boundaries. ChangesClickHouse repository migration
Sequence Diagram(s)sequenceDiagram
participant API
participant DependencyProvider
participant ClickHouseRepository
participant ClickHouseExecutor
participant ClickHouse
API->>DependencyProvider: request repository dependency
DependencyProvider->>ClickHouseExecutor: create executor from client
DependencyProvider->>ClickHouseRepository: construct repository with executor
API->>ClickHouseRepository: request sessions or rollups
ClickHouseRepository->>ClickHouseExecutor: execute named query
ClickHouseExecutor->>ClickHouse: run parameterized SQL
ClickHouse-->>ClickHouseExecutor: return rows
ClickHouseExecutor-->>ClickHouseRepository: return mapped dictionaries
ClickHouseRepository-->>API: return domain read model
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Contributor
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Jul 27, 2026
Signed-off-by: Brian Newsom <brnewsom@nvidia.com>
This was referenced Jul 28, 2026
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #924.
Validation
ty checkfor changed source and testsSummary by CodeRabbit