Support multiple test names in /create-issue and fix underscore escaping in titles#16059
Draft
Support multiple test names in /create-issue and fix underscore escaping in titles#16059
Conversation
…ing in titles - JS parseCommand: support multiple --test flags and multiple positional test names - Workflow YAML: loop over test queries, process each result individually - C# CreateIssueArtifacts: remove EscapeMarkdownInline from title (plain text, not markdown) - Update help block to show multi-test usage patterns - Add tests for multiple --test flags and multiple positional args Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/fe78d876-9255-42a5-b16f-5f9155469e80 Co-authored-by: radical <1472+radical@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16059Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16059" |
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/fe78d876-9255-42a5-b16f-5f9155469e80 Co-authored-by: radical <1472+radical@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Support multiple test names and fix underscore escaping in issue titles
Support multiple test names in /create-issue and fix underscore escaping in titles
Apr 11, 2026
Member
|
/create-issue Aspire.Cli.EndToEnd.Tests.PythonReactTemplateTests.CreateAndRunPythonReactProject |
Contributor
|
❌ The workflow run did not contain any failed test results in downloadable .trx artifacts. |
Contributor
|
❌ The |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
/create-issuecommand only supported a single test name per invocation, and issue titles contained unnecessary backslash-escaped underscores (e.g.,Exec\_NginxContainer\_ListFiles) becauseEscapeMarkdownInlinewas applied to titles, which are plain text, not markdown.Changes
parseCommand: ReturnstestQueriesarray. Accepts multiple--testflags and multiple positional args. KeepstestQuery(first element) for backward compat.test_queriesJSON array. Resolve step loops viajq, producing indexed result files. Create/update step processes each result independently and posts a combined summary comment.EscapeMarkdownInline()from issue title inCreateIssueArtifacts— GitHub issue titles are plain text.testQueriesarray.Mixing positional names with
--testflags remains rejected as ambiguous.Checklist
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dnceng.pkgs.visualstudio.com/usr/share/dotnet/dotnet dotnet build tests/Infrastructure.Tests/Infrastructure.Tests.csproj /p:SkipNativeBuild=true(dns block)/usr/share/dotnet/dotnet dotnet test tests/Infrastructure.Tests/Infrastructure.Tests.csproj /p:SkipNativeBuild=true -- --filter-class *.CreateFailingTestIssueWorkflowTests --filter-not-trait quarantined=true --filter-not-trait outerloop=true(dns block)/usr/share/dotnet/dotnet dotnet build tools/CreateFailingTestIssue -v:q(dns block)If you need me to access, download, or install something from one of these locations, you can either: