Spaces:
Sleeping
Download docs/deployment-status.md from JoeTach/cdpr-simulator: direct link, hf CLI and curl.
- Browser
- Download file 7.51 kB
-
https://huggingface.co/spaces/JoeTach/cdpr-simulator/resolve/main/docs/deployment-status.md
- Command line
-
hf download hf://spaces/JoeTach/cdpr-simulator/docs/deployment-status.md
-
curl -L -o deployment-status.md https://huggingface.co/spaces/JoeTach/cdpr-simulator/resolve/main/docs/deployment-status.md
A newer version of the Gradio SDK is available: 6.32.0
Deployment status โ May 28, 2026
Snapshot of the cdpr framework's live infrastructure. See deployment.md for the platform-by-platform setup guide; this file captures the current connected state.
Connection map
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Local dev machine โ
โ C:\Users\Jesus is Lord\Desktop\CDPR Simulator โ
โ โ editor + pytest (195 tests, ~52 s) + smoke_phase*.py + git push โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ git push origin main
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GitHub: Tachia/cdpr_simulator (public, main branch) โ
โ 6 commits | 277 KB | 169 files โ
โ CI: GitHub Actions / .github/workflows/ci.yml โ
โโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโ
โ โ โ โ
webhook โ webhook โ webhook โ โ (CLI only:
โผ โผ โผ โ no webhook)
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โผ
โ Render โ โ Streamlit โ โ Cloudflare โ Supabase
โ Web Service โ โ Community โ โ Pages โ Postgres
โ cdpr-api โ โ Cloud โ โ cdpr-simulator โ nohbtlhhisfiajjsbguy
โ (Docker) โ โ (Python) โ โ (static) โ (4 tables)
โโโโโโโโโฌโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ
โ
โ optional dual-write
โ (when SUPABASE_URL +
โ SUPABASE_SERVICE_ROLE_KEY
โ are set in Render env)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโบ Supabase
Live URLs
| Service | URL | Status | Notes |
|---|---|---|---|
| GitHub repo | https://github.com/Tachia/cdpr_simulator | live | public; main is the deployed branch |
| Render โ FastAPI backend | https://cdpr-api.onrender.com | live | free tier sleeps after 15 min idle (~50 s cold start). /health, /robots, /simulate, /workspace, /plot, /docs, /redoc |
| Streamlit โ research console | https://cdprsimulator-a5u8bciz6tsnsxegg8zys2.streamlit.app | live (owner-visible) | currently private; anonymous visitors get the sign-in screen. Set Sharing โ Public if you want reviewers to access without an account. |
| Cloudflare Pages โ docs | https://cdpr-simulator.pages.dev | live | static. / is the project landing, /deployment is the deployment guide |
| Supabase โ Postgres | db.nohbtlhhisfiajjsbguy.supabase.co |
schema applied | 4 tables: experiments, experiment_metrics, uploaded_logs, report_bundles |
| GitHub Actions CI | https://github.com/Tachia/cdpr_simulator/actions | failing on pytest step |
install + lint succeed; pytest fails on both 3.11 and 3.12 jobs. Loose end โ see "Remaining work" |
Where each secret lives
| Secret | Set in | Used by | Rotated? |
|---|---|---|---|
SUPABASE_URL |
Render Environment tab | cdpr.storage.supabase when invoked from the Render-hosted backend |
n/a (project URL is not secret) |
SUPABASE_SERVICE_ROLE_KEY |
Render Environment tab | same as above | rotate after handoff โ was pasted in the deployment conversation |
| Supabase DB password | Supabase Studio (Settings โ Database) | supabase CLI on local machine when running db push |
rotate after handoff โ was pasted in the deployment conversation |
CDPR_BACKEND_URL |
Streamlit Cloud secrets | reserved; not currently consumed by the GUI (which embeds cdpr locally) | not a secret |
The local checkout has no .env file โ secrets are not on disk anywhere outside the cloud platforms.
Development loop
edit src/cdpr/... # local
pytest tests/ # local validation (~52 s)
git add ... && git commit
git push # โ triggers GitHub Actions
# โ triggers Render auto-deploy (~5 min cold)
# โ triggers Streamlit auto-rebuild (~2 min)
# โ triggers Cloudflare Pages auto-deploy (~30 s)
For Supabase schema changes:
supabase migration new <name> # creates new file under supabase/migrations/
# edit the new SQL file
supabase db push # applies to the linked project
git add supabase/migrations/<file>.sql
git commit -m "schema: <change>"
git push
The migrations directory is committed to git so the schema is version-tracked alongside the code.
Remaining work / loose ends
GitHub Actions CI: failing on pytest (both 3.11 and 3.12). Install + ruff steps succeed; pytest exits 1. Local CI subset passes (177/177 with the same
--ignoreflags). Linux-specific regression or a missing platform-specific extra is the most likely cause. Needs the actual log to diagnose โ see the next steps section below.Streamlit visibility set to private. The app works while you're signed in, but anonymous reviewers get the sign-in screen. If you want public access for the dissertation: Streamlit Cloud โ cdpr_simulator app โ โฎ โ Settings โ Sharing โ Public.
Cloudflare Workers Build leftover. The original mis-created Worker project was deleted, but the GitHub App that registered the "Workers Builds: cdpr-simulator" check is still installed. Harmless โ the check passes on every push. Remove via GitHub โ Settings โ Integrations โ Cloudflare Workers โ Configure โ uninstall.
Rotate the Supabase password + service-role key (both pasted in the deployment conversation; treat as compromised).
Render free-tier cold-start. Service sleeps after 15 min idle; first request takes ~50 s while it spins up. Upgrade to a paid plan to keep it warm, or accept the first-request penalty.
Next steps to close the CI loop
When you have a moment:
- Open https://github.com/Tachia/cdpr_simulator/actions.
- Click the most recent failing run.
- Click the pytest + ruff (3.12) job.
- Expand the Run pytest step.
- Copy the section from the first
FAILEDline through the end and paste it into the conversation. With the actual error text I can patch in minutes โ without it I'm guessing.