Repository navigation
Conversation
|
(ai: openai/gpt-6) CI triage for head
The other five test lanes and both static-gate lanes passed. This PR's local 63 targeted tests, typecheck and build passed. Full-suite CI is still red: an upstream maintainer must rerun the failed job after addressing the CI prerequisites. Both the connector and Git credential REST rerun attempts returned permission errors ( |
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 — 本 PR 就是 #4297 的修复 PR(一一对应)。检索 open+closed 中 4xx dump / dump4xxMaxBytes 相关条目:#2412/#2575 是聚合保留策略(目录级 size/age retention,不同机制)、#1994 只是引入了 summary dump writer、#2037 是 knob 解析层——均不覆盖「单文件最终 UTF-8 字节上限」这个契约。无并列在途修复。 标签: bug + scope/other + p3(诊断 dump 文件超出配置的每文件字节上限;opt-in 功能、默认关闭、无可用性影响;N 类服务端杂项) 审核进行中,先报阶段性结论:
|
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复。 本 PR 对应 #4297(单文件 4xx dump 的 UTF-8 字节上限契约)。检索 open+closed 中
三者都不覆盖「最终落盘文件 ≤ 配置字节数」这条契约,#4297 是它们都没碰的新机制面,独立成立;也没有第二个 issue/PR 在修同一机制。 正在做独立审核(不复用 issue 侧结论):① 把新回归测试回放到旧实现验证「先红后绿」;② 逐行核对字节预算数学(含 marker 预留、envelope overhead、两侧分账);③ 清点既有行为回归面;④ 定向跑相关测试 + typecheck,全量交给 CI。结论稍后按结构化八问回复。 |
(ai: vllm-qwen/qwen3.8-27b) Review 结论:可合(待当前 CI 重跑完成确认)查重:不重复(首条回复已给理由,此处不重复展开)。 是什么问题:文档承诺「单个 4xx 诊断 dump 文件不超过 什么原因导致的:预算维度错位——承诺的是「最终落盘 UTF-8 字节数」,实现数的却是「格式化前的字符串长度」;多字节膨胀、转义膨胀(控制字符最多 6 倍)、信封开销全部游离在预算之外。 影响范围与严重程度:只影响显式打开 怎么修复的:改为对「最终输出字节」做预算——先算出固定信封开销,剩余预算在 request/response 间分配(request 优先、保底一半),每侧用既有的 surrogate-safe 前缀助手按字节截断,并预留最长截断标记的空间;body 美化打印仅在原文就装得下时进行(防止拒绝大 body 时临时序列化失控)。数学上保证 文件 = 信封 + 两侧 ≤ cap 恰好成立。 独立验证(不依赖作者声明,均在本机 PR head 上重跑):
行为变更披露(全部限定在「用户已开启 4xx dump」的前提下):
是否有回归问题:逐项清点既有行为——默认关闭提前返回不变;小 body 路径输出逐字节一致;Buffer 输入、精确上限边界、一侧小一侧大、禁用门均有测试钉住;dump 是旁路产物,不进 wire/会话/缓存状态。未发现回归。 是否破坏缓存:不涉及(诊断产物,不进入任何缓存/重试/游标/去重路径)。 是否改了设计方向:不涉及。是否引入新配置:不涉及(schema/默认值/env 零变更)。 其他:diff 干净(2 文件、单模块、纯 fix、Closes #4297);PR base 落后 master 若干提交( 标签:bug + scope/other + p3(诊断车道缺陷,默认关闭,仅磁盘超限)——已在位,未改动。 判定:可合——rebase 到最新 master 且当前 CI 重跑全绿后即可合并。 |
(ai: vllm-qwen/qwen3.8-27b) 审核完成(独立重审,非复读 issue 结论)。结构化八问:
验证证据(本地定向,非全量):
CI 状态(合并判定的唯一权威,当前未齐):原推送的 CORE 矩阵里 判定:代码审核通过——根因修法正确、预算数学经手工推演无懈可击、测试有牙且红先绿后已实证、diff 干净(2 文件 +121/-15,每行都与目的相关)、无无意回归。暂不定「可合」:等重跑的 windows 22/2 腿结果——转绿即可合;若确定性复红则是平台相关的测试/环境问题,需要日志定位后再定。我不会代合(PR 合并只归人)。 |
(ai: vllm-qwen/qwen3.8-27b) 补一条 CI 处置记录(接上条八问):今天 10:11 UTC 平台对同一 head SHA 自动重触发的两批 CI 互相顶掉、全部 cancelled,测试腿没跑起来;我尝试用 workflow_dispatch 手动补跑,但 PR head 在 fork 上、base 仓库看不到该 ref(API 422: No ref found),agent 侧无法代发。所以那条红的 判定维持不变:代码审核通过,合并绿灯等这条 windows 腿转绿。若它确定性复红,把 job 日志贴出来(本环境拉不到 Actions 日志),我按日志定位——重点会看是不是新测试的平台相关问题(我在 Linux 上已排除逻辑层面问题:63/63 定向通过 + 红先绿后实证)。 |
Closes #4297
Category N — diagnostics. With a 1024-byte dump4xxMaxBytes setting, a 1025-character ASCII request produced a 1058-byte file, and a multibyte summary exchange produced 2494 bytes. The old code counted UTF-16 units before formatting and independently capped the two summary sides, excluding JSON escaping, the envelope and truncation markers.
Budget the final UTF-8 output, including the truncation marker. Summary request/response strings share the remaining envelope budget; small sides remain complete and truncated envelopes remain valid JSON. Use the existing surrogate-safe prefix helper. Keep temporary serialization bounded when rejecting a large body. This restores the documented per-file byte cap; no config schema or default changes.
Validation: new regressions first failed on the old implementation (3 failures), then all 63 related tests passed across error-dump, text-safe, issue1993-preflight-400, reasoning-echo-400, state-gc and knobs-config-precedence. Tests inspect actual disk byte sizes and parse summary envelopes; cases include Chinese, emoji, Buffer input, JSON pretty-print growth, escaped controls, both oversized sides, exact-limit and one-byte-over boundaries, and small-body/disabled gates. Two code-review passes completed. npm run typecheck and npm run build pass against current master 94f75cc. Existing kernel sideEffects and pi CONFIG_DIR_NAME build warnings remain. Full-suite validation belongs to the remote CI lanes on this pushed head.