Skip to content

Repo: Improve failure message for ecosystem tests failure #20886

Description

@JoshuaKGoldberg

The ecosystem tests added in #19643 only report one brief, uninformative message to Discord on failure:

- if: steps.tester.outcome == 'failure' && github.ref_name == 'main'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_CONTRIBUTORS_WEBHOOK }}
uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0
with:
args: "Ecosystem tests failed."

That happened yesterday (https://discord.com/channels/688543509199716507/1133414717487063040/1505737547593285834). The message is just that "Ecosystem tests failed." line. It's not clear what that is.

Proposal: let's add a little more verbiage there? Maybe:

  1. It should also create an issue if one doesn't exist (wasn't this part of the original RFC, not yet implemented?)
  2. Say something like "Ecosystem tests failed. See #(issue)"

Metadata

Metadata

Assignees

Labels

acceptedThere is consensus among the team that this change meets the criteria for inclusion

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Implementing

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions