Skip to content

Fpawlowski/extended network logging#2848

Draft
sfc-gh-fpawlowski wants to merge 10 commits into
mainfrom
fpawlowski/Extended-network-logging
Draft

Fpawlowski/extended network logging#2848
sfc-gh-fpawlowski wants to merge 10 commits into
mainfrom
fpawlowski/Extended-network-logging

Conversation

@sfc-gh-fpawlowski
Copy link
Copy Markdown
Contributor

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #NNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

  4. (Optional) PR for stored-proc connector:

sfc-gh-mmishchenko and others added 10 commits April 10, 2026 16:17
… control

Tracing is now controlled via two new parameters on cursor.execute():
- _trace_execute (default True): traces the REST call to Snowflake
- _trace_file_transfer (default False): traces PUT/GET file transfer

Removed the original tracing hooks from connectionpool._new_conn and
ssl_wrap_socket to avoid redundant/misplaced tracing.

Made-with: Cursor
Attach SecretMaskingFilter to the ext_logging logger to ensure
any sensitive data (tokens, passwords, keys) is masked before
log messages reach handlers.

Made-with: Cursor
CI mac build is timing out — add elapsed-time markers around each
major step (venv creation, pip install, wheel build) so we can
pinpoint which phase hangs.  Also add PUT repro and S3 bypass
upload scripts under testing-repro/.

Made-with: Cursor
The pyenv shim hangs in non-interactive environments (no TTY) when no
version is selected. Fix by resolving the installed patch version with
`pyenv versions --bare` and exporting PYENV_VERSION before invoking
the shim. Also adds extended diagnostics: pyenv state, PATH, TTY check,
disk usage, pip version, and per-step elapsed timing.

Made-with: Cursor
Combine both branches' improvements: log() helper from main,
elapsed-time tracking and pyenv diagnostics from HEAD.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants