Skip to content

feat(coderd/notifications): group workspace build failure report #17306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 10, 2025

Conversation

DanielleMaywood
Copy link
Contributor

@DanielleMaywood DanielleMaywood commented Apr 9, 2025

Closes #15745

Instead of sending X many reports to a single template admin, we instead send only 1.

image

Instead of sending X many reports to a single template admin, we instead
send only 1.
@DanielleMaywood DanielleMaywood changed the title feat(notifications): group workspace build failure report feat(coderd/notifications): group workspace build failure report Apr 9, 2025
@DanielleMaywood DanielleMaywood requested a review from Copilot April 9, 2025 13:58
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • coderd/database/migrations/000316_group_build_failure_notifications.up.sql: Language not supported
  • coderd/notifications/testdata/rendered-templates/smtp/TemplateWorkspaceBuildsFailedReport.html.golden: Language not supported
  • coderd/notifications/testdata/rendered-templates/webhook/TemplateWorkspaceBuildsFailedReport.json.golden: Language not supported
Comments suppressed due to low confidence (1)

coderd/notifications/notifications_test.go:1014

  • The key 'template_version_count' appears inconsistent with similar keys such as 'template_version_name'. Consider renaming it for consistency.
"template_version_count": "bobby-template-version-2",

@DanielleMaywood DanielleMaywood marked this pull request as ready for review April 10, 2025 10:53
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@DanielleMaywood DanielleMaywood merged commit 6dd1056 into main Apr 10, 2025
33 checks passed
@DanielleMaywood DanielleMaywood deleted the dm-group-build-failures-into-single-report branch April 10, 2025 12:32
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2025
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-merge 👍

@stirby
Copy link
Collaborator

stirby commented Apr 10, 2025

/cherry-pick release/2.21

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template build failure notifications aren't grouped
4 participants