mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-26 00:53:48 +00:00
* fix(core): bound backward transcript pages in long single-turn sessions * fix(core): keep byte budget when backward turn alignment fails Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> * fix(core): keep tool call/result pairs intact on backward pages * refactor(core): share replay turn-start predicate with ACP history selection * fix(core): bound backward pair extension for long tool_result runs * fix(core): bound backward pair extension by the page byte budget * fix(core): cap backward page expansion at a shared byte ceiling Turn-alignment expansion was record-bounded only, so a byte-heavy turn whose start sat within the expansion window could absorb records past the workspace route's response cap and dead-end backward pagination at that anchor on every retry. Gate both turn-alignment and pair extension at a shared hard page ceiling (SESSION_TRANSCRIPT_MAX_EXPANDED_PAGE_BYTES); the route derives its serialized-response cap as twice that value so the caps cannot drift. Also accept the expansion floor only when it is a real turn boundary, so pages inside a long turn stay `limit` records instead of `2 * limit`, and exclude interleaved realtime conversation records from the pair-boundary predicate so the pair walk passes through them to the owning call. Extension skips are logged with a reason, and backward chaining under maxBytes is covered by tests. * fix(core): bound backward pagination expansion and mid-turn turn starts * fix(core): pair tool calls with results across backward pagination and bulk replay Exempt the force-joined owner from the pair-extension byte budget so an oversized tool-call record no longer splits its pair by construction, and mirror the same pair-extension guard onto the ACP bulk-replay selector. Deduplicate the bounded boundary walk into a shared findBoundaryAtOrBefore, harden the ceiling-clamp byte-budget tests, pin mid-turn notification classification, and refresh the stale bulk-load contract sentence. --------- Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: qwen-code-dev-bot <qwen-code-dev@service.alibaba.com> Co-authored-by: Qwen Autofix <autofix@qwen-code.dev> |
||
|---|---|---|
| .. | ||
| web-shell-pane-header-actions | ||
| 2026-07-16-web-shell-git-status-diff.md | ||
| 2026-07-16-web-shell-transcript-batched-dispatch.md | ||
| 2026-07-19-web-shell-git-log.md | ||
| 2026-07-19-webshell-worktree-sessions.md | ||
| web-shell-advanced-table-controls.md | ||
| web-shell-artifact-download.md | ||
| web-shell-bounded-transcript-and-subagent-details.md | ||
| web-shell-composer-performance.md | ||
| web-shell-composer-workspace-selector.md | ||
| web-shell-context-panels.md | ||
| web-shell-custom-slash-command-actions.md | ||
| web-shell-file-previews.md | ||
| web-shell-github-prs.md | ||
| web-shell-history-boundary-pagination.md | ||
| web-shell-history-pagination.md | ||
| web-shell-markdown-chart.md | ||
| web-shell-monitor-details.md | ||
| web-shell-non-primary-session-archive-hardening.md | ||
| web-shell-pane-header-actions.md | ||
| web-shell-plugin-shadow-surfaces.md | ||
| web-shell-prompt-send-failure-retry.md | ||
| web-shell-secondary-workspace-voice.md | ||
| web-shell-selective-shadow-dom.md | ||
| web-shell-session-created-callback.md | ||
| web-shell-session-source-filter.md | ||
| web-shell-skill-manager-page.md | ||
| web-shell-specular-composer-animation.md | ||
| web-shell-table-selection-statistics.md | ||
| web-shell-voice-mode.md | ||
| web-shell-workspace-history-session-drafts.md | ||
| webshell-composer-placeholders.md | ||
| webshell-mention-icon-chips.md | ||
| webshell-voice-button-visibility.md | ||