[coverage] Conformance findings: SESSION-016

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
node.js, typescript

調査の方向性

coverage PRで説明されているExpected-Failureテストから始め、reference driver PRと動作を比較します。Thriftの接続失敗パスとSEAのセッション開始パスを調査します。完了の条件は、サーバーの詳細情報 "Invalid access token" を保持し、基になるエラーをAuthenticationErrorのcauseとして保持することです。

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

説明

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs.

Each is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT behavior and stays red until this driver is fixed.

  • SESSION-016: Thrift connection-failure primary message drops the server-provided 401 detail, surfacing only "Received a response with a bad HTTP status code: 401" instead of the server text ("Invalid access token")
  • SESSION-016: SEA session-open rejection throws an AuthenticationError with no cause chain (keys=["name"]; no cause/underlying/innerError), so the underlying transport/SDK error is not preserved — the message detail and HTTP status themselves are correct

Reference driver PR: https://github.com/databricks/databricks-jdbc/pull/1587
Coverage PR (reproducing xfail tests): https://github.com/databricks/databricks-driver-test/pull/988

主要言語
TypeScript
スター
36
フォーク
50
平均マージ
13時間 46分
マージ済み PR(30日)
9

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

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

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

似ている issue

TypeScript の issue をもっと見る

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

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