Repository navigation
test: fix two stale expectations failing main's chat and unit jobs - #4844
Merged
kovtcharov-amd merged 2 commits intoOct 6, 2026
Merged
Conversation
Main's Test Chat Agent job fails: amd#4827 made summarize_document pass max_tokens=SUMMARY_MAX_TOKENS, and test_summarize_document_sends_full_text_to_llm still expected only no_history.
Contributor
|
Verdict: Approve This fixes a stale test that has been failing the Real-world evidenceN/A: this PR only changes a test. The CI evidence stage left no bundle, so the verdict rests on static review alone. I couldn't run pytest on this runner because it isn't installed here. The author's test plan reports 68 passed in the chat agent's test suite. 🔍 Technical detailsIssues found: none.
Strengths
|
test_allowlist_has_no_stale_entries fails on main: amd#4767 documented gaia email autonomy status, which was still listed as undocumented.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two stale test expectations are failing required jobs on main, so every open PR shows red for reasons unrelated to its own change. Both were caused by merges that each passed alone:
Test Chat Agent:test_summarize_document_sends_full_text_to_llmexpected the summary call to carry onlyno_history. fix(rag): a document summary is never cut off mid-sentence #4827 now also passes the output limit so a summary is never cut off mid-sentence. The call is right; the test now expects both arguments, reading the limit from the constant the tool uses.Unit Tests(all three platforms):test_allowlist_has_no_stale_entriesfails because docs: release sweep fixes (connectors steps, gaia email CLI, Download button) #4767 documentedgaia email autonomy status, which was still listed as an undocumented command. The entry is removed.Test plan
pytest hub/agents/chat/python/tests/— 68 passed (1 failed before)pytest tests/unit/cli/test_cli_docs_drift.py tests/unit/test_gaia_home_ratchet.py— 5 passed (1 failed before)Test Chat AgentandUnit Testsgreen on main after merge