• Stefy Lanza (nextime / spora )'s avatar
    Revert "the orchestrator image serves its own admin GUI" — wrong layer · c6db72b4
    Stefy Lanza (nextime / spora ) authored
    A pod image is never an orchestrator; the full image always is. Acting on
    the Digesta report's second option put orchestrator behaviour into
    codai.api.app, which is what a RENTED POD runs, and that is wrong in three
    separate ways:
    
    - the GUI pages are not under BearerAuthMiddleware (it guards /v1/* only),
      so every rented pod would have served /admin and /login on its public
      address;
    - the first-admin bootstrap would have created an admin account, with a
      password in the pod's log, in each pod's throwaway auth.json;
    - initialising the session manager would have broken allow_open_pod, where
      the operator deliberately launches a pod with no token: the pod would
      then refuse every request instead of accepting all of them.
    
    Reverted all three. Bug 1 stays — /health and /v1/health are a genuine
    pod-side fix, since surya probes {service_url}/health.
    
    The real Bug 3 is elsewhere and the report's premise was also wrong:
    server.engines=0 does not mean "no engines", it means AUTO — "one per
    detected GPU, min 1" (config.py:70) — which is why their host kept spawning
    engine#0. A true GPU-less orchestrator in the full image needs its own
    change, not a flag that already exists.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    c6db72b4
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...