Repository navigation
docs: record Realtime-Venus turn and full-duplex adaptation - #594
Conversation
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Reviewed base 3b1b4cebf0b2babba37758d3752aec59fdc9a41d and head e8d8a526b1b64cdc77d247be47d9ab6e172953f7. The diff is complete and I read all of it. I also read the governing issue #593 and its thread. prior-reviews.md shows no formal reviews, no Approve and no outstanding Request changes on this head. This review is a COMMENT and does not alter scope.
Overall: The PR is well scoped and honest about its limits. The overall verdict is INCONCLUSIVE. It makes no general speedup claim, no campaign final claim and no claim that raw logs are public. The README row and the docs/realtime-venus-vllm-omni.md text stay inside the frozen exploratory comparison. One evidence gap and one wrong pointer remain, so I can't pass yet.
Blockers
-
The per-arm result can't be recomputed from the bundle.
- On #593 (comment 7089590584 and its follow-up), zengchuang-hw asked for each arm's sanitized per-request results and timings, assertion conclusions, exact source/config digests, scripts and controller manifest, "so readers can recompute". The author's PR announcement says the bundle retains "generated responses, timings".
evidence/realtime-venus-day0/results/summary.jsonholds only the summedlatency_secondsper arm (1.18815 and 0.31323), the totalcompletion_tokens(48) and the booleanquality_passed.results/trials.jsonlholds onlyresult_sha256values for result files that are not published. Those hashes can't be checked by any reader.- The three per-request durations, per-request completion tokens, the texts behind the Paris/twenty/red assertions and the exact-text-equality outcome are therefore not inspectable. The 73.6% and 3.79× figures can only be checked as a ratio of two opaque sums.
- Fix: add a small sanitized per-arm per-request block to
summary.json. It needs seconds, completion tokens,finish_reason, the response text (or a hash plus the asserted substring) and the assertion outcomes. Audio payloads and logs can stay out. Then regenerateresults/core-integrity.json. The inventory test counts (27 bundles, 471 hashes) should not change.
-
evidence/realtime-venus-day0/patch/README.mdpoints to the wrong file.- It says "Managed source fingerprints are retained in the result summary".
summary.jsoncontains no source fingerprints. - The baseline and candidate source SHA-256 values are in
plan/runspec.json(baseline_source_sha256,candidate_source_sha256). - Fix: correct the pointer, or copy the two digests into
summary.json. If you editpatch/README.md, update its hash incore-integrity.json.
- It says "Managed source fingerprints are retained in the result summary".
Non-blocking follow-ups
validator/README.mdsayscheck.pyandmeasure.pyare byte-for-byte copies of the frozen scripts. A reader can only confirm that against thecore-integrity.jsonhashes and the operator-local controller snapshot.- The reproduce section relies on vLLM-Omni PR #10976, which is still a draft. Re-pin the section to the merged or final revision when that lands.
Verified from the diff
- Link targets exist:
docs/…↔evidence/…/README.md,plan/TASK.md,validator/README.md,patch/README.md,results/summary.jsonandresults/trials.jsonl. core-integrity.jsonlists 10 files. That matches thetests/test_evidence_inventory.pybump of 461→471 hashes and 26→27 bundles, and the newtools/evidence_inventory.jsonentry declares the operator-local artifacts as external and replay as unverified.tokenizer_probe.pyhas nine sample strings, matching the "nine fixed inputs" claim.- The
runspec.json,TASK.mdandsummary.jsonclaims agree with the frozen comparison on #593: one pair, enforce_eager true vs false, 10 Flow steps, FP32, startup and speech untimed, no final retest. - The ratio is internally consistent: 1.188145 / 0.313233 ≈ 3.793 and 73.64%.
Not verified here: I ran no tests or scripts. I didn't recompute the SHA-256 values in core-integrity.json, and I didn't check the operator-local raw artifacts, the CUDA run or the downstream vLLM-Omni PR code. CI status is not in the seed.
I'll re-read after the author pushes an update.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for @zengchuang-hw. Initial review of e8d8a526b1b64cdc77d247be47d9ab6e172953f7 against 3b1b4cebf0b2babba37758d3752aec59fdc9a41d. Approve the experience write-up and compact evidence only, not #593 acceptance, the upstream #10976 draft, or reproducibility of the original runs.
The retained protocol isolates Thinker eager versus compiled under the same adapted source and workload. The pinned controller passes the selected snapshot as working directory and first Python import location. The reported 1.188145 s versus 0.313233 s, 73.64% less / 3.793× ratio, recomputes from the compact JSON and covers just the three warm C1 text/image requests; the bundle separates the recorded exploratory round PASS from full qualification INCONCLUSIVE. Unavailable originals are registered as unavailable, not as a verified archive. No additional measurement is required for this documentation slice.
Independently checked all 11 added evidence Git blobs and 10 manifest SHA-256 entries, parsed all three Python scripts without running them, matched the four retained step IDs and three source/plan pins to #593, and recomputed the derived metrics. Did not run the service, weights, GPU, raw replay, full repo tests, or CI.
Non-blocking: patch/README.md can point directly to plan/runspec.json for the two source-content hashes instead of saying they are in the result summary.
zengchuang-hw
left a comment
There was a problem hiding this comment.
PASS
dot, acting for @zengchuang-hw. Incremental review: e8d8a526b1b64cdc77d247be47d9ab6e172953f7..af102e7f250cdf96292ae57c681578c928a01dd1 on 3b1b4cebf0b2babba37758d3752aec59fdc9a41d, following the prior scoped approval. Approve the documentation and compact evidence at this head only.
The four-file increment matches the author-reported fixed checks in the upstream draft at 460e5cd73b41d21671e38586c6e08b84bea77a86. It preserves the negative result from the initial clip and states that the thinking template changed, so the later transcript does not isolate the Flow changes or establish perceptual speech quality. These functional checks do not alter the frozen performance comparison, qualify full duplex, or close #593.
Recomputed the changed public summary SHA-256 and checked the unchanged RunSpec and trial-index digests. No independent real-weight run, raw artifact replay, CI or merge.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Incremental review: af102e7f250cdf96292ae57c681578c928a01dd1..6d320c8aa1cd26d52dea962af07fbce225401ca0, base 3b1b4cebf0b2babba37758d3752aec59fdc9a41d. The historical HTTP result and the previous documentation approval are not disputed. The new duplex trace does show one cancelled response, a later completed response with audio, and a clean close. It remains a bounded functional observation.
Before approval: the new public probe can accept a follow-up that did not complete. In the event handler, any audio-bearing response.done with a different ID sets followed_up; it need not have status="completed" or follow the fresh blue input. The send path uses an event set when the cancel was sent, not when the old response acknowledged cancellation. The final assertions verify cancellation and stale audio, but never verify the credited response's completion or relation to the new question. A distinct failed/cancelled response with some audio can therefore satisfy the documented gate. Require the old response's matching cancellation acknowledgement (or explicitly define/verify permitted overlap), bind the credited new response to the post-cancel input, and require terminal completed with audio. Add an offline event-sequence regression covering a failed or pre-input response and the valid sequence. No live rerun is needed to fix this validator.
Checked exact source and retained terminal events at this head, and kept the historical functional observation separate from the probe's future pass criteria. No live WebSocket/GPU, private originals, CI or merge.
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Reviewed base 3b1b4cebf0b2babba37758d3752aec59fdc9a41d and head 6d320c8aa1cd26d52dea962af07fbce225401ca0 (full diff). The prior Dong-bot COMMENT was on e8d8a526b1b64cdc77d247be47d9ab6e172953f7. No formal APPROVED review is on this head. Dismissed Approves from @zengchuang-hw on e8d8a526 and af102e7f were weighed as older scoped acceptance of the compact write-up; they leave 6d320c8 unapproved. This review is a COMMENT and does not change scope.
Resolved from the e8d8a52 DO NOT PASS
- Per-arm recomputation gap, for this documentation slice.
evidence/realtime-venus-day0/README.md,docs/realtime-venus-vllm-omni.md,results/summary.json(overall_verdict: INCONCLUSIVE,availability), and therealtime-venus-day0external note intools/evidence_inventory.jsonstate that per-request results, logs, and source snapshots stay operator-local and that exact original replay is unverified. The README row stays inside smoke-completed / qualification-inconclusive and does not state a general or full-duplex speedup or a campaignPASS. - Derived round metrics recompute from the published sums:
(1.1881450861692429 - 0.3132325876504183) / 1.1881450861692429 * 100 = 73.63684020607897and1.1881450861692429 / 0.3132325876504183 = 3.793172016620654, matchingmanaged_round.improvement_pctandspeedup.managed_round.scoreandbaseline_scorematch the candidate and baselinelatency_seconds. - The two quality rows in
results/trials.jsonlshareresult_sha2567567d30fe49a376af74cda62b7988999aec5268595e0d65817a45caa2ad4226b, which matchesvalidator/check.pywriting the same config-identity JSON on both arms. The two measurement row hashes differ. - The duplex follow-up stays off the frozen HTTP comparison.
results/duplex-functional.jsonmatches the doc on revision59b193b992ce3d6b5c80a583bac7d82f8a43474e, 681 passed / 6 skipped, 30+8 frames, 4 completed responses, 9 audio chunks at 24 kHz, cancelled then completed transcripts “红色。” / “蓝色。”, andstale_audio_after_cancel: 0.summary.jsonsetsduplex_followup.independent_performance_measurementto false. - Inventory expectation is 27 bundles and 474 checked hashes, which is the previous 461 plus the 13
bundle-sha256entries inresults/core-integrity.json.
Blocker
- The source-fingerprint pointer is still wrong.
evidence/realtime-venus-day0/patch/README.mdline 10 says “Managed source fingerprints are retained in the result summary.”evidence/realtime-venus-day0/results/summary.jsonhas no source content digest. The digests arebaseline_source_sha256(84d39617c2176def0a3801a034d73b85dbcbc65af304394800ad285db0337693) andcandidate_source_sha256(4ae7b34c76cecb95f95c38473444a692074a1305ebbca621aa66811304f33805) inevidence/realtime-venus-day0/plan/runspec.jsonlines 53–54.- Same false pointer as on
e8d8a526. Point that sentence atplan/runspec.json.
Not verified here
- SHA-256 values in
results/core-integrity.jsonwere not recomputed. tests/test_evidence_inventory.py, CI, GPU, weights, and the retained scripts were not executed.- Issue #593 was not re-fetched this turn; scope was taken from the in-repo bundle and the prior review record.
I will re-read after the author pushes.
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Reviewed base 3b1b4cebf0b2babba37758d3752aec59fdc9a41d and head ce17b70df006eb5459b18078c15f6e7cb5602543 (incremental 6d320c8aa1cd26d52dea962af07fbce225401ca0..ce17b70df006eb5459b18078c15f6e7cb5602543). No formal APPROVED review is on this head. Dismissed Approves on e8d8a526 and af102e7f remain older scoped acceptances of the compact write-up. This review is a COMMENT and does not alter scope.
Still open (blocker)
- The public duplex probe can still credit a follow-up that did not complete. The increment edits only
docs/realtime-venus-vllm-omni.md.evidence/realtime-venus-day0/validator/duplex_lifecycle.pyis unchanged, so the finding in #594 (review) still applies at this head (same regions as on6d320c8: event handler around L39–L60, send path around L120–L186).- Any audio-bearing
response.donewith a different ID setsfollowed_up. A completed status and a tie to the fresh blue input are both unchecked. - The send path sets its event when the cancel is sent. The old response's matching cancellation acknowledgement is unchecked (unless overlap is explicitly defined and verified).
- The final assertions cover cancellation and stale audio. They leave the credited response's completion and its relation to the new question unchecked. A distinct failed or cancelled response that still carries some audio can satisfy the documented gate.
- Before approval: require the old response's matching cancellation acknowledgement, or explicitly define and verify the permitted overlap, and bind the credited new response to a completed status and to the new question.
- Any audio-bearing
Still resolved from the e8d8a526 DO NOT PASS
- The documentation-slice claim limits stay in place. This increment does not edit
results/summary.json,results/trials.jsonl, the evidence README, ortools/evidence_inventory.json. The prior recomputation ofmanaged_round.improvement_pct/speedupfrom the published latency sums still stands for those unchanged files.
New text in this increment
- Two paragraphs in
docs/realtime-venus-vllm-omni.mdrecord a configuration-only default (realtime_venus_omni.yamlto full duplex,_duplex.yamlas an alias,_turn.yamlfor ordinary HTTP) and state that historical measurements keep their original source pins and serving modes. They also record that the adapter keeps<delegate>text and leaves the Harness executor and OpenAItool_callsout of this slice. That record leaves the probe gate unchanged.
Not verified here: YAML inheritance resolution, the duplex probe, the service, weights, GPU, raw replay, repo tests, and CI.
I will re-read after the author pushes a probe fix, or an explicit overlap contract with checks that bind the credited response.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
dot, acting for @zengchuang-hw. Incremental review: 6d320c8aa1cd26d52dea962af07fbce225401ca0..ce17b70df006eb5459b18078c15f6e7cb5602543; base 3b1b4cebf0b2babba37758d3752aec59fdc9a41d. The one-file docs update is consistent with the downstream config change: automatic selection now defaults to duplex, the duplex alias keeps that mode, and the explicit turn overlay restores turn mode. Neither the external delegation executor nor OpenAI tool_calls is implied. The historical runs retain their original mode and revision.
The public probe blocker remains. validator/duplex_lifecycle.py is byte-identical at this head, so a separate failed audio-bearing response or an unrelated early completion can still satisfy its follow-up gate. Require matching cancel acknowledgement, a response bound to new post-cancel input, and terminal completed with audio in the offline checks. This does not invalidate the retained positive trace; no GPU rerun is needed for this fix.
Compared the pinned docs, downstream overlays and unchanged probe digest. No live run, CI, approval, or merge.
david6666666
left a comment
There was a problem hiding this comment.
One retained measurement replay note.
|
|
||
| Use the issue-pinned downstream checkout, model snapshot and environment. | ||
| Reserve a GPU using the host's allocator. Supply its device through | ||
| `CUDA_VISIBLE_DEVICES`; the script inherits that allocation. The local model |
There was a problem hiding this comment.
Could the replay instructions require an exclusive, unused port 8197? The frozen harness polls /health on that fixed port, so an existing service can satisfy readiness while the new child is still starting and be measured under the new arm. Please document the prerequisite without changing the archived script.
There was a problem hiding this comment.
Codex, acting for @amy-why-3459.
Confirmed and fixed in bd93ce0 (included in current head aaed4a2). The replay instructions now require exclusive ownership of an initially unused local TCP port 8197 across both arms, a no-listener check before each arm, and completion of the previous service's shutdown. They explain why /health alone cannot identify the child process and require aborting if ownership cannot be established.
The archived measure.py is byte-identical. Only explanatory README entries were refreshed in the integrity manifest. Evidence validation passed with 485 checked hashes and no errors; 48 affected tests passed. No measurement was repeated.
ce17b70 to
d13e50e
Compare
Retain the day-0 findings, frozen measurement protocol, managed round summary and explicit validation limits. Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
d13e50e to
e4c843e
Compare
Preserve the historical probe and results; add a revised replay tool with offline event and WebSocket regressions. Correct source fingerprint links and document exclusive measurement port ownership. Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
Keep historical validation attached to its original source snapshots. Agent-assisted-by: Codex (implementation) Signed-off-by: amy-why-3459 <[email protected]>
|
Codex, acting for @amy-why-3459. Verified the review findings against the current branch and pushed bd93ce05 and aaed4a29.
The port-ownership finding is also fixed and answered in its inline thread. Validation at bd93ce0: 48 affected tests passed, including 17 new offline lifecycle regressions and a mocked WebSocket send-order test; Ruff, formatting, CLI help and diff checks passed. Evidence validation reported 28 bundles / 485 checked hashes / zero errors, with 32 unavailable external-input entries still explicit. Only the three explanatory README hashes changed; archived scripts, plans and result records retain their prior bytes. aaed4a2 adds only the downstream source link and passed its diff check. No live-model/GPU rerun or performance remeasurement; full tests on the new head remain with CI. |
Bounty-hunter
left a comment
There was a problem hiding this comment.
LGTM
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
PR review verdict — PASS
Reviewed base 62949701cb03d7ade1c9d6fe71fb7923191cb627 and head aaed4a2912ddbc8a2b8f19c7eec887459c9fabc8, including the increment ce17b70df006eb5459b18078c15f6e7cb5602543..aaed4a29 (bd93ce05, aaed4a29) and the earlier blocking reviews on this PR. The prior probe finding is resolved.
Evidence
tools/realtime_venus_lifecycle.pynow enforces the ordered barriers:request_clear()requires the matchingcancelledterminal,mark_fresh_input_sent()requiresinput_audio_buffer.cleared, a response is credited only when its firstresponse.createdarrives after fresh input, andvalidate()requires nonempty audio, terminalcompleted, and zero audio from the cancelled response after acknowledgement.tests/campaigns/test_realtime_venus_lifecycle.pyadds 17 offline cases covering failed/cancelled/incomplete terminals, pre-input responses, a mismatched cancel, unsolicited clear, missing created/audio/terminal, duplicate terminals, stale audio, and a mocked send-order WebSocket test.- The archived
validator/duplex_lifecycle.pykeeps its bytes for provenance, and the docs, evidence README and validator README explicitly say it cannot qualify a new run; the frozen plan is identified as the historical command. This preserves the retained positive trace without letting the archived gate admit new results. evidence/realtime-venus-day0/patch/README.mdnow points atplan/runspec.json; I confirmedbaseline_source_sha256andcandidate_source_sha256are present there.aaed4a29pins the integrated downstream contribution to merged commit123c96e4a81a597e08526d46c54dc2325fc01488while keeping historical observations on their original pins.- At this head,
full-check (3.10),full-check (3.11),installed-package (3.10),installed-package (3.11),lint-and-smoke,declarations,dashboard-browserand both advisory host-compatibility checks are success.
The earlier per-arm recomputation gap and source-fingerprint pointer are addressed by the explicit INCONCLUSIVE scope and the corrected pointer. I did not re-run the live WebSocket probe, the model or GPU; the new probe has no live-model result attached, and I did not recompute the archived bundle hashes. This review covers the documentation, probe logic, offline regressions and the recorded CI state, not a new performance or semantic-quality claim.
zengchuang-hw
left a comment
There was a problem hiding this comment.
NO PASS
回应本条点名。对照上轮 ce17b70d,现检视 aaed4a2912ddbc8a2b8f19c7eec887459c9fabc8,基线 62949701cb03d7ade1c9d6fe71fb7923191cb627,只覆盖本 PR 的回放探针和文档/证据,不作 #593 验收。
新版探针还有一处发送/接收竞态。 run() 在 await ws.send(...) 返回后才设置 fresh_input_sent;接收任务已经独立运行。如果帧已发出但 send 仍在等待写缓冲,已经因蓝色输入开始的 response.created 可能先被处理。当时不会进入 followup_responses,随后合法的音频和 completed 也无法挽回,探针会把有效恢复判为超时。当前 mock 的 send 入队后不让出事件循环,覆盖不到这个顺序。请让输入发送和响应归属使用同一个有明确顺序的边界,并补一条 mock 回归:服务端在 send 返回前收到新帧并发回 response.created。修复也应保留对真正发送前创建的响应的拒绝,不能简单放宽判定。
其余上轮问题在新版路径上已收敛:匹配取消 ID,等待 clear,且只接受新响应的非空音频和终态 completed。旧探针仍作为历史脚本保存,新版没有被当成已上线实测。查阅了相关代码、mock、#593 范围与历史脚本 blob;尝试隔离运行定向用例,但当前环境缺少 pytest。未做实机或 CI 验证、不批准本提交。
Dong1017
left a comment
There was a problem hiding this comment.
LGTM
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-opus-5-5).
PR review verdict — PASS
Reviewed base 62949701cb03d7ade1c9d6fe71fb7923191cb627 and head aaed4a2912ddbc8a2b8f19c7eec887459c9fabc8. That covers the full PR diff against the merge base and the increment since my last DO NOT PASS on ce17b70df006eb5459b18078c15f6e7cb5602543. All my earlier blockers are resolved. The approval covers the documentation, the compact evidence, the revised offline probe logic and its regressions. It does not cover #593 acceptance, a live duplex rerun or any performance or quality claim beyond INCONCLUSIVE.
Prior findings, new observations, what I ran
Prior Dong-bot blockers
- Source-fingerprint pointer (
e8d8a526,6d320c8a): resolved.evidence/realtime-venus-day0/patch/README.md:10-11now links../plan/runspec.jsonand namesbaseline_source_sha256/candidate_source_sha256. Both fields are present inplan/runspec.json. - Duplex probe credits a non-completed follow-up (
ce17b70d, after zengchuang-hw's finding on6d320c8a): resolved for new runs. Intools/realtime_venus_lifecycle.py:request_clear()(L40-44) requires the matchingcancelledterminal for the cancelled ID (L67-68).mark_fresh_input_sent()(L46-48) requiresinput_audio_buffer.clearedafter a requested clear (L54-56).- Only a response whose first-seen event is
response.createdafter fresh input gets credited (L57-59,seen_responsesL80-81). - Crediting also requires terminal
completedwith nonempty audio on its first terminal (L69-77). validate()(L83-88) keeps the stale-audio check.- The archived
validator/duplex_lifecycle.pykeeps its original bytes.docs/realtime-venus-vllm-omni.md:137-144, the evidence README andvalidator/README.md:74-108say it cannot qualify a new run and that the revised probe has no live result.
- Per-arm recomputation gap (
e8d8a526): remains resolved by the explicit operator-local and INCONCLUSIVE scope, as recorded on6d320c8a.summary.json,trials.jsonland the inventoryexternalnote are unchanged in scope. - Non-blocking follow-up from
e8d8a526, the draft downstream pin: done. The reproduction section (docs/realtime-venus-vllm-omni.md:194-200) pins merged commit123c96e4a81a597e08526d46c54dc2325fc01488. Historical observations stay on their original pins. - @david6666666's port-8197 note: addressed in docs.
validator/README.md:15-22requires exclusive ownership of an unused port and a no-listener check before each arm.measure.pyis byte-identical.
New observations (non-blocking)
- On zengchuang-hw's send/receive race at this head (
run(),tools/realtime_venus_lifecycle.py:233-249):mark_fresh_input_sent()runs only afterawait ws.send(...)returns. With websockets 17,send()can yield indrain()when the transport is paused (default high-water mark 32 KiB, and one append frame is roughly 50 KiB). I agree the ordering is not strictly enforced.- I don't treat it as a blocker. The failure is fail-closed: a valid recovery would time out, but no invalid response could pass. To trigger it, the server would have to receive the whole frame, start a response and get
response.createdprocessed before the client's drain waiter resumes. No claim in this PR depends on a live result from the revised probe. - Suggested fix: call
gate.mark_fresh_input_sent()immediately before the first bluews.send. Input is already cleared and acknowledged at that point, so this does not admit earlier responses. Add a mock whosesendyields and injectsresponse.createdbefore it returns.
- I don't treat it as a blocker. The failure is fail-closed: a valid recovery would time out, but no invalid response could pass. To trigger it, the server would have to receive the whole frame, start a response and get
- "Binds the response to the fresh-input phase" is a temporal ordering check. A late response still driven by pre-clear state would be credited if it is first created after the blue send. The docs already say this is not a semantic check (
validator/README.md:96-98), so I'm noting it only for future readers.
What I ran (CPU only, Python 3.11 venv, websockets 17.4)
pytest tests/campaigns/test_realtime_venus_lifecycle.py tests/repository/test_evidence_inventory.pypassed (34 tests).ruff checkandruff format --checkon the new tool and test passed.python tools/validate_evidence.pyreportederrors: []andchecked_hashes: 485, which matches the test's 28 bundles / 485.- I recomputed SHA-256 for all 13 entries in
results/core-integrity.json, and all match. Only the three README hashes changed sincece17b70d. - CI at this head: every reported check is SUCCESS.
Not verified: the live WebSocket probe, model weights, GPU, the original raw artifacts and the downstream merge commit's code.
|
deepseek-v4.1-flash (agent), acting for @Bounty-hunter. Post-merge check — the NO PASS ordering finding is real; a follow-up fix is still needed. DetailsI checked the review at In The mock at My earlier APPROVE on this head predates the finding; I am not reopening the merged verdict. For a follow-up, make the write and the fresh-input marker one ordered step so no response can be attributed in the gap, while still rejecting a response created before the write, and add a mock where the server returns I did not run the probe or CI; this is a source-level check of the merged revision. |
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Reviewed base 62949701cb03d7ade1c9d6fe71fb7923191cb627 and head aaed4a2912ddbc8a2b8f19c7eec887459c9fabc8. This is a re-check of the revised probe only, prompted by the 05:40Z mention and the findings that came in after my 06:31Z Approve on this head. That Approve stays on record. It covered the docs, the compact evidence and the offline gate logic. This COMMENT does not retract it. It also does not change the PR's scope, and the thread says the PR is already merged.
Blocker (follow-up needed): the fresh-input marker is set after the send returns, not with it.
- In
tools/realtime_venus_lifecycle.py,run()doesawait ws.send(<first blue frame>). It then callsgate.mark_fresh_input_sent()onlyif offset == 0, after that await returns. - The receiver task runs independently. If
send()yields after the frame is written, for example while awaitingdrain()on a full write buffer, the server'sresponse.createdfor the blue input can reachLifecycleGate.record()first. - At that point
fresh_input_sentis still False.record()only adds a response tofollowup_responseswhenself.fresh_input_sentis True, so this response is not added.seen_responsesstill gets the id. - Its later nonempty audio and
completedterminal therefore cannot setfollowed_up. A valid recovery times out atwait_for(gate.followed_up.wait(), 40). - Zengchuang-hw (6052786516) and Bounty-hunter (7155163054) reported the same ordering gap. I confirmed it in the code.
- Severity: this fails closed. It cannot admit a failed or pre-input response, so it is a false negative, not the earlier false-positive class. The retained positive trace is unaffected. It still means the revised probe can reject a correct run, which is the property this PR advertises.
Test gap
- In
tests/campaigns/test_realtime_venus_lifecycle.py,Socket.send()queues the server events withput_nowaitand never yields. The test cannot reach the order above. - The existing gate tests cover the opposite direction. They show that a response created before the marker must not be credited. A fix has to keep that.
Suggested shape of the fix (non-blocking on wording)
- Make the write and the marker one ordered step. For example, set a "send in flight" marker before the first blue
ws.send, and attribute only responses first created after that point. - Then add a mock where the server emits
response.createdwhilesend()is still suspended. - Keep rejecting any response created before the marker was set.
Verified: I read the diff and run() and LifecycleGate. I also read the mock's send path against the findings.
Not run: no tests, CI, live WebSocket or model run. Verdict stays DO NOT PASS until the probe is fixed in a follow-up PR or a push, and I will re-read it when that lands.
Scope
Refs #593. Record the requested Realtime-Venus adaptation experience from vLLM-Omni PR #10976, with its concrete loader failures, shared-stage integration, precision/sampling boundaries and remaining validation gaps. This PR delivers documentation, a compact evidence bundle and a revised lifecycle replay probe with offline regression tests; it does not change the controller, promote a knowledge-library record, or close the acceptance issue.
Evidence
The bundle retains the exact frozen measurement scripts, RunSpec, source-content identities, derived summary, complete managed-round step index and integrity manifest. The native config must cover both direct loading and AutoConfig dispatch; processor registration must be restored on failure; inherited five-step/FP16 Flow settings must not be mistaken for a quality-neutral execution optimization.
One eager and one compiled invocation measured three fixed warm C1 HTTP text/image requests: 1.188145 s versus 0.313233 s in aggregate, with identical output text. The controller recorded
PASSfor that frozen exploratory round. Overall qualification remains INCONCLUSIVE: no independent final retest under the explicit single-measurement constraint, no perceptual speech scoring, no broad sustained-duplex or external delegation/memory qualification and no public raw archive. This is not a general 3.79× model-speed claim. Original snapshots, logs, media and per-request results remain local; exact original replay is unverified.The README links the case as model bring-up, and the evidence inventory/test counts include the new bundle. No protected knowledge paths are changed.
Full-duplex follow-up
The updated downstream source
59b193b992ce3d6b5c80a583bac7d82f8a43474eadds a native duplex profile, one-time speech-tail flushing across delegation units, synthesis restart and silent-text delivery independent of dialogue termination. The case explains why filtering rows alone is insufficient and records the isolated-import regression that caught an import cycle during implementation.The separate functional bundle records 681 passed / 6 skipped downstream regressions, four completed responses and nine audio chunks from paced audiovisual input, and a natural-input reconnect/cancel/recovery probe. The latter answered red, acknowledged cancellation, then answered blue in a new completed response with no old audio after cancellation acknowledgement. Its archived probe matches the executed
run()AST; it does not falsely acknowledge playback or retain resume tokens.Negative results remain explicit: the complex video fixture had a wrong first color answer, the released reference also made incorrect descriptions under different decoding/synthesis settings, and seeded-story recovery repeated its original context. These do not establish semantic parity. Delegation-specific paths have CPU regression coverage, not exhaustive real-generation coverage. The original managed performance experiment remains unchanged; no full-duplex speedup is claimed.
Deployment default follow-up
The case now records the downstream default change:
realtime_venus_omni.yamland automatic selection use full duplex,
_duplex.yamlremains an alias, and_turn.yamlselects ordinary HTTP serving. A resolved-config comparison verifiedthat both modes retain their previously tested settings; 74 downstream config/API
tests and applicable pre-commit hooks passed. The deployment-default note retains
the original measurement revisions and serving modes. It also clarifies the remaining boundary between model delegation and Harness/OpenAI
tool-call integration.
Replay corrections
The archived lifecycle probe could accept a failed or pre-input audio response.
tools/realtime_venus_lifecycle.pyprovides a revised probe that waits for matching cancellation and input-clear acknowledgements, sends fresh blue input, and credits only a response first created in that phase with nonempty audio and terminalcompleted. Offline sequence tests and a mocked WebSocket test cover the false-positive cases and the send barriers.The original scripts, plans and result records remain byte-identical; the revised probe has no live-model result attached. Documentation distinguishes the two versions, fixes the source-fingerprint link to
plan/runspec.json, requires exclusive unused port 8197 for measurement replay, and pins the integrated downstream contribution to merged commit123c96e4a81a597e08526d46c54dc2325fc01488. Only three explanatory README hashes changed in the bundle manifest. No measurement was repeated.Anchors touched: none.
Checks
bd93ce05: 48 affected tests passed, including 17 new lifecycle regressions, the Qwen protocol-identity tests, evidence inventory and template-layout checks.ruff check src tests tools, formatting checks for the new Python files, probe CLI help andgit diff --check: passed.aaed4a29commit only pins the downstream source in documentation; its diff check passed.The downstream implementation passed 169 related regressions, 72 affected tests after a static-check correction, all applicable pre-commit hooks, and real-weight text/image/speech smoke checks. Final-head checks also covered automatic deployment selection, Chinese/video inputs and a final-profile speech round-trip against the isolated reference. The initial bring-up waveform transcribed incorrectly in both implementations; this negative result and the limits of attributing it to any one generation setting are retained. Full repository tests, independent review and full-model quality acceptance are not claimed. The governing issue remains open for its owner to assess outstanding scope.