Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Restore the GCP execution backend: removed from v0.2.0 as never verified end to end

Aperta
#144 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ContextLab/clustrix

Tutte le issue di ContextLab/clustrix

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.