Skip to content

[coverage] Conformance findings: TELEMETRY-017 #545

Closed

Description

@peco-engineer-bot

Summary

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-go. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-go) is fixed, then flips green as a tripwire.

Findings

  • TELEMETRY-017 [sea]: DSN parameter telemetry_flush_interval accepts non-positive durations ("0s", "-1s"): connect succeeds and a session is opened instead of failing client-side with an error naming the option, so an invalid interval reaches the kernel telemetry exporter
    • failing test: TestInvalidTelemetryFlushIntervalRejectedAtConnect (see the coverage PR diff under tests/)

Reproduce & Expected

TELEMETRY-017 — A non-positive telemetry flush interval is a configuration error, not a value to hand to the telemetry exporter.

Expected (per the shared spec):

  • [sea] exactly 0 CreateSession call(s)
  • full assertion contract:
result:
- label: zero_interval
  error:
    contains:
    - flush_interval
- label: negative_interval
  error:
    contains:
    - flush_interval
protocol:
  sea:
  - call_count:
      operation: CreateSession
      expected: 0
    description: 'The rejection is client-side: no session is opened for either attempt.'

Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions