• Stefy Lanza (nextime / spora )'s avatar
    config: make a settings save reach the engine and the front · b95ba611
    Stefy Lanza (nextime / spora ) authored
    Configuring a remote capability in the UI did nothing until a restart,
    which makes the feature unusable as shipped.
    
    The admin API is served by the SYSTEM worker, so a save updates that
    process's config object. The remote gateway, the engine blocks and the
    front's burst-to-RunPod path all read a DIFFERENT process's copy. The
    engine's /internal/reload-config — which the front pushes on a config
    change — re-read models.json only, and the front's own refresh copied a
    fixed field list that included neither `runpod` nor `remotes`.
    
    Both now carry them: the engine re-reads config.json into its live config
    on reload, and the front refreshes runpod/remotes along with the rest.
    
    Found by trying to use the feature on the running instance rather than by
    reading the code, which is the only way this class of bug shows up.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    b95ba611
Name
Last commit
Last update
..
__init__.py Loading commit data...
admin_data.py Loading commit data...
app.py Loading commit data...
assignment.py Loading commit data...
engine_supervisor.py Loading commit data...
gpu_detect.py Loading commit data...
registry.py Loading commit data...
reqqueue.py Loading commit data...
router.py Loading commit data...
ui_pages.py Loading commit data...