Add stress-test-trigger agentic workflow#126317
Add stress-test-trigger agentic workflow#126317ManickaP wants to merge 2 commits intodotnet:mainfrom
Conversation
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>
|
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. AFAIK, this can be properly tested only after being merged. |
There was a problem hiding this comment.
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.4entry.
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>
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 runcomments.What it does
When a PR is opened or updated with changes to any of these paths, the workflow posts the appropriate
/azp runcommand(s) as PR comments:src/libraries/System.Net.Http/tests/StressTests/HttpStress/**/azp run runtime-libraries stress-httpsrc/libraries/System.Net.Security/tests/StressTests/SslStress/**/azp run runtime-libraries stress-ssleng/pipelines/libraries/stress/http.yml/azp run runtime-libraries stress-httpeng/pipelines/libraries/stress/ssl.yml/azp run runtime-libraries stress-sslsrc/libraries/Common/tests/System/Net/StressTests/**eng/pipelines/libraries/stress/(other shared files)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