Skip to content

/create-issue: support multiple test names and fix underscore escaping in issue titles #16058

@radical

Description

@radical

Summary

The /create-issue command in create-failing-test-issue.yml currently only supports a single test name per invocation. This should be extended to support multiple test names.

Requested Changes

1. Support multiple test names

Allow specifying multiple test names in a single /create-issue command:

  • Multiple positional args:

    /create-issue TestA TestB TestC
    
  • Multiple --test args:

    /create-issue --test TestA --test TestB --test TestC
    

Currently the parser in create-failing-test-issue.js rejects a second --test flag with an ambiguity error, and multiple positional args (without a trailing URL) also fail.

2. Fix unnecessary backslash-escaping of underscores in issue titles

Issue titles currently escape underscores like a\_c, producing titles such as:

The backslash escaping is not needed in GitHub issue titles (they are not rendered as Markdown) and makes the titles harder to read and search. Underscores should be left as-is.

Affected Files

  • .github/workflows/create-failing-test-issue.yml
  • .github/workflows/create-failing-test-issue.js (parseCommand)
  • tools/CreateFailingTestIssue/ (C# tool, for --test arg and title formatting)

Metadata

Metadata

Labels

area-app-testingIssues pertaining to the APIs in Aspire.Hosting.Testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions