Queued fleet requests survive a gateway restart

Aperta
#1,637 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

The issue identifies the gateway's in-memory lease index, views, and fleet requests, but names no files or tests. Start by reading the gateway manual section describing this known gap and tracing where fleet requests are queued and dispatched. Decide which requests survive a restart and whether queue order is preserved; done means the agreed behavior is documented and waiting requests retain their required state across a gateway restart.

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

Descrizione

feature:spec

Request: #945

Problem

A gateway restart loses every queued fleet request. The gateway's manual lists it as a known gap: "A fleet request is stored only once a worker takes it. A gateway restart loses every open request; ids answer 404, a repeated Idempotency-Key is new (maybe REQUESTER_ALREADY_LEASED)." The lease index, views and fleet requests live in memory only.

Who it is for

A fleet operator who restarts or updates the gateway while agents and CI jobs are waiting for a device. Every waiting caller loses its place and must ask again.

Open questions

  • Which requests survive: queued only, or also those dispatched to a worker but not yet granted?
  • Do they keep their place in the queue?

Written by an agent.

Lingua principale
TypeScript
Stelle
705
Fork
40
Merge medio
12h 9m
PR unite (30g)
376

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 callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.