SNOW-2912540: mock-patch try_add_log_to_batch instead of reading _log_batch - #4321
Open
sfc-gh-fpawlowski wants to merge 1 commit into
Open
SNOW-2912540: mock-patch try_add_log_to_batch instead of reading _log_batch#4321sfc-gh-fpawlowski wants to merge 1 commit into
sfc-gh-fpawlowski wants to merge 1 commit into
Conversation
Author
This was referenced Aug 20, 2026
sfc-gh-fpawlowski
marked this pull request as ready for review
August 20, 2026 17:08
sfc-gh-fpawlowski
requested review from
sfc-gh-bkogan,
sfc-gh-jzeng and
sfc-gh-yixie
and removed request for
a team
August 20, 2026 17:08
sfc-gh-fpawlowski
changed the base branch from
SNOW-2912540-request-id-compat
to
graphite-base/4321
August 20, 2026 17:14
sfc-gh-fpawlowski
force-pushed
the
graphite-base/4321
branch
from
August 20, 2026 17:14
3417aaf to
c8a6bc2
Compare
sfc-gh-fpawlowski
force-pushed
the
SNOW-2912540-log-batch-mock-patch
branch
from
August 20, 2026 17:14
a450af0 to
dc6bd66
Compare
sfc-gh-fpawlowski
changed the base branch from
graphite-base/4321
to
SNOW-2912540-request-id-compat
August 20, 2026 17:14
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## SNOW-2912540-request-id-compat #4321 +/- ##
===============================================================
Coverage 95.44% 95.44%
===============================================================
Files 172 172
Lines 44771 44771
Branches 7682 7682
===============================================================
Hits 42730 42730
Misses 1264 1264
Partials 777 777 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sfc-gh-fpawlowski
changed the base branch from
SNOW-2912540-request-id-compat
to
graphite-base/4321
August 21, 2026 07:00
sfc-gh-fpawlowski
force-pushed
the
graphite-base/4321
branch
from
August 21, 2026 08:35
c8a6bc2 to
8255b78
Compare
sfc-gh-fpawlowski
force-pushed
the
SNOW-2912540-log-batch-mock-patch
branch
from
August 21, 2026 08:35
dc6bd66 to
a654ad9
Compare
sfc-gh-fpawlowski
changed the base branch from
graphite-base/4321
to
SNOW-2912540-request-id-compat
August 21, 2026 08:35
sfc-gh-fpawlowski
changed the base branch from
SNOW-2912540-request-id-compat
to
graphite-base/4321
August 21, 2026 09:36
sfc-gh-fpawlowski
force-pushed
the
graphite-base/4321
branch
from
August 21, 2026 09:37
8255b78 to
cec387a
Compare
sfc-gh-fpawlowski
force-pushed
the
SNOW-2912540-log-batch-mock-patch
branch
from
August 21, 2026 09:37
a654ad9 to
98c0936
Compare
sfc-gh-fpawlowski
changed the base branch from
graphite-base/4321
to
SNOW-2912540-request-id-compat
August 21, 2026 09:37
…_batch The Universal Driver (drivers#1104, BD#58) moves TelemetryClient's batch buffer into the Rust core, so `_log_batch` no longer exists on Python and conn._telemetry._log_batch raises AttributeError there. Replace the two direct reads of that buffer with a spy on try_add_log_to_batch (the one call Snowpark actually makes), matching the pattern already dominant in modin/test_telemetry.py's other tests. Works unchanged under both drivers since try_add_log_to_batch exists on both.
sfc-gh-fpawlowski
force-pushed
the
SNOW-2912540-log-batch-mock-patch
branch
from
August 21, 2026 09:59
98c0936 to
2257b69
Compare
sfc-gh-yuwang
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-NNNNNNN
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.