Repository navigation
feat(telemetry): gate enablement with feature flag #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c3779d1
5d683eb
3254d6e
239a559
1dac6b0
bda6f49
844cd04
8b03d91
598966e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -339,7 +339,7 @@ should follow ADBC unless product owners choose a kernel-specific endpoint: | |
| - Endpoint format currently used by ADBC: | ||
| `/api/2.0/connector-service/feature-flags/ADBC/{driver_version}`. | ||
| - Existing server-side flag: | ||
| `databricks.partnerplatform.clientConfigsFeatureFlags.enableTelemetryForAdbc`. | ||
| `databricks.partnerplatform.clientConfigsFeatureFlags.enableTelemetryForKernel`. | ||
|
jay-xiao446 marked this conversation as resolved.
Resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 Low — This line now labels
Functionally this is fail-open (an absent flag resolves to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Applied the fix locally but the push failed (likely another commit landed on this branch since I started). This bundle covered 1 thread(s); all reverted. Re-trigger by replying to this thread. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the attempt — but the push was rejected by the merge queue, so no change actually landed. The current head still shows all three pieces I flagged: the endpoint line reads There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Applied the fix locally but the push failed (likely another commit landed on this branch since I started). This bundle covered 1 thread(s); all reverted. Re-trigger by replying to this thread. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No code change landed — the engineer-bot's push was rejected by the merge queue both times, so the current head is unchanged. The snippet at lines 339–346 still shows all three items: the endpoint line reads There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. The thread is resolved with a docs-only edit reconciling all three inconsistencies the reviewer flagged, verified directly against Pushed fef6013. |
||
|
|
||
| If the kernel needs separate rollout from ADBC, introduce a kernel-specific flag | ||
| only after the backend/dashboard owner confirms the split. Do not fall back to | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔵 Low — The design doc previously named ADBC's
enableTelemetryForAdbcas the "Existing server-side flag" and advised following ADBC's flag "unless product owners choose a kernel-specific endpoint" / "only after the backend/dashboard owner confirms the split." This PR both renames the doc entry toenableTelemetryForKerneland hardcodes that name insrc/session.rs:81, while still labeling it "Existing server-side flag". If connector-service does not yet serveenableTelemetryForKernel, the label is inaccurate and feature-flag enablement will silently never fire (fail-safe:get_boolreturnsNone→ telemetry stays disabled by default, so no correctness break). Worth confirming the backend actually exposes this kernel-specific flag, and noting in the PR that the split was owner-approved, since the doc itself gates that rename on confirmation.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment's core ask — confirm connector-service actually serves
enableTelemetryForKerneland that the ADBC→kernel flag split was owner-approved — is an out-of-band product/backend fact I cannot verify from the repo, and the doc itself gates the rename on that confirmation. There is no correctness break (reviewer notes the fail-safe: get_bool→None→telemetry stays disabled by default), so no defensive code change is warranted, and a speculative doc-label edit could contradict the real product decision in either direction. A human must confirm with the backend/dashboard owner whether the kernel-specific flag exists and the split is approved, then either keep the "Existing server-side flag" label (and note owner approval in the PR) or revert the rename in both the doc and src/session.rs:81.