Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Cutover can miss a recurring successor queued as it completes

已关闭
#2 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@pheus 已经在做这个了。

开始于 2026年10月23日。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
8
派生
0
平均合并
11 小时 23 分钟
30 天内合并 PR
24

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

netbox-community/netbox-scripts 的其他 Issue

查看 netbox-community/netbox-scripts 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。