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

   ## Proposed changes
   
   The Codex review workflow can produce large JSONL traces. Sending every 
Litefuse observation in a single legacy ingestion request can exceed Langfuse 
Cloud's per-request payload limit and fail with HTTP 413.
   
   This patch:
   - splits Litefuse ingestion into size-bounded requests;
   - uses compact JSON encoding for ingestion payloads;
   - adds an explicit smaller cap for agent-message context event details;
   - shrinks any oversized single ingestion event before posting;
   - passes explicit 4MB payload and 4KB context caps from the workflow.
   
   ## Validation
   
   - 
   - 
   - Parsed both related workflow YAML files and ran  over every  block.
   - Synthetic dry-run with 267 Codex events: split into 25 requests, max 
request size 395391 bytes under a 400000-byte test cap.
   - Synthetic dry-run with a single huge observation: max request size 341060 
bytes under a 400000-byte test cap.
   - Pushed the candidate to  and ran a real large fork PR review: 
https://github.com/zclllyybb/doris/pull/32
   - Origin workflow run succeeded: 
https://github.com/zclllyybb/doris/actions/runs/27212293455/job/80344393846
   - The workflow posted a real PR review from  on commit .
   - Litefuse trace uploaded and verified: , 57 observations, 15 agent 
messages, no observations missing I/O, agent-message context windows/events 
present.


-- 
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