Skip to content

Add ancillary services#9

Merged
hdpriest-ui merged 7 commits intomainfrom
add-ancillary-services
Nov 20, 2025
Merged

Add ancillary services#9
hdpriest-ui merged 7 commits intomainfrom
add-ancillary-services

Conversation

@hdpriest-ui
Copy link
Copy Markdown
Collaborator

@hdpriest-ui hdpriest-ui commented Nov 20, 2025

Note

Adds a containerized FastAPI+nginx service to serve pre-generated kernel/package catalogs with a basic UI and Kubernetes manifests.

  • Backend/API (FastAPI):
    • New web/kernel_service.py serving read-only endpoints (/health, /api/languages, /api/kernels/{lang}, /api/kernel/{lang}/{name}/{ver}, /api/manifest/..., /api/package/{name}, /api/packages/search, /api/refresh).
    • Hourly on-disk reload of collated_manifests.json and package_index.json (no indexing performed).
  • Frontend/UI:
    • Static UI in web/static/index.html to browse kernels/packages; clients web/kernel_client.py and web/simple_api_client.py.
  • Container/Runtime:
    • web/Dockerfile with Python 3.11, installs web/requirements.txt, runs start.sh launching nginx and uvicorn.
    • web/nginx.conf reverse-proxies /api and /health to uvicorn; serves static content.
    • web/start.sh supervises nginx and API.
  • Kubernetes:
    • Deployment web/nginx-deployment.yml and Service web/nginx-service.yml (NodePort 30080) with probes and volume.
  • Examples/Data:
    • Large example catalogs in web/examples/{collated_manifests.json,package_index.json}.
    • Client requirements in web/requirements_client.txt; server deps in web/requirements.txt.

Written by Cursor Bugbot for commit 84c3231. This will update automatically on new commits. Configure here.

added kernel indexer method
added tests for kernel indexer
- kernel reindex and collation happens in a different container
- updated docker for website
- added example data files for both kernel and package index
- updated docs with a low-intensity pass
@hdpriest-ui hdpriest-ui merged commit ffe5e7f into main Nov 20, 2025
2 checks passed
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 22

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment thread kernel_indexer
echo "" >&2
return 1
fi
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Python version detection fails with python3-only kernels

The get_python_version() function only checks for /bin/python, but the kernel validation in index_kernel() accepts either /bin/python or /bin/python3. When a Python kernel has only python3, the validation passes but version extraction fails, leaving the language version as "unknown" instead of being properly detected. The function should check both binary paths like the validation does.

Fix in Cursor Fix in Web

@hdpriest-ui hdpriest-ui deleted the add-ancillary-services branch November 21, 2025 15:24
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.

1 participant