Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 23, 2025

Removes the obsolete logging configuration for hpack from the examples/battery_pool.py script.

The following lines were removed:

# Reduce undesired noise from hpack
logging.getLogger("hpack.hpack").setLevel(logging.INFO)

These lines were originally added as a workaround to reduce noise produced by betterproto, but since the project has moved away from betterproto, they are no longer necessary and serve no purpose.

Benefits:

  • Removes obsolete code that could confuse future maintainers
  • Keeps the example script clean and up to date with current project dependencies
  • Eliminates unnecessary logging configuration

Fixes #1246.

Copilot AI changed the title [WIP] Remove obsolete hpack logging adjustment from examples/battery_pool.py Remove obsolete hpack logging adjustment from examples/battery_pool.py Jul 23, 2025
Copilot AI requested a review from llucax July 23, 2025 12:17
Copilot finished work on behalf of llucax July 23, 2025 12:17
@llucax llucax marked this pull request as ready for review July 23, 2025 12:24
@Copilot Copilot AI review requested due to automatic review settings July 23, 2025 12:24
@llucax llucax requested a review from a team as a code owner July 23, 2025 12:24
@github-actions github-actions bot added the part:docs Affects the documentation label Jul 23, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes obsolete logging configuration for the hpack module from the battery pool example script. The logging adjustment was originally added as a workaround for noise from betterproto, but is no longer needed since the project has moved away from that dependency.

  • Removes two lines of hpack-specific logging configuration
  • Cleans up obsolete code that could confuse future maintainers

@llucax llucax added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Jul 23, 2025
@llucax llucax changed the title Remove obsolete hpack logging adjustment from examples/battery_pool.py Remove obsolete hpack logging adjustment from examples/battery_pool.py Jul 23, 2025
@llucax llucax changed the title Remove obsolete hpack logging adjustment from examples/battery_pool.py Remove obsolete hpack logging adjustment from examples Jul 23, 2025
@llucax
Copy link
Contributor

llucax commented Jul 23, 2025

Will force-merge as copilot doesn't support gpg signatures yet, so it will never get green.

@llucax llucax merged commit 15b41ad into v1.x.x Jul 23, 2025
34 checks passed
@llucax llucax deleted the copilot/fix-1246 branch July 23, 2025 12:31
@github-project-automation github-project-automation bot moved this from To do to Done in Python SDK Roadmap Jul 23, 2025
@llucax llucax modified the milestones: v1.0.0-rc2200, v1.0.0-rc2101 Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:docs Affects the documentation

Projects

Development

Successfully merging this pull request may close these issues.

Remove obsolete hpack logging adjustment from examples/battery_pool.py

2 participants