Queued fleet requests survive a gateway restart

Đang mở
#1,637 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
705
Fork
40
Merge trung bình
12 giờ 9 phút
Pull request đã merge (30 ngày)
376

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstackincubator/simlock

Tất cả issue của callstackincubator/simlock

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.