[coverage] Conformance findings: SESSION-016

Open
#467 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
node.js, typescript

Research direction

Start with the expected-failure tests described in the coverage PR and compare the behavior with the reference driver PR. Investigate the Thrift connection-failure and SEA session-open paths; done means preserving the server's "Invalid access token" detail and retaining the underlying error as the AuthenticationError cause.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
36
Forks
50
Avg merge
13h 46m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from databricks/databricks-sql-nodejs

All issues in databricks/databricks-sql-nodejs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.