feat: add trace for whole workflow#24883
Conversation
1. Add build:web script. 2. Add trace for workflow (per-request JSON, middleware, Effect ref, deferred persist for prompt_async). 3. Use part_deltas to record each chunk (aligned with session.updatePartDelta / message.part.delta); model_stream_text and TTFT kept in workflow-trace. Made-with: Cursor
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, the only PR that appears in the results with the exact same title "feat: add trace" is PR #24883, which is the current PR itself. The searches found related PRs that involve tracing functionality:
However, these are different from the current PR #24883 (they're either documentation, different tracing implementations, or fixes). Without seeing the full description of PR #24883, I cannot definitively determine if any of these are true duplicates. No duplicate PRs found with the same scope as PR #24883. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Issue for this PR
Closes #
Type of change
What does this PR do?
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.