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

Cloudflare deploy fails when the newest version has no bindings

Chiusa
#457 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@aayushbtw ci sta già lavorando.

Dal 16/10/2026.

  • #458 di @aayushbtw — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
cloud

Direzione di ricerca

Start with the versions.view operation in packages/void/src/cli/cf-version-runner.ts, where the issue says versions without bindings are treated as unreadable. Check the Cloudflare response for a version with no bindings and trace how that affects secret inheritance verification. Done means a binding-free version can be read and deploy proceeds to upload; pull request #458 is already open.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

void deploy --platform cloudflare stops before uploading when the Worker's newest version has no bindings:

◇ Checking the current Worker deployment...
■ deploy: could not verify which Worker Version would supply inherited secrets; production traffic is unchanged.

cf workers versions get leaves out bindings for a version that has none. The versions.view operation in packages/void/src/cli/cf-version-runner.ts requires bindings to be an array, so it reports the version as unreadable and the secret-inheritance check stops.

I got such a version when a build ran through vp run build, which drops Void's deploy env vars, so the upload had no __VOID_VERSION_METADATA binding. A version that another tool uploaded without bindings would cause the same failure.

Fix: #458

void 1.1.11, cf 1.0.0-beta.17, direct Cloudflare target.

Lingua principale
TypeScript
Stelle
402
Fork
32
Merge medio
12h 28m
PR unite (30g)
77

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 voidzero-dev/void

Tutte le issue di voidzero-dev/void

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.