Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cutover can miss a recurring successor queued as it completes

Đã đóng
#2 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

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

@pheus đang làm issue này rồi.

Từ ngày 23/10/2026.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start by tracing the migration cutover flow and the recurring built-in Custom Script scheduling path described in the reproduction. Reproduce the concurrent-worker timing race if possible, then verify that a successor queued as cutover finishes is captured or causes another pass; confirm the occurrence is not later executed without being recreated.

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

Mô tả

app: scripts severity: medium status: accepted type: bug
Plugin Version

v0.0.1

NetBox Version

v4.7.1

Python Version

3.12

Steps to Reproduce
  1. Under Customization > Scripts, schedule a recurring built-in Custom Script with a short interval.
  2. Under Scripts > Migration, complete inventory and staging and wait for valid revisions.
  3. Select Enter cutover with Accept concurrent workers. Time the recurring run on a second worker so it queues its next occurrence as cutover finishes. This is a timing race and is difficult to reproduce manually.
Expected Behavior

A successor queued during cutover is captured, or cutover remains open so another pass can capture it.

Observed Behavior

Cutover completes and reports no waiting work, but the new occurrence was neither captured nor cancelled. It later executes the built-in Script, and the plugin does not recreate it.

Ngôn ngữ chính
Python
Star
8
Fork
0
Merge trung bình
11 giờ 35 phút
Pull request đã merge (30 ngày)
20

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 netbox-community/netbox-scripts

Tất cả issue của netbox-community/netbox-scripts

Issue tương tự

Thêm issue về Python

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.