Restore the GCP execution backend: removed from v0.2.0 as never verified end to end
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- gcp, kubernetes, python
- Ambito
- cloud, distributed-systems
Direzione di ricerca
Inizia dal commit di rimozione e dalla cronologia citata per clustrix/cloud_providers/gcp.py, clustrix/cost_providers/gcp.py, clustrix/pricing_clients/gcp_pricing.py e il percorso dell’executor condiviso. Esamina il tutorial di GCP ed esegui un job reale, quindi prova i percorsi di rifiuto, terminazione e perdita del nodo. Il lavoro è completato quando il backend è stato ripristinato, le evidenze sono registrate qui, è stato riaggiunto agli elenchi e alle interfacce supportati e la documentazione lo contrassegna come supportato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The GCP execution backend (cluster_type="gcp") is implemented and removed from v0.2.0 as unverified. No GCP job has been shown to run end to end.
What exists, and where
Introduced in 2e0aa3d (2025-06-28). At 299109f:
| Code | Lines |
|---|---|
clustrix/cloud_providers/gcp.py |
759 |
clustrix/cost_providers/gcp.py |
435 |
clustrix/pricing_clients/gcp_pricing.py |
383 |
clustrix/kubernetes/gcp_provisioner.py |
827 (see the Kubernetes issue) |
Shared with the other three providers: clustrix/executor_cloud.py, clustrix/cloud_providers/base.py, clustrix/pricing_clients/base.py, and the gcp_*/cloud_* configuration fields. Tutorial: docs/source/notebooks/gcp_cloud_tutorial.ipynb.
Defects that apply here too
The unsigned-cloud-result hole and the placeholder-hostname behaviour described in the AWS issue were in the shared executor_cloud.py path, so they affected GCP identically. Both were fixed in the v0.2.0 sweep and neither fix has been run against real GCP.
Why it is being removed rather than fixed
Not because the code is known to be wrong. Because it has never been run against the real thing, and shipping it in the cluster-type dropdown states otherwise. A user who selects it gets a code path no one has ever seen succeed.
v0.2.0 keeps exactly the four backends that have been demonstrated end to end -- local, ssh, slurm, huggingface -- and the documentation now says the rest are planned for a future release rather than currently supported.
Restoring it
Nothing is lost: every line cited above stays reachable in git history at the commits named. Reinstating it means reverting the removal commit and then doing the part that was never done -- running it against real hardware and recording the evidence in this issue.
Definition of done
- Backend restored from history
- A real job submitted, executed and its result returned, with the transcript pasted into this issue
- Failure paths exercised (job rejected, job killed, node lost)
- Re-added to
SUPPORTED_CLUSTER_TYPES, the widget dropdown and the CLI - Documentation moved from "planned" to "supported"
- Lingua principale
- Python
- Stelle
- 10
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 ContextLab/clustrix
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ContextLab/clustrix#175 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ContextLab/clustrix#170 ·
-
enhancement epic
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ContextLab/clustrix#160 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ContextLab/clustrix#155 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
ContextLab/clustrix#151 · 5 commenti ·
Tutte le issue di ContextLab/clustrix
Issue simili
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hatchet-dev/hatchet#5179 ·
I maintainer di solito rispondono entro 1 giorno
-
python-version
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
bug javascript P2-medium python release:v3.1
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
adrirubio/claude-deck#546 ·
I maintainer di solito rispondono entro 1 giorno