From 21dbd3d4f0f01f86962a094efd8d2a279240002f Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Fri, 21 Feb 2025 20:51:03 +0000 Subject: [PATCH 1/3] chore: run `make clean` on workspace shutdown --- Makefile | 2 +- dogfood/contents/main.tf | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29f8461f48783..fbd324974f218 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,7 @@ endif clean: rm -rf build/ site/build/ site/out/ - mkdir -p build/ site/out/bin/ + mkdir -p build/ git restore site/out/ .PHONY: clean diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index 6e60c58cf1293..5e04d1ad5aab9 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -342,8 +342,16 @@ resource "coder_agent" "dev" { while ! [[ -f "${local.repo_dir}/site/package.json" ]]; do sleep 1 done + make clean cd "${local.repo_dir}/site" && pnpm install && pnpm playwright:install EOT + + shutdown_script = <<-EOT + #!/usr/bin/env bash + set -eux -o pipefail + + cd "${local.repo_dir}" && make clean + EOT } # Add a cost so we get some quota usage in dev.coder.com From 25aed29334b88add601fb150cac0095cb5208cd5 Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Fri, 21 Feb 2025 22:17:20 +0000 Subject: [PATCH 2/3] on startup actually --- dogfood/contents/main.tf | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index 5e04d1ad5aab9..db7e8204339f3 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -342,15 +342,8 @@ resource "coder_agent" "dev" { while ! [[ -f "${local.repo_dir}/site/package.json" ]]; do sleep 1 done - make clean - cd "${local.repo_dir}/site" && pnpm install && pnpm playwright:install - EOT - - shutdown_script = <<-EOT - #!/usr/bin/env bash - set -eux -o pipefail - cd "${local.repo_dir}" && make clean + cd "${local.repo_dir}/site" && pnpm install && pnpm playwright:install EOT } From fdf7880e26b19867c0c166875582496b2f046985 Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Fri, 21 Feb 2025 22:21:19 +0000 Subject: [PATCH 3/3] bump usage threshold --- dogfood/contents/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index db7e8204339f3..35c48da8f1d33 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -96,7 +96,7 @@ data "coder_parameter" "res_mon_memory_threshold" { data "coder_parameter" "res_mon_volume_threshold" { type = "number" name = "Volume usage threshold" - default = 80 + default = 90 description = "The volume usage threshold used in resources monitoring to trigger notifications." mutable = true } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy