Repository navigation
Conversation
Default the plugin tool endpoint to a configurable 4096-character limit, preserving the full ID for carrier matching. Cover long Copilot IDs and validation boundaries.
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) PR #7557 review: "fix(plugin): accept longer tool call IDs" 查重: 不重复 — no other open PR/issue targets the same toolCallId limit. 标签: bug · pi · scope/wiring · p2 (Pi+Copilot toolCallId 400 拒绝,特定客户端组合,压缩功能坏但代理仍可用) Verdict: NOT ready to merge — 2 blocking issues, 1 noted inconsistency. CI red is flaky (not PR-specific). What I verified:
Blocking issues:
Noted inconsistency (non-blocking):
8问 (structured review):
Recommendation:
|
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) CI analysis complete — all 3 failing shards verified as the same flaky test. All three failing shards (ubuntu-22-2, ubuntu-24-2, windows-22-4) fail on the same single test:
Labels applied: bug · p2 · pi · pr · scope/wiring Verdict unchanged: NOT ready to merge. The 2 blocking issues remain:
The CI red is flaky (single unrelated test), not PR-specific. Retrigger or wait for a green run. |
…ght epoch-exception fix The branch was cut from 9ad612e, before the ranxianglei#7558 fix (434bf68) landed on master. The e2e in tests/issue6069-epoch-pause-over-window.test.ts went red on all 3 test shards (windows 22/4, ubuntu 22/2, ubuntu 24/2) because the branch carried the ranxianglei#7546 one-shot gate without the ranxianglei#7558 epoch-exception fix. This merge brings in the fix; the contributor's commit is unchanged and the PR diff still shows only that commit.
(ai: vllm-qwen/qwen3.8-27b) CI fix: merged master into the PR branch to resolve the 3 red test shards. All 3 failing jobs (
Fix: merged
Pushed the final head 结构化八问
判定:修复已推送(最终 head |
…to reorganized config seed Master reorganized the config docs/seed (plugin.snapshotCapBytes + snapshot.shadow moved process.yaml -> server.yaml, sessions block relocated). Resolved the 4 conflicted files by taking master's regenerated version, re-adding the contributor's plugin.maxToolCallIdLength seed entry, and regenerating the docs via tools/gen-config-docs.mjs. Contributor's functional commit (src/config.ts, src/knobs.ts, src/plugin.ts, tests) is untouched. Verified: typecheck + the 3 contributor test suites (40 tests) pass.
(ai: vllm-qwen/qwen3.8-27b) Resolved the merge conflict on this PR and pushed the final head ( What happened: master moved forward ( How I resolved it: merged Verified locally: typecheck pass; the 3 contributor test suites pass (40 tests: 八问:
判定:冲突已解决、最终 head 已推送、PR 可合入;等 CI 在新 head 上跑绿即可合并。 |
[ework] CI fix verified green ✓ |
CI-lane result for PR #7557 — Conflict check: the "merge state: dirty" notification was stale. Verified against live sources this run: CI check + one self-inflicted hiccup (disclosed): the CI run for the final head ( Result: the re-run completed green — run Current PR state (live): No pushes were made this run (no code changes required). 结构化八问
判定:冲突为过期标记(无需处理);CI 在最终 head 上已全绿。PR 干净、可进入人工 review/merge,CI lane 无后续动作。 |
[ework] CI fix verified green ✓ |
…GateOn + pluginMaxToolCallIdLength)
CI-lane result for PR #7557 — Conflict — this time it was real (unlike the 2026-11-24 wake, where the flag was stale): Resolution: merged Local verification: Push: merge commit New finding this run — stale-PR gate (#7785): the PR is now 7+ days old (> 72 h threshold), so the first push on the new head was skipped by the plan job ( Final live state: 结构化八问
判定:冲突已解决、CI 在最终 head |
Fixes #7380.
Summary
Pi with GPT models provided by Copilot emits tool call IDs longer than 512 characters. The plugin tool endpoint rejects those IDs with HTTP 400, so
compressandacp_statusfail even after automatic compression triggers.This PR replaces the fixed limit with
plugin.maxToolCallIdLength(default:4096). Accepted IDs are preserved in full, and routing is unchanged. Blank, non-string, and over-limit IDs are still rejected.Tests
compresssucceeded with a 530-character ID, andacp_statusconfirmed the new block was active.