Conversation
…y for cleaner logs
|
/autofix
|
📝 WalkthroughWalkthroughThe changes introduce a customizable HTTP response log formatting mechanism in Changes
Sequence Diagram(s)sequenceDiagram
participant Factory as ModelToComponentFactory
participant SimpleRetriever
participant Requester
participant LogFormatter
Factory->>SimpleRetriever: create_simple_retriever(..., log_formatter)
alt log_formatter provided
SimpleRetriever->>Requester: send_request(..., log_formatter)
Requester->>LogFormatter: format_http_message(response)
else no log_formatter
SimpleRetriever->>Requester: send_request(..., log_formatter=None)
end
Suggested labels
Suggested reviewers
Would you like to consider adding a test to explicitly cover the new Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (9)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
maxi297
left a comment
There was a problem hiding this comment.
Questions so that I understand a bit more the context
a68cd5b to
7fdc9a4
Compare
|
/autofix
|
maxi297
left a comment
There was a problem hiding this comment.
Do we need to instantiate the log_formatter for the DynamicSchemaResolver in order to pass the right format?
I'm not sure if we use this information anywhere, but I'm okay with adding it. |
|
/autofix
|
|
/autofix
|
What
The Connector Builder CDK, during execution of the
read_streamcommand, listens to all logs and captures all outgoing requests, serializing them as part of the read stream process. As a result, dynamic schema loader calls (e.g., fordynamic_properties) are currently treated the same as regular stream reads. We need to update thelog_formatterso that calls todynamic_propertiesare marked as auxiliary.How
Updated
_fetch_next_pageinSimpleRetrieverTestReadDecoratorto set theis_auxiliaryflag toTruefor streams nameddynamic_properties.Summary by CodeRabbit
New Features
Refactor