microsoft-foundry / microsoft-foundry/foundry-samples

Track intermittent Data Proxy scale-unit TaskCanceledException as a reliability issue

Open
#959 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bicep
Stars
445
Forks
494
Avg merge
11h 35m
Merged PRs (30d)
38

Description

Problem

The Template 19 testing guide currently documents an approximately 50% TaskCanceledException rate caused by Data Proxy being available on only one of two scale units, with --retry as the workaround.

Retries help the test complete, but they can also hide a product-path reliability problem and make successful private networking appear nondeterministic.

Suggested improvement

Track this as a product reliability item and make the sample diagnostics distinguish it from customer DNS or network failures.

Suggested additions:

  • emit a dedicated result such as DATAPROXY_SCALE_UNIT_RETRY when this exact signature is detected;
  • record attempt count and final outcome in machine-readable output;
  • explain that a retry success does not mean the original failure was caused by customer DNS/NSG configuration;
  • link to a product-status/known-issue reference when one is available; and
  • remove or revise the documented 50% expectation once Data Proxy is consistently present across the serving scale units.

Expected result

Private MCP tests should be deterministic. Until the service-side issue is resolved, diagnostics should clearly separate transient Data Proxy routing from configuration failures.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start with the Template 19 testing guide and the sample diagnostics that implement the private MCP tests; trace how TaskCanceledException and retry outcomes are currently reported. Done means the diagnostics distinguish the stated Data Proxy signature from configuration failures and expose attempt count and final outcome in machine-readable output.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, networking, observability, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.