shuke987 opened a new pull request, #67413:
URL: https://github.com/apache/doris/pull/67413

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   Litefuse 26.2 no longer accepts legacy `trace-create`, `span-create`, and 
`generation-create` events on `/api/public/ingestion`. The Code Review Runner 
kept succeeding because tracing is non-blocking, but its Litefuse step returned 
HTTP 400 and new traces stopped appearing after August 28.
   
   This change converts the existing in-memory review event model to OTLP/HTTP 
JSON spans and sends them to `/api/public/otel/v1/traces` with 
`x-langfuse-ingestion-version: 4`. It preserves trace/span hierarchy, review 
input and output, metadata, tags, model usage, payload chunking, and retry 
behavior. It also surfaces HTTP error response bodies and rejects OTLP 
partial-success responses when spans are dropped.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test / Manual test
     - `python3 .github/scripts/test_emit_litefuse_otel_io.py` (5 tests passed)
     - Live Litefuse OTLP canary write returned HTTP 200
     - Read-back verification found all 3 expected observations with valid 
hierarchy, input/output, and agent-message context
   - Behavior changed: No. This restores code review observability without 
changing review decisions.
   - Does this need documentation: No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to