Skip to content

Bring more stale harnesses up to date; 35 more listed tests pass - #1998

Merged
Paul Lizer (paullizer) merged 1 commit into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-7
Nov 30, 2026
Merged

Paul Lizer (paullizer) merged 1 commit into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-7

Conversation

@paullizer

Copy link
Copy Markdown
Collaborator

Summary

Batch 7 of the known-failures cleanup. It brings test harnesses up to date with helpers the application now calls, and removes 35 entries from functional_tests/known_failures.txt (902 → 867).

  • Content screening guard: the analysis and comparison harnesses seed guard_model_callable and assert_evidence_available as pass-throughs. The real guard reads document state from Cosmos, and these harnesses check reducer order and token totals. Screening itself is covered by test_content_screening_access.py.
  • Office templates: seed extract_office_accessibility_metadata and _build_word_comment_chunks.
  • Approvals: seed TYPE_CONTENT_SCREENING_REVIEW and the M365 approval checks.
  • Document analysis workflow: load _prepare_workflow_xsd_generation and its finalizer, and seed the structured-artifact format lookup.
  • v2 prompt attachments:
    • MemoryContainer now inherits the shared sdk-default CosmosContainer, and its reviewed boundary is recorded in cosmos_response_boundaries.json.
    • The harness loads _mirror_planned_turn.
    • The metadata expectation includes the workspace_search state the product records.
  • test_v2_prompt_composer_card.py::test_the_server_records_what_the_bubble_needs already passed while still listed, so its entry is removed too.
  • Version 0.261.508. Release notes and docs/contributing/testing.md are updated.

Testing

  • scripts/check_known_failures_shrink.py --base Development: no new entries, 35 removed.
  • scripts/check_cosmos_response_boundaries.py --run-contracts: 2,339 passed, 0 review gaps.
  • Selected functional files: 291 of 300 pass. The 9 that fail locally don't come from this change:
    • 8 load another local package named app through a site-packages .pth file.
    • 1 was the listed-but-passing entry removed above.

🤖 Generated with Claude Code

- Seed the content screening guard as a pass-through in harnesses that
  check reducer order or token totals; screening is covered by
  test_content_screening_access.py.
- Seed Office accessibility metadata, the content screening review
  approval type, and the workflow XSD preparation helpers.
- Move the v2 prompt attachment MemoryContainer onto the shared
  sdk-default CosmosContainer and record its reviewed boundary.
- Remove 35 entries from known_failures.txt (902 -> 867).
- Version 0.261.508.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paullizer
Paul Lizer (paullizer) merged commit aa0cdf0 into microsoft:Development Nov 30, 2026
21 checks passed
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