Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[coverage] Conformance findings: FEATUREFLAG-001

Offen
#499 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go, sql
Bereich
backend

Rechercherichtung

The bug is in the SEA backend's connect path, which requests /api/2.0/connector-service/feature-flags/GOLANG/<ver> even when telemetry is disabled. Find where that request is issued during connection setup, and run TestNoFeatureFlagRequestWhenFlagsAreUnconsumed from the coverage PR under tests/ to see the failure. Done when that test passes and the Thrift path still issues no flag requests. Reference PR 496 in databricks-sql-go-adjacent driver work shows the intended behavior, but it is a different repo.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

  • FEATUREFLAG-001 [sea]: SEA/kernel backend fetches connector-service feature flags (GET /api/2.0/connector-service/feature-flags/GOLANG/) during connect even when telemetry — the only in-driver flag consumer — is disabled, so an unconsumed flag context costs an extra control-plane request per connection; the Thrift path correctly issues none
    • failing test: TestNoFeatureFlagRequestWhenFlagsAreUnconsumed (see the coverage PR diff under tests/)

Reproduce & Expected

FEATUREFLAG-001 — Opens a proxied connection with telemetry explicitly disabled and runs SELECT 1.

Reproduce:

SELECT 1 AS value

Expected (per the shared spec):

  • result has exactly 1 row(s)
  • col 0, row 0 == 1 (type Int32)
  • full assertion contract:
result:
- row_count: 1
- column:
    index: 0
    row: 0
    type: Int32
    equals: 1
protocol:
  thrift:
  - http_request_count:
      path_prefix: /api/2.0/connector-service/feature-flags/
      expected: 0
  sea:
  - http_request_count:
      path_prefix: /api/2.0/connector-service/feature-flags/
      expected: 0

Context

Vorherrschende Sprache
Go
Sterne
53
Forks
68
Ø Merge
2 T. 1 Std.
Gemergte PRs (30 T.)
8

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus databricks/databricks-sql-go

Alle Issues in databricks/databricks-sql-go

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.