Repository navigation
fix(discovery): [cherry-pick 1.5.1] stop a Qwen3-VL worker from serving video with another worker's contract (#14624) - #14962
Conversation
Backport PR #14624 at a67101f as a single commit, excluding unrelated main-branch merges. Preserve release/1.5.0 checksum behavior because it does not contain the Nemotron contract checksum support. Include the Qwen checksum regression test and all discovery changes from the source PR. Signed-off-by: jthomson04 <[email protected]>
| } | ||
| } | ||
|
|
||
| /// Splits a fingerprint back into the MDC checksum and video contract it carries. |
There was a problem hiding this comment.
This doc comment only restates the helper name and the immediately visible split_once return values; it does not record a constraint beyond the code.
🤖 AI Fix
Remove the redundant doc comment.
| Ok(()) => { | ||
| // The replacement has taken over, so retire the sender the | ||
| // superseded pipeline was watching. | ||
| group.retained = None; |
There was a problem hiding this comment.
After a retained pipeline is successfully replaced, this drops its only admission sender without first publishing an empty set. The admitted-client updater treats the closed watch channel as terminal and retains its last filtered instances, so any still-referenced retired WorkerSet can continue routing to workers under the old video contract after the successor is committed. Clear the retained sender before dropping it.
🤖 AI Fix
Send an empty admission list through the retained pipeline's sender before removing the retained pipeline on successful replacement.
| Ok(blake3::hash(&serde_json::to_vec(&value)?).to_string()) | ||
| } | ||
|
|
||
| /// Hashes the published Qwen video prompt-expansion contract. |
There was a problem hiding this comment.
This doc comment merely expands the function name, while the canonicalization and BLAKE3 hash are explicit in the function body.
🤖 AI Fix
Remove the redundant doc comment.
| "two workers publishing different contracts must still serve as one group" | ||
| ); | ||
|
|
||
| // Negative control: a deployment that never carries this key is |
There was a problem hiding this comment.
This negative control covers arbitrary runtime_data checksum behavior, not the Qwen video contract regression. The preceding Qwen-specific assertions already protect the supported contract that missing, present, and differing Qwen video contracts stay out of mdcsum() so those workers can share a WorkerSet.
🤖 AI Fix
Remove the unrelated some_unrelated_runtime_key negative-control block from this test.
|
Held for Dynamo 1.5.1. release/1.5.0 is closed at RC11, the 1.5.0 GA build, so this cherry-pick must not merge there. Converted to draft; it retargets to release/1.5.1 as soon as that branch is cut (patch targeted for 2026-09-30). Tracked on the Dynamo 1.5.1 cherry-pick canvas. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Backport #14624 at
a67101fe5dcc949a2c93afc3e9e186a6014f7331torelease/1.5.0as one commit. The source PR was still open when this backport was prepared.Qwen3-VL workers with different video processor contracts stay in the same WorkerSet. Exact video routing is disabled when the workers do not agree on a contract. A valid committed WorkerSet keeps serving while a membership-driven replacement is built; contract changes on retained workers withdraw a stale pipeline.
The discovery changes apply unchanged. Resolve the
model_card.rsconflict by preserving the release branch's checksum implementation and adding the Qwen regression test. The release branch does not have the source branch's Nemotron contract checksum support, so this backport does not add that separate feature or its test.Validation
git diff --check.cargo test -p dynamo-llm --no-default-features --lib video --locked: 18 passed.cargo test -p dynamo-llm --no-default-features --lib discovery:: --locked: 214 passed, including all five controller regressions added by the source PR.--no-default-features; default-feature, multimodal-feature, and GPU integration tests were not run.