Skip to content

chore: add workspace reached resource threshold notification #16250

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 10 commits into from
Feb 4, 2025
Prev Previous commit
Next Next commit
chore: update golden files
  • Loading branch information
DanielleMaywood committed Jan 30, 2025
commit a9c8676deb71bb5c600bbc2cadfeafcad7ea4d7c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Content-Type: text/plain; charset=UTF-8

Hi Bobby,

Your workspace bobby-workspace has reached the volume usage threshold set a=
t 90%.
Your workspace bobby-workspace has reached the usage threshold set at 90% f=
or volume /home/coder.


View workspace: http://test.com/@bobby/bobby-workspace
Expand Down Expand Up @@ -48,8 +48,9 @@ argin: 8px 0 32px; line-height: 1.5;">
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>

<p>Your workspace <strong>bobby-workspace</strong> has reached the volume u=
sage threshold set at <strong>90%</strong>.</p>
<p>Your workspace <strong>bobby-workspace</strong> has reached the usage th=
reshold set at <strong>90%</strong> for volume <code>/home/coder</code>.</p=
>
</div>
<div style=3D"text-align: center; margin-top: 32px;">
=20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
],
"labels": {
"threshold": "90%",
"volume": "/home/coder",
"workspace": "bobby-workspace"
},
"data": null
},
"title": "Your workspace \"bobby-workspace\" is low on disk",
"title_markdown": "Your workspace \"bobby-workspace\" is low on disk",
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has reached the volume usage threshold set at 90%.",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has reached the volume usage threshold set at **90%**."
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has reached the usage threshold set at 90% for volume /home/coder.",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has reached the usage threshold set at **90%** for volume `/home/coder`."
}
Loading