coordinator: operator actions, throughput and external reach before adopters run it live

Đang mở
#2,724 1 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
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
postgresql, prometheus, rust

Hướng nghiên cứu

This issue groups several independent operating gaps, and it names crates/registry-coordinator/src/service.rs, crates/registry-coordinator/src/external_http.rs, and products/coordinator/scripts/test-breg-action.py as starting points. Read the linked operate guide's Held runs section and inspect the existing Coordinator API and BReg CI setup. Choose a single item with maintainer guidance; done means that item's behavior or guidance is implemented and verified, since the issue does not define one shared acceptance target.

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

Mô tả

Registry Coordinator is promised at 1.0. These are the operating gaps an adopter meets once runs are live. Two are tracked already: #2365 (binary, image, clients and source-free tutorial) and #2498 (in-place store migrations from 1.0).

Operator actions

  • A console for operators. Listing runs, the attention queue, and retry-same, reconcile and cancel are available only through coordinatorctl and the HTTP API. Where the console lives (with the Coordinator, in another app, or in a shared operator surface) is not decided yet. The API it needs already exists.
  • End a held run. A run held with definition-refused cannot be ended by the version that holds it: retry-same, reconcile and cancel answer 409 run.definition-incompatible (operate guide, Held runs). An operator needs a recorded way to close such a run without running its steps.

Throughput

  • The worker claims one job, then pauses before the next claim (crates/registry-coordinator/src/service.rs), even when more work is waiting. Keep claiming while work is due.
  • Start many runs from one request (bulk start for N items), with per-item results.
  • Scaling guidance: replicas, database sizing, and the run rate one deployment supports.

External calls

  • External HTTP operations support GET and POST with a bearer token only (crates/registry-coordinator/src/external_http.rs). Add secret-referenced basic, API-key and static-header authorisation, and PUT and PATCH.
  • Review the fixed bounds on external paths and response size against real source APIs.

Proof and operations

  • Run the BReg native journeys (breg_action_native, breg_event_native) in CI. Today only products/coordinator/scripts/test-breg-action.py runs them.
  • Give Rhai functions a wall-clock bound beside the operation bound.
  • Publish example Prometheus alert rules for the attention queue and worker health.
Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
151

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

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 registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

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.