Skip to content

fix null value issue for udf_txn_uuid and txn_uuid#132

Merged
jagan-jaya merged 3 commits into
mainfrom
fix/udf_txn_uuid
Sep 1, 2025
Merged

fix null value issue for udf_txn_uuid and txn_uuid#132
jagan-jaya merged 3 commits into
mainfrom
fix/udf_txn_uuid

Conversation

@PriyanshuC132
Copy link
Copy Markdown
Collaborator

fix for gateway_score inserts without txn_uuid, so added txn_uuid and udf_txn_uuid in the logs

Copilot AI review requested due to automatic review settings August 4, 2025 03:38
Copy link
Copy Markdown
Contributor

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 addresses a null value issue in gateway_score inserts by ensuring that both udf_txn_uuid and txn_uuid fields are properly logged with transaction UUID values.

  • Adds txn_uuid field to tracing span initialization alongside existing udf_txn_uuid
  • Records both fields with the same transaction UUID value from the payload in decision gateway route
  • Includes txn_uuid in the logger formatter's field list for proper output

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/utils.rs Adds txn_uuid field initialization to tracing span setup
src/routes/decision_gateway.rs Records both udf_txn_uuid and txn_uuid with transaction UUID from payload
src/logger/formatter.rs Includes txn_uuid in the logger's field output list

Comment thread src/routes/decision_gateway.rs
Comment thread src/routes/decision_gateway.rs
@jagan-jaya jagan-jaya merged commit 5a588c3 into main Sep 1, 2025
4 of 6 checks passed
@jagan-jaya jagan-jaya deleted the fix/udf_txn_uuid branch September 1, 2025 09:25
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.

4 participants