You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spark-server: 26 literal-XML stream tests not compiled on main (lost mod decls); 2 real failures once restored (fixed in #293) #296
On main, crates/spark-server/src/api/chat_stream/qwen_literal_xml_tests.rs and glm_literal_xml_tests.rs exist, but no mod declares them. The declarations were lost when glm_tool_boundary_tests.rs was split during the #279 port, so none of their tests run.
Restoring only the test wiring on main (branch fix/restore-literal-xml-tests, 53daff5bd, no product-code changes) gives 44 passed, 2 failed:
qwen_literal_xml_plain_opener_survives_detector_done_flush: the expected text is The delimiter <tool_call> opens a tool invocation. END., but main returns END.. A literal <tool_call> opener is consumed on the done-flush path instead of being kept as text.
qwen_literal_xml_unsupported_closed_and_unclosed_envelopes_are_content: an envelope for an unregistered tool should come back as content, but main drops it on the done flush.
Both are SparkQwen 0.4.0 retention behaviour (the ba0b7bd family) that main lacks. They're fixed in the SparkQwen stack's top PR, #293, where all of these tests are restored and pass (2997/0). They'll be green on main once the stack (#284 → #293) merges.
Activity
AzeezIsh commentedon Oct 31, 2026
Fixed by #293, merged as 8c2b672. The literal-XML stream tests are compiled again and pass, along with the done-flush retention fixes.