Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[coverage] Conformance findings: FEATUREFLAG-001

オープン
#499 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, sql
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
53
フォーク
68
平均マージ
2日 1時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/databricks-sql-go のほかの issue

databricks/databricks-sql-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。