Fix links in diff graph#205
Conversation
WalkthroughDebug log statements were added in three source files to improve runtime diagnostics. In the graph utility module, a log records the computed relative path in a path conversion function. In the pubsub listener module, multiple logs capture the extracted message type, raw data bytes for a specific message type, and the constructed attribute map during message processing. In the core trigger module, a log outputs the result of parsing a trigger message. No changes were made to logic, error handling, or public interfaces. Changes
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
vibi-dpu/src/graph/utils.rs (1)
190-198: Consider removing redundant debug log
You logrel_path_resat line 190 and then immediately logrel_pathat line 197. Since these messages convey very similar information, you may want to consolidate or remove one to reduce noise in the debug output.vibi-dpu/src/pubsub/listener.rs (1)
34-34: Enhance logging consistency
The new debug formsgtypeis useful, but adopting a structured key-value format (e.g.,log::debug!("process_message msgtype"; "type" => %msgtype);) can make filtering and parsing logs easier. Also verify thatmsgtypealone cannot expose PII or sensitive metadata.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
vibi-dpu/src/graph/utils.rs(1 hunks)vibi-dpu/src/pubsub/listener.rs(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: dpu (vibi-prod)
| log::debug!("[listen_messages] attrmap = {:?}", &attrmap); | ||
| let message_hash = digest(&*message.message.data); |
There was a problem hiding this comment.
🛠️ Refactor suggestion
Sanitize logged message attributes
Dumping the entire attrmap risks leaking sensitive attributes (tokens, personal data, etc.). Consider filtering or redacting sensitive keys before logging, or restrict this detailed debug output to non-production environments.
|



Please check the action items covered in the PR -
Summary by CodeRabbit