Skip to content

feat: Slack plugin improvements#3499

Merged
hassy merged 2 commits intomainfrom
ed-improve-slack-plugin
Mar 19, 2025
Merged

feat: Slack plugin improvements#3499
hassy merged 2 commits intomainfrom
ed-improve-slack-plugin

Conversation

@manfromanotherland
Copy link
Member

@manfromanotherland manfromanotherland commented Mar 18, 2025

Description

When a large amount of checks are defined, users were hitting a Slack error around the message length limit. The same was also happening when a test would have a large amount of errors.

  • Adds limits around showing checks and errors, show summary if too many
  • Improve message formatting following Slack guidelines

Preview

Before After
before after
before after
before after

Pre-merge checklist

This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.

  • Does this require an update to the docs?
  • Does this require a changelog entry?

Show a summary of passed/failed checks if more than 20 ensure checks are
defined.
- Improve errors related to Slack message length limits:
  - Show summary of checks if more than 10 checks
  - Only show first 10 errors, with total and “+ (N) more…”
- Follow Slack formatting guidelines:
  - Improve layout by moving similar sized blocks together
  - Always show Checks and Errors even if none are defined/found
  - Replace text link with Action button to see report
@manfromanotherland manfromanotherland self-assigned this Mar 18, 2025
@manfromanotherland manfromanotherland changed the title feat: improvements to the Slack plugin feat: Slack plugin improvements Mar 18, 2025
@hassy
Copy link
Member

hassy commented Mar 19, 2025

🚀

@hassy hassy merged commit 2e857f1 into main Mar 19, 2025
46 of 48 checks passed
@hassy hassy deleted the ed-improve-slack-plugin branch March 19, 2025 09:07
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