Skip to content

Conversation

@crStiv
Copy link
Contributor

@crStiv crStiv commented Jan 19, 2025

This commit adds proper logging for unexpected header keys in the Synapse.parse_headers_to_inputs method. Previously, these keys were silently ignored with a TODO comment. Now, when an unexpected header key is encountered, it will be logged as a warning message, which will help with debugging and monitoring of the system.

Changes made:

  • Replaced TODO comment with actual logging implementation
  • Added warning level logging for unexpected header keys
  • Improved system observability for header parsing issues

This change helps developers better understand what unexpected data is being received in the headers during runtime.

basfroman
basfroman previously approved these changes Jan 21, 2025
@basfroman basfroman requested a review from a team January 21, 2025 04:25
thewhaleking
thewhaleking previously approved these changes Jan 21, 2025
@thewhaleking thewhaleking changed the base branch from master to staging January 21, 2025 14:16
@thewhaleking thewhaleking dismissed stale reviews from basfroman and themself January 21, 2025 14:16

The base branch was changed.

@thewhaleking thewhaleking merged commit f16ebee into opentensor:staging Feb 10, 2025
15 checks passed
This was referenced Feb 12, 2025
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.

3 participants