Skip to content

Prevent false test-quarantine network failures - #69677

Merged
wtgodbe merged 1 commit into
dotnet:mainfrom
wtgodbe:wtgodbe/test-quarantine-part2-evidence
Oct 5, 2026
Merged

wtgodbe merged 1 commit into
dotnet:mainfrom
wtgodbe:wtgodbe/test-quarantine-part2-evidence

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Oct 5, 2026

Copy link
Copy Markdown
Member

Prevent false test-quarantine network failures

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Prevent shell policy denials from looking like network outages

Description

The October 5 test-quarantine run skipped unquarantine work after a compound
curl command was rejected by the agent shell policy. The agent interpreted
that pre-execution denial as Azure DevOps being unreachable and failed closed.

This change:

  • requires standalone python3/urllib.request calls for external HTTP access;
  • explains that shell permission denials are not network failures and must be retried with a compliant command;
  • removes the conflicting curl and web_fetch tools; and
  • repeats the rule at the Part 2 Azure DevOps collection step.

Validation:

  • gh aw compile test-quarantine --no-emit --strict - passed with no warnings.
  • gh aw compile test-quarantine - passed and regenerated .github/workflows/test-quarantine.lock.yml.

Related to https://github.com/dotnet/aspnetcore/actions/runs/37295715194

Require standalone Python HTTP requests and remove conflicting curl and web-fetch access so a shell policy denial cannot be mistaken for an Azure DevOps outage.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 21:18
@wtgodbe
wtgodbe requested a review from a team as a code owner October 5, 2026 21:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Required frozen review inputs were unavailable, preventing completion of the approval checks.

Review effort: Balanced
Findings: None

What changed in this PR

Updates test-quarantine automation to distinguish shell-policy denials from genuine network failures.

Changes:

  • Requires standalone Python HTTP requests and retries after policy denials.
  • Removes curl and web_fetch access.
  • Regenerates the compiled workflow.
File Description
.github/​workflows/​test-quarantine.md Adds HTTP access and retry guidance; removes conflicting tools.
.github/​workflows/​test-quarantine.lock.yml Updates generated tool permissions and workflow metadata.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@wtgodbe
wtgodbe merged commit 1c93845 into dotnet:main Oct 5, 2026
15 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 6, 2026
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.

2 participants