Skip to content

[Test] managers: Check output_ids in the router grouping test - #47335

Merged
hnyls2002 merged 1 commit into
mainfrom
lsyin/fix-router-split-test-assert
Oct 29, 2026
Merged

hnyls2002 merged 1 commit into
mainfrom
lsyin/fix-router-split-test-assert

Conversation

@hnyls2002

@hnyls2002 hnyls2002 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

test_multi_tokenizer_mixin.py::test_router_groups_token_output_without_speculative_decoding fails on main with AssertionError: None != [10, 20].

#47249 replaced the test's decoded_texts assertion with prompt_tokens == [10, 20], while #47178 made BatchTokenIDOutput.prompt_tokens a Rust-server-only column that this fixture no longer sets. Each PR passed on its own; together the assertion reads None.

The assertion now checks output_ids, another per-row field the fixture sets, so the test still guards that grouping keeps per-row lists intact.


CI States

Latest PR Test (Base): ❌ Run #40958650528
Latest PR Test (Extra): ❌ Run #40958650694
Latest PR Test (AMD ROCm 10): ❌ Run #40958650671

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@hnyls2002

Copy link
Copy Markdown
Collaborator Author

/rerun-test test_multi_tokenizer_mixin.py

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🚀 ubuntu-latest (1 test): ✅ View workflow run

cd test/ && python3 registered/unit/managers/test_multi_tokenizer_mixin.py

@hnyls2002
hnyls2002 merged commit d89a1b1 into main Oct 29, 2026
118 of 132 checks passed
@hnyls2002
hnyls2002 deleted the lsyin/fix-router-split-test-assert branch October 29, 2026 21:35
Yuxingwang-intel pushed a commit to Yuxingwang-intel/sglang that referenced this pull request Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant