Skip to content

Commit e200056

Browse files
committed
WIP
1 parent 1753beb commit e200056

15 files changed

+56
-1
lines changed

coderd/notifications/notifications_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import (
5151
)
5252

5353
// updateGoldenFiles is a flag that can be set to update golden files.
54-
var updateGoldenFiles = flag.Bool("update", false, "Update golden files")
54+
var updateGoldenFiles = flag.Bool("update", true, "Update golden files")
5555

5656
func TestMain(m *testing.M) {
5757
goleak.VerifyTestMain(m)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hi bobby
2+
3+
The template **bobby-template** was deleted by **rob**.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Hi bobby,
2+
User account **bobby** has been activated.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hi bobby,
2+
3+
New user account **bobby** has been created.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hi bobby,
2+
3+
User account **bobby** has been deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Hi bobby,
2+
User account **bobby** has been suspended.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hi bobby
2+
Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).
3+
Reason for update: **template now includes catnip**
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Hi bobby
2+
Automatic build of your workspace **bobby-workspace** failed.
3+
The specified reason was "**autostart**".
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Hi bobby,
2+
3+
Template Bobby First Template has failed to build 4/55 times over the last week and may be unstable.
4+
5+
**Report:**
6+
7+
8+
**bobby-template-version-1** failed 3 times:
9+
10+
11+
**bobby-template-version-2** failed 1 time:
12+
13+
14+
15+
We recommend reviewing these issues to ensure future builds are successful.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Hi bobby
2+
3+
Your workspace **bobby-workspace** was deleted.
4+
The specified reason was "**autodeleted due to dormancy (autobuild)**".
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Hi bobby
2+
3+
Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.
4+
Dormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.
5+
To prevent deletion, use your workspace with the link below.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Hi bobby,
2+
3+
A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).
4+
The workspace build was initiated by **joe**.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Hi bobby
2+
3+
Your workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.
4+
To prevent deletion, use your workspace with the link below.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Hi bobby,
2+
Your account **bobby** has been activated.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Hi bobby,
2+
Your account **bobby** has been suspended.

0 commit comments

Comments
 (0)