Conversation
- deploy-kind.yaml: Remove push/PR triggers, keep only manual workflow_dispatch. The job requires a self-hosted runner with Docker which is not currently registered, causing jobs to queue forever. - publish-pages.yaml: Bump configure-pages v3->v5, upload-pages-artifact v2->v3, deploy-pages v2->v4. The old v2 actions depend on deprecated upload-artifact v3 which GitHub now blocks. Co-authored-by: Cursor <cursoragent@cursor.com>
Jupyter kernels use long-lived WebSocket connections that were being dropped by nginx after the default 60s timeout. Add proxy-read-timeout and proxy-send-timeout (1 hour) and disable proxy-buffering to keep kernel connections alive and stream frames in real time. Co-authored-by: Cursor <cursoragent@cursor.com>
The Prefect 3.x SDK eagerly initializes its client when PREFECT_API_URL is set. If the Prefect server is unreachable or slow to start, the connection attempt blocks indefinitely, hanging the Jupyter kernel. Set PREFECT_API_REQUEST_TIMEOUT=5 so the client fails fast (5 seconds) instead of blocking forever, allowing the kernel to remain responsive even when the Prefect server is temporarily unavailable. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ingress fixes
proxy-read-timeout: 3600,proxy-send-timeout: 3600, andproxy-buffering: offnginx annotations to the JupyterHub ingress to keep WebSocket kernel connections alive.PREFECT_API_REQUEST_TIMEOUT: 5env var to prevent Prefect SDK from blocking kernel startup when the Prefect server is unavailable.Singleuser image fixes (multi-arch + JupyterHub 5.x)
uname -m) and GitHub CLI (dpkg --print-architecture) instead of hardcoding x86_64/amd64 — enables Apple Silicon (arm64) builds.setuptools/wheelinstall for Python 3.12 compatibility (removed from stdlib).pixz -9withxz -3 -T0for Docker Desktop memory compatibility.pixzdecompression with standardtar xf.jupyterlab==4.5.3.Terraform fixes
JUPYTERHUB_SINGLEUSER_APPenv var override that conflicts with z2jh 4.x internal server configuration and breaks kernel communication.icl-jupyterhub:local.Test plan
docker build . --file docker/icl-jupyterhub/Dockerfile --tag icl-jupyterhub:localkind --name x1 load docker-image icl-jupyterhub:local