Skip to content

Add stress-test-trigger agentic workflow#126317

Closed
ManickaP wants to merge 2 commits intodotnet:mainfrom
ManickaP:stress-test-trigger-workflow
Closed

Add stress-test-trigger agentic workflow#126317
ManickaP wants to merge 2 commits intodotnet:mainfrom
ManickaP:stress-test-trigger-workflow

Conversation

@ManickaP
Copy link
Copy Markdown
Member

@ManickaP ManickaP commented Mar 30, 2026

Note

This PR was AI/Copilot-generated.

Add an agentic workflow that automatically triggers HTTP and/or SSL stress test pipelines when a PR modifies stress-test-related files by posting /azp run comments.

What it does

When a PR is opened or updated with changes to any of these paths, the workflow posts the appropriate /azp run command(s) as PR comments:

Changed paths Pipeline triggered
src/libraries/System.Net.Http/tests/StressTests/HttpStress/** /azp run runtime-libraries stress-http
src/libraries/System.Net.Security/tests/StressTests/SslStress/** /azp run runtime-libraries stress-ssl
eng/pipelines/libraries/stress/http.yml /azp run runtime-libraries stress-http
eng/pipelines/libraries/stress/ssl.yml /azp run runtime-libraries stress-ssl
src/libraries/Common/tests/System/Net/StressTests/** Both
eng/pipelines/libraries/stress/ (other shared files) Both

Files added

  • .github/skills/stress-test-trigger/SKILL.md — skill definition with file-to-pipeline mapping
  • .github/workflows/stress-test-trigger.md — agentic workflow source
  • .github/workflows/stress-test-trigger.lock.yml — compiled workflow
  • .github/aw/actions-lock.json — updated action version lockfile

Automatically triggers HTTP and/or SSL stress test pipelines when a PR
modifies stress-test-related files by posting /azp run comments:

- /azp run runtime-libraries stress-http
- /azp run runtime-libraries stress-ssl

Path triggers:
- src/libraries/System.Net.Http/tests/StressTests/HttpStress/**
- src/libraries/System.Net.Security/tests/StressTests/SslStress/**
- src/libraries/Common/tests/System/Net/StressTests/**
- eng/pipelines/libraries/stress/**

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ManickaP ManickaP requested review from a team and jeffhandley as code owners March 30, 2026 14:04
Copilot AI review requested due to automatic review settings March 30, 2026 14:04
@github-actions github-actions bot added the area-skills Agent Skills label Mar 30, 2026
@ManickaP ManickaP requested a review from a team March 30, 2026 14:04
@ManickaP
Copy link
Copy Markdown
Member Author

Motivation for this change is #125995 and #124902 that recently broken our stress tests without our knowledge. The stress pipelines are run on schedule or manually via command, so the discoverability is sub-par and explains why we were so easily broken.
This agentic workflow should mitigate this and inject an appropriate azp run command if any of the stress related files are being changed.

AFAIK, this can be properly tested only after being merged.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new agentic GitHub workflow that automatically posts /azp run PR comments to trigger HTTP and/or SSL stress-test Azure Pipelines when stress-test-related files change.

Changes:

  • Introduces a new agentic workflow definition (stress-test-trigger.md) and its compiled lock workflow.
  • Adds a new skill document defining file-to-pipeline mapping and procedure.
  • Updates the agentic workflow actions lockfile with the gh-aw-actions/setup@v0.64.4 entry.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/stress-test-trigger.md Defines the agentic workflow prompt, triggers, and safe-output comment posting for stress pipelines.
.github/workflows/stress-test-trigger.lock.yml Compiled/locked workflow generated from the .md source.
.github/skills/stress-test-trigger/SKILL.md Documents the mapping from changed paths to pipelines and the workflow procedure.
.github/aw/actions-lock.json Adds the pinned version/SHA for github/gh-aw-actions/setup@v0.64.4.

- Clarify AI-disclosure note: this skill runs as a bot/app identity so
  /azp run comments must not include disclosure text
- Simplify dedupe rule in SKILL.md: check for existing matching command
  regardless of head SHA
- Simplify dedupe rule in workflow: drop unimplementable per-SHA check

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ManickaP ManickaP closed this Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants