posit-dev / posit-dev/positron

Authentication: noisy SNOWFLAKE_HOME log messages

Open
#13,632 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: assistant polishing
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

System details:

Positron and OS details:

Version: Positron Version: 2026.06.0 build 79
Code - OSS Version: 1.111.0
Commit: 5831c6625ad95f6f2e0a42034bd6c7e689214a7d
Date: 2026-05-17T11:26:46-04:00
Commit: 39.6.0
Date: 142.0.7444.265
Electron: 22.22.0
ElectronBuildId: 14.2.231.22-electron.0
Chromium: Darwin arm64 25.4.0
Node.js: undefined
V8: undefined
OS: undefined

Session details:

Snowflake provider with API key on Desktop

Describe the issue:

After logging in with Snowflake API key, look at Authentication extension output channel:

"copilot-auth"
2026-05-14 15:38:27.532 [warning] [Snowflake Auth] No SNOWFLAKE_HOME configured - unable to determine connections.toml path
2026-05-14 15:38:32.552 [warning] [Snowflake Auth] No SNOWFLAKE_HOME configured - unable to determine connections.toml path

Expected or desired behavior:

  • We should probably only log [Snowflake Auth] No SNOWFLAKE_HOME configured - unable to determine connections.toml path when running on Workbench, since SNOWFLAKE_HOME and connetions.toml are not really relevant on Desktop.
  • It's probably enough to only log it once if we encounter it

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.

Research direction

Start by tracing the Authentication extension output channel and the Snowflake authentication handling that emits the SNOWFLAKE_HOME warning. Reproduce the Desktop API-key login, then verify that the warning is limited to relevant Workbench cases and is not emitted repeatedly when the setting is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.