[coverage] Conformance findings: LOGGING-002
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 62/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 冷清
- 技術堆疊
- nodejs, typescript
研究方向
先查看 PR #1224 中 tests/ 下的 LOGGING-002 xfail 測試,然後在此儲存庫中搜尋 DBSQLLogger 及其檔案傳輸實作。重現目標為目錄的情況,並將其與 PR #234 中的參考行為進行比較;當一致性測試在沒有非同步 EISDIR 錯誤的情況下全部通過時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-nodejs. 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-nodejs) is fixed, then flips green as a tripwire.
Findings
- LOGGING-002 [thrift, sea]: DBSQLLogger passes
filepathstraight to its file transport with no directory-vs-file resolution, so a directory log destination yields no log file inside it and raises an async EISDIR on the transport stream instead of degrading to less/no output- failing test:
directory log destination resolves to a log file inside it [thrift], directory log destination resolves to a log file inside it [sea](see the coverage PR diff undertests/)
- failing test:
- LOGGING-002: DBSQLLogger passes
filepathdirectly to its file transport with no directory-vs-file resolution, so a log destination naming an existing directory is opened as a file: no log file is created inside it, an EISDIR surfaces asynchronously on the transport stream (uncaught, can abort the host process) instead of degrading to less/no output, and the caller gets no logs — the file-path form works correctly
Context
- The behavior was first fixed in a DIFFERENT driver — reference PR: https://github.com/databricks/databricks-sql-kernel/pull/234 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-nodejs; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
- Coverage PR carrying the reproducing xfail test(s): https://github.com/databricks/databricks-driver-test/pull/1224
- 主要語言
- TypeScript
- 星號
- 37
- 分支
- 52
- 平均合併
- 1 天 47 分鐘
- 30 天內合併 PR
- 10
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
databricks/databricks-sql-nodejs 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
databricks/databricks-sql-nodejs#541 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
databricks/databricks-sql-nodejs#526 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
databricks/databricks-sql-nodejs#503 ·
維護者通常 1 天內回覆
-
engineer-bot
難度 2/5 1-3 小時 新手友好度 64/100
databricks/databricks-sql-nodejs#274 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 55/100
databricks/databricks-sql-nodejs#540 ·
維護者通常 1 天內回覆
查看 databricks/databricks-sql-nodejs 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
supadata-ai/mcp#27 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
capricorn86/happy-dom#2485 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
siyuan-note/siyuan#20430 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
Albert-Weasker/niubigeo#194 ·
維護者通常 1 天內回覆