Compare commits

...

2 Commits

Author SHA1 Message Date
blink-so[bot]
7979582e3c Address review feedback
- Remove testing comment as requested
- Update healthcheck URL to handle both subdomain true/false cases
- Match the same URL pattern as the main app URL
2025-08-20 17:33:42 +00:00
blink-so[bot]
d52af54d81 Add healthcheck to JupyterLab module
Adds /api/status healthcheck to prevent the app from showing as ready
before JupyterLab server is fully started and responding.

Fixes: https://github.com/coder/registry/issues/345
2025-08-20 17:18:47 +00:00

View File

@ -79,4 +79,10 @@ resource "coder_app" "jupyterlab" {
share = var.share
order = var.order
group = var.group
}
healthcheck {
url = var.subdomain ? "http://localhost:${var.port}/api/status" : "http://localhost:${var.port}/@${data.coder_workspace_owner.me.name}/${data.coder_workspace.me.name}/apps/jupyterlab/api/status"
interval = 5
threshold = 6
}
}