Skip to content

Harden hosted demo controls and validation - #10

Merged
iPrakharV merged 2 commits into
mainfrom
hosted-demo-hardening
May 11, 2026
Merged

iPrakharV merged 2 commits into
mainfrom
hosted-demo-hardening

Conversation

@iPrakharV

Copy link
Copy Markdown
Owner

What changed

  • added GATEWAY_CONTROLS_ENABLED, defaulting on locally and off in Render
  • disabled /workers/{index}/control with a 403 when public controls are off
  • rendered the dashboard with disabled controls when the gateway flag is false
  • expanded smoke checks across /health, /predict, /metrics, /workers, and /dashboard
  • added hosted demo docs for applying the Render Blueprint and validating a live gateway URL

Validation

  • python -m ruff check .
  • python -m compileall -q gateway worker training bench scripts tests
  • python -m pytest -q
  • python scripts/smoke_check.py against locally started gateway and worker with controls disabled

@iPrakharV
iPrakharV merged commit 83ebb1d into main May 11, 2026
2 checks passed
@iPrakharV
iPrakharV deleted the hosted-demo-hardening branch May 11, 2026 02:02
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