Skip to content

Bring 35 more listed tests up to date with the application (0.261.512) - #2000

Open
Paul Lizer (paullizer) wants to merge 1 commit into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-9-3319de
Open

Paul Lizer (paullizer) wants to merge 1 commit into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-9-3319de

Conversation

@paullizer

@paullizer Paul Lizer (paullizer) commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Batch 9 of the known_failures.txt cleanup: 35 entries removed, 821 → 786.

What changed

Out-of-date harnesses in 12 test files now match the application:

  • Document detail reads (8): the copied get_document gets the names it imports (load_module_imports, loaded by name because the file has recorded Cosmos doubles).
  • Saved-analysis reports (6): patch resolve_model_token_budget. The "revoked" case revokes the conversation: since Limit content screening to uploads and stop re-checking generated results #1621, saved results take their container's access and no longer recheck sources.
  • Planner (5): plans carry step_id; the stubbed normalize_plan returns a validation record.
  • Search boundaries (3): supply the document access index hybrid_search binds at run time, plus cache settings.
  • Upload results (3): read workspace_scope/group_id at the result's top level, where they have always been.
  • Chat route (2): supply the conversation handoff and reference seams.
  • Subprocess probes (4): set PYTHONPATH to the test helpers and the application.
  • MCP retry double (2) accepts usage_operation; form-detection mock (2) answers files and get_json.

Kept listed, with reasons updated

  • 3 Ask AI diagnostics tests are now product:: Add model routing, personas, and workspace chat deep links #1981 added the conversation-reference workflow assist operations without adding them to the assist_operation allowlist in functions_assist_diagnostics.py, so diagnostics drop their names. Not fixed here.
  • 3 stream-stop finalizer tests: the finalizer now saves through _persist_screened_assistant and replace_item, so the recorded Cosmos doubles would have to change, which needs runtime fault-injection evidence.

Checks

  • scripts/check_known_failures_shrink.py --base FETCH_HEAD: no new entries, 35 removed.
  • scripts/check_cosmos_response_boundaries.py: 0 review gaps.
  • Selected tests (303 files): 292 passed. Of the 11 that failed, 4 passed when rerun alone. The other 7 are unchanged by this PR: 4 need application/v2_ui/node_modules (not installed locally), 2 time out on their 1,001-round repeat tests, and the hand-off imports file is load-sensitive.

Version 0.261.512; docs/contributing/testing.md and the release notes are updated.

🤖 Generated with Claude Code

Out-of-date harnesses in 12 test files now match the application:
document detail reads take get_document's own imports; saved-analysis
reports use the model token budget and revoke the conversation, since
saved results take their container's access (microsoft#1621); planner plans carry
step ids and a validation record; search tests supply the document access
index; upload tests read workspace_scope and group_id from the result's
top level; the chat route test supplies the handoff and reference seams;
subprocess probes set PYTHONPATH; the MCP retry double accepts
usage_operation; and the form-detection mock answers files and get_json.

Three Ask AI diagnostics entries now record a product cause: microsoft#1981 added
the conversation-reference operations without adding them to the
diagnostics allowlist. The stream-stop finalizer stays listed: its harness
needs changed Cosmos doubles, which wait on fault-injection evidence.

known_failures.txt goes from 821 entries to 786.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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