feat(clickhouse): exercise the declarative schema canary - #111080
rorylshanks wants to merge 1 commit into
Conversation
🤖 CI report🚨 Trunk lane — universal laneThis PR is assigned to the universal lane. It cannot merge in parallel with other PRs, so it can take longer to merge. Ask dev-ex if you think this is wrong. |
|
[Low risk] Updates a test metric description string. The PR appears safe to merge after its stated infra adoption and reviewed-plan rollout gates are satisfied. Reviews (1) · Last reviewed commit: "feat(clickhouse): exercise the declarati..." |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (3)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: PostHog/posthog/.coderabbit.yaml Review profile: QUIET Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe test custom metric’s help text now says that it checks whether the ClickHouse metric endpoint is working. Priority: ⬇️ Low Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to This updates only the test metric’s description; no PR-specific runtime or compatibility risk is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
4dcb77a to
f8f0bc1
Compare
Problem
Operators can verify one real schema change through the reviewed-plan deployment flow.
Changes
Changes only the help string in
custom_metrics_test; metric names, values, labels and query shape stay the same.Rollout gate: Merge only after infra canary adoption has completed. Dispatch the merged catalogue commit, approve the one-view update, apply it, verify the metric and require an empty subsequent plan. Merge bottom-first; do not land the whole stack together.
Before:
After:
How did you test this code?
Local catalogue validation and table-family checks passed, including the empty second plan.
posthog/clickhouse/test/test_managed_schema.py --reuse-dbpassed against local services. Python lint/format, lockfile and workflow checks passed. Live cloud rollout, the complete backend suite and both events-schema variants remain CI/review gates.Test rationale: The existing schema validator covers view syntax; a separate test of a literal help string would duplicate the change. The real rollout is verified through the canary plan, apply and subsequent empty plan.
Release status
Automatic notifications
Docs update
No additional documentation is needed for the help-string-only canary.
🤖 Agent context
Autonomy: Human-driven (agent-assisted). Agent: Codex, GPT-6.
Staged replacement for #109937, which remains available for comparison. Source changes were split using Git, GitHub CLI and
gh stack; current master changes were retained. Skills: /stacking-prs, /writing-pr-descriptions, /running-ci-preflight, /authoring-ci-workflows, /clickhouse-migrations, /writing-tests, /writing-code-comments and /reviewing-with-coderabbit. Local CodeRabbit review was skipped at the directing user's request because the CLI was missing. No customer material was used. Human review and CI patch coverage are pending on this draft.