fix: keep affinity out of scheduler eligibility

This commit is contained in:
RWDai
2026-05-05 11:23:54 +08:00
parent 2cbbd9ca36
commit 14eeff8f75
3 changed files with 3 additions and 21 deletions

View File

@@ -853,7 +853,7 @@ mod tests {
fn merges_proxy_trace_info_into_existing_candidate_extra_data() {
let mut existing = sample_candidate("cand-1", 1, 0);
existing.extra_data = Some(json!({
"provider_name": "Codex"
"provider_name": "Provider One"
}));
let metadata = parse_request_candidate_report_context(Some(&json!({
@@ -896,7 +896,7 @@ mod tests {
slot.extra_data
.as_ref()
.and_then(|value| value.get("provider_name")),
Some(&json!("Codex"))
Some(&json!("Provider One"))
);
assert_eq!(
slot.extra_data