Skip to content

List local Nebi workspaces in jhub-apps when no Nebi server is deployed - #260

Draft
aktech wants to merge 1 commit into
mainfrom
local-nebi-app-envs
Draft

aktech wants to merge 1 commit into
mainfrom
local-nebi-app-envs

Conversation

@aktech

@aktech aktech commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Without nebi-pack, the jhub-apps environment selector was always empty: it only knew how to list workspaces from the Nebi server, so apps could not run in a user's environment.

Adds nebi.remote.enabled (default true). Set it to false and the selector lists the installed workspaces from the Nebi instance inside the user's running JupyterLab, and the app runs straight from that workspace through jhub-app-proxy's pixi activation. The token exchange and the Nebi card are switched off in that mode.

  • JHUB_APP_ENV_MANAGER=pixi is now set on every pod, not only inside the token-exchange hook.
  • The user's JupyterLab must be running for the list to load.

Add nebi.remote.enabled (default true). When false, the Nebi remote and
internal URLs resolve to empty, so the token exchange and the Nebi card
are off, and the jhub-apps environment selector lists the installed
workspaces from the Nebi instance in the user's running JupyterLab.

JHUB_APP_ENV_MANAGER=pixi is now set on every pod instead of only in the
token-exchange hook, so jhub-app-proxy can activate a local workspace.
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Docs preview for local-nebi-app-envs:
https://local-nebi-app-envs.data-science-pack.pages.dev

@aktech aktech added the deploy-preview Deploy a k8s stack preview for this PR (Cloudflare Tunnel, GitHub SSO gated) label Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The preview for this PR has expired.

Project Deployment Actions Updated
nebari-data-science-pack ⚫ Expired - 2026-10-05 12:04 UTC

Re-add the deploy-preview label to redeploy.

@github-actions
github-actions Bot temporarily deployed to pr-260-preview October 5, 2026 11:44 Destroyed
@aktech aktech added the extend-preview Push this preview's expiry back 20 minutes label Oct 5, 2026
@github-actions github-actions Bot removed extend-preview Push this preview's expiry back 20 minutes deploy-preview Deploy a k8s stack preview for this PR (Cloudflare Tunnel, GitHub SSO gated) labels Oct 5, 2026

This branch was successfully deployed

No deployments
pr-260-preview — 3379fbe2 Deployed Oct 5, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants