Skip to content

Bring ten stale harnesses up to date; 41 more listed tests pass - #1996

Merged
Paul Lizer (paullizer) merged 3 commits into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-6
Nov 30, 2026
Merged

Paul Lizer (paullizer) merged 3 commits into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-6

Conversation

@paullizer

Copy link
Copy Markdown
Collaborator

Batch 6 of the known-failures cleanup: functional_tests/known_failures.txt goes from 943 entries to 902 (41 removed, none added). Version 0.261.507. Test-only changes.

How the batch was chosen

Every listed file was run once with the list switched off and the failures were grouped by error. Most of the 943 entries are now spread one to five per file, so this batch takes the files where one round of harness fixes clears them.

Harnesses brought up to date

  • Key Vault storage (8 + 5) and Foundry model fetch (4): the stubs for azure, azure.identity, requests and so on replaced whole modules, so azure.storage and azure.core's RequestsTransport could not import. They now lie over the real modules (overlay_real_modules), as in batches 3 and 4.
  • Markdown chunking (4): Markdown files are saved through save_chunks_batch; the fake records the batch the same way it records single saves.
  • Content screening admin settings (4): the v2 settings route stores through _persist_v2_admin_settings, which is now loaded with its error types.
  • Per-message Word, email and PowerPoint exports (3 + 3): exports now resolve block sources and append evidence notices; the real helpers are seeded.
  • Modern standalone pages (4): the page routes read has_modern_request, with_modern_request and the bundle probe, which follows the test's switch.
  • Orchestration action runtime (3): endpoint resolution reads routing_schema_version.
  • Workflow cancellation (1): the cancellation helpers read the run's execution context.
  • Two more entries pass because of Development's own changes.

The SQL Key Vault test has reviewed Cosmos seams; its import block is unchanged, and check_cosmos_response_boundaries.py reports 0 review gaps.

Needs a decision

test_model_context_never_accepts_client_credentials_or_actor_overrides stays listed. Since e7c179a ("improve response timing during stream"), _resolve_action_model in functions_orchestration_actions.py takes active_group_ids from the step's model context before the run's trusted active_group_ids:

model_context['active_group_ids'] = list(
    supplied.get('active_group_ids')
    or getattr(context, 'active_group_ids', None)
    or []
)

The test expects the trusted list to win. Whether the change was intended depends on where the step's model context comes from, so it is left for review rather than changed here.

Not taken this batch

Agent delegation entry points, chat stream history and two workflow cancellation run tests extract code that now needs dozens more names each; those attempts were reverted and the entries stay listed.

Checks

  • 271 of 272 selected test files pass with the list on. test_action_credentials_chat_reconstruction.py timed out under load, as in batches 4 and 5, where it passed alone.
  • check_known_failures_shrink.py --base Development: no new entries. check_cosmos_response_boundaries.py: 0 review gaps.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paullizer
Paul Lizer (paullizer) merged commit 0ec7877 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