Queued fleet requests survive a gateway restart

オープン
#1,637 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
705
フォーク
40
平均マージ
12時間 9分
マージ済み PR(30日)
376

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。