Skip to content

Conversation

@github-actions
Copy link

Quarantine Test(s)

This PR was automatically generated to quarantine the following test(s) using the QuarantinedTest attribute:

  • Aspire.Cli.Tests.CliOrphanDetectorTests.CliOrphanDetectorCompletesWhenNoPidEnvironmentVariablePresent

Related issue: https://foo.com/

Triggered by: #5 (comment by @radical)


⚠️ Please review the changes before merging.

radical and others added 9 commits December 14, 2025 19:54
Supports commands:
- /quarantine-test <test-name(s)> <issue-url> - adds [QuarantinedTest] attribute
- /unquarantine-test <test-name(s)> - removes [QuarantinedTest] attribute
- /disable-test <test-name(s)> <issue-url> - adds [ActiveIssue] attribute
- /enable-test <test-name(s)> - removes [ActiveIssue] attribute

Features:
- Requires write permission (like backport)
- Works on both issues and PRs
- Supports multiple test names in one command
- Validates test name format and URL
- Creates PR against main branch with [automated] prefix
- Posts progress comments on the triggering issue/PR
- Add concurrency control to prevent race conditions on same issue
- Add timeout (10 minutes) to prevent hung workflows
- Add 👀 reaction to indicate processing started
- Remove strict test name validation (tool handles it)
- Fix shell quoting for test names with special characters
- Add PR state validation (must be open, not from fork)
- Add try/catch for git operations with descriptive errors
When commenting on a PR, the workflow now:
1. Determines target PR first (validates it's open, not a fork)
2. Checks out the PR branch directly
3. Runs QuarantineTools on top of the PR's code
4. Commits and pushes directly

This avoids merge conflicts that occurred when trying to
apply changes from main onto a diverged PR branch.
…hanDetectorCompletesWhenNoPidEnvironmentVariablePresent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants