You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2026/10/18 09:00:24 UTC

[PR] Draw where a model call's history changed on the page [skywalking-ai-sessionizer]

wu-sheng opened a new pull request, #78:
URL: https://github.com/apache/skywalking-ai-sessionizer/pull/78

   #77 compares each model call's history with the call before it and adds a `history.change` card where it changed. The page drew that card as an unnamed annotation. Its Prompt tab also compared two request bodies by position, which reported every Claude Code 2.1.302 request that continues a provider thread as a rewritten history, or as "the context was replaced by a summary: 20 became 2".
   
   The embedded renderer moves to Horizon `d5830a1` (apache/skywalking-horizon-ui#202), which:
   
   - draws the card just before its call, dashed and in a colour no other kind uses, with how many messages were kept, changed, dropped and added, whether their order or the system prompt changed, and what became of the earlier call's reply. A click on it, in the transcript or on the timeline, selects the call;
   - turns the Prompt tab's second mode into "What changed": it says what the comparison found, marks each message kept, changed or added where the pairing is certain, lists the messages dropped, and says a reset only where the conversation records one.
   
   `internal/view/conversation-view` is rebuilt with `tools/conversation-view.sh update d5830a1502e2c405c0ab4530b6f953f931048b03`. The changes page gains an entry under The page.
   
   ## Checked
   
   - `tools/conversation-view.sh check`, from a fresh clone, matches Horizon `d5830a1`.
   - `make check` passes.
   - `asz view` built from this branch, serving the roots of the scenarios `history-forget` and `history-threads`, driven in headless Chromium:
     - On `history-forget`, the card reads "History changed · cause unavailable" with "3 kept, 0 changed, 2 dropped, 2 added · the previous reply is included unchanged". It stands just before the trimmed call, and a click on it selects that call. "What changed" marks the call's messages kept, kept, kept, added, added, and lists the two dropped.
     - On `history-threads`, a request that continues a thread says the history before is kept whole, its 5 messages first, that it holds only its new messages, and that it added 1. No card is drawn.
     - No page errors.
   


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Draw where a model call's history changed on the page [skywalking-ai-sessionizer]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng merged PR #78:
URL: https://github.com/apache/skywalking-ai-sessionizer/pull/78


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org