Agent controller install.sh finds no release: first page is all prereleases, stable release is unsigned, --version rejects prereleases
I maintainer di solito rispondono entro 1 giorno
@GauravPatil2515 ci sta già lavorando.
Dal 13/11/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 40/100
Direzione di ricerca
Start in console/packages/agent-controller/install.sh: the release lookup that requests /releases?per_page=100 without paging, the prerelease skip, and the --version check that rejects anything containing characters outside digits and dots. The fix needs the script to find the newest signed stable release across pages and to accept signed prerelease versions like x.y.z-rc.N. Publishing a signed stable release needs maintainer access, so confirm that with the maintainers before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
The documented one-line install of the headless agent controller fails on every machine:
curl -fsSL https://raw.githubusercontent.com/sandbox-quantum/switch/main/console/packages/agent-controller/install.sh | sh -s -- --server <server> --code <code> --name <name>
switch-agent-controller install: sandbox-quantum/switch has no switch-agent-controller release yet.
Why
Three things in console/packages/agent-controller/install.sh combine:
- Only the first page of releases is read. The newest release is looked up with
GET /repos/sandbox-quantum/switch/releases?per_page=100, with no paging. Dev builds ofmainare published as controller prereleases several times an hour, so the newest 100 releases are all prereleases (95 of them controller dev builds and release candidates at the time of writing), and the script skips prereleases. The stable releases are further back and never seen. - The only stable controller release is unsigned.
switch-agent-controller-v0.31.0shipsswitch-agent-controller-0.31.0.tgzbut no.sig, so even when it is found, or named with--version 0.31.0, the installer refuses it: only signed releases are installed. - Signed prereleases cannot be requested. Release candidates are signed (
switch-agent-controller-v0.32.0-rc.5ships its.tgz.sig), but--versionaccepts onlyx.y.z(*[!0-9.]*is refused), so--version 0.32.0-rc.5is rejected before any download.
So there is currently no way to install the controller with the script.
Expected
The script installs the newest signed stable release, and --version can name any signed release, including a prerelease.
Suggested fix
- Find the newest stable controller release without depending on the first page: page through
/releasesuntil a match is found, or list matching tags (/git/matching-refs/tags/switch-agent-controller-v) and fetch releases by tag. - Let
--versionaccept a prerelease version (x.y.z-rc.N,x.y.z-dev.N.gSHA), still requiring a valid signature. - Publish a signed stable controller release (or add a
.sigto the next one), so the default path has something to install.
Workaround
Switch Console sets up a managed machine on the computer it runs on, so agents can run there without the headless controller, at the cost of stopping when Console quits.
- Lingua principale
- Python
- Stelle
- 4.5k
- Fork
- 348
- Merge medio
- 1g 17h
- PR unite (30g)
- 287
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sandbox-quantum/switch
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
sandbox-quantum/switch#2163 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
sandbox-quantum/switch#2162 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
sandbox-quantum/switch#2159 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
sandbox-quantum/switch#2157 ·
I maintainer di solito rispondono entro 1 giorno
-
Get-Switch-Console link points at a path that only resolves via a redirectForse già presa @Darshan3690 l’ha presa 3 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
sandbox-quantum/switch#1998 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sandbox-quantum/switch
Issue simili
-
bug pydanty:is-working
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
pydantic/pydantic-ai#13939 ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low python
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
LearningCircuit/local-deep-research#8849 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
francescopace/espectre#223 ·
I maintainer di solito rispondono entro 3 giorni
-
good first issue Status: Triaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
canonical/imagecraft#538 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
YaShDsOnI/clipwatcher#3 ·