Skip to content

feat: 新增培养舱处理缺少原料的逻辑#1683

Merged
MistEO merged 1 commit intov2from
feat/DijiangRewards
Mar 29, 2026
Merged

feat: 新增培养舱处理缺少原料的逻辑#1683
MistEO merged 1 commit intov2from
feat/DijiangRewards

Conversation

@overflow65537
Copy link
Copy Markdown
Member

@overflow65537 overflow65537 commented Mar 28, 2026

Summary by Sourcery

在 DijiangRewards GrowthChamber 流水线中处理缺失物料(missing-material)场景,并将新的状态向相关配置中传播。

新功能:

  • 在 DijiangRewards GrowthChamber 流水线配置中新增缺失物料处理逻辑。

增强改进:

  • 扩展 DijiangRewards 状态模板(包括 ADB 变体),以表示新的 GrowthChamber 处理状态。
  • 更新 DijiangRewards 任务配置,使修订后的 GrowthChamber 行为能够在标准和 ADB 流水线中生效。
Original summary in English

Summary by Sourcery

Handle missing-material scenarios in the DijiangRewards GrowthChamber pipeline and propagate the new state through related configuration.

New Features:

  • Add missing-material handling logic to the DijiangRewards GrowthChamber pipeline configuration.

Enhancements:

  • Extend DijiangRewards status templates, including ADB variants, to represent new GrowthChamber processing states.
  • Update DijiangRewards task configuration to integrate the revised GrowthChamber behavior across standard and ADB pipelines.

新功能:

  • 在 DijiangRewards GrowthChamber 流水线配置中添加对缺失材料情况的处理。

增强改进:

  • 扩展 DijiangRewards 状态模板资源(包括 ADB 变体),以反映新的生长舱处理状态。
  • 调整 DijiangRewards 任务配置,以集成更新后的生长舱行为。
Original summary in English

Summary by Sourcery

在 DijiangRewards GrowthChamber 流水线中处理缺失物料(missing-material)场景,并将新的状态向相关配置中传播。

新功能:

  • 在 DijiangRewards GrowthChamber 流水线配置中新增缺失物料处理逻辑。

增强改进:

  • 扩展 DijiangRewards 状态模板(包括 ADB 变体),以表示新的 GrowthChamber 处理状态。
  • 更新 DijiangRewards 任务配置,使修订后的 GrowthChamber 行为能够在标准和 ADB 流水线中生效。
Original summary in English

Summary by Sourcery

Handle missing-material scenarios in the DijiangRewards GrowthChamber pipeline and propagate the new state through related configuration.

New Features:

  • Add missing-material handling logic to the DijiangRewards GrowthChamber pipeline configuration.

Enhancements:

  • Extend DijiangRewards status templates, including ADB variants, to represent new GrowthChamber processing states.
  • Update DijiangRewards task configuration to integrate the revised GrowthChamber behavior across standard and ADB pipelines.

@overflow65537 overflow65537 linked an issue Mar 28, 2026 that may be closed by this pull request
@overflow65537 overflow65537 marked this pull request as ready for review March 29, 2026 10:33
Copilot AI review requested due to automatic review settings March 29, 2026 10:33
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我在这里给出了一些整体反馈:

  • 新的缺失物料(missing-material)处理逻辑分别单独加入了标准和 ADB GrowthChamber 的 pipeline/template 中;可以考虑抽取出共享结构,或者使用公共 include,这样更容易保持这些配置的一致性。
  • 在更新后的 DijiangRewards 任务配置里,可以评估一下是否能把缺失物料流程建模为一个可复用的子任务或共享的状态转换块,而不是在多个位置重复类似的状态/转换定义。
给 AI Agent 的提示
请根据这次代码审查中的评论进行修改:

## 总体评论
- 新的缺失物料(missing-material)处理逻辑分别单独加入了标准和 ADB GrowthChamber 的 pipeline/template 中;可以考虑抽取出共享结构,或者使用公共 include,这样更容易保持这些配置的一致性。
- 在更新后的 DijiangRewards 任务配置里,可以评估一下是否能把缺失物料流程建模为一个可复用的子任务或共享的状态转换块,而不是在多个位置重复类似的状态/转换定义。

Sourcery 对开源项目免费——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈来改进后续的评审。
Original comment in English

Hey - I've left some high level feedback:

  • The new missing-material handling appears to be added separately to both the standard and ADB GrowthChamber pipelines/templates; consider extracting the shared structure or using a common include so these configurations stay in sync more easily.
  • In the updated DijiangRewards task configuration, review whether the missing-material flow can be modeled as a reusable sub-task or shared transition block rather than duplicating similar state/transition definitions in multiple places.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new missing-material handling appears to be added separately to both the standard and ADB GrowthChamber pipelines/templates; consider extracting the shared structure or using a common include so these configurations stay in sync more easily.
- In the updated DijiangRewards task configuration, review whether the missing-material flow can be modeled as a reusable sub-task or shared transition block rather than duplicating similar state/transition definitions in multiple places.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

本 PR 更新了 DijiangRewards 培养舱(GrowthChamber)相关的任务配置与流水线节点,旨在更好地处理“缺少原料”等异常分支,并补齐用于判断目标可用性的状态模板。

Changes:

  • 将任务侧的目标数量检查从 GrowthChamberCheckTargetEmpty 迁移/细化为 GrowthChamberCheckSeedNotEmpty 等新状态名,并在部分场景引入 GrowthChamberCheckTargetNotEmpty
  • 扩展状态模板(含 ADB 变体),新增“基核数量/本体数量非 0”的识别定义,并提供 TargetNotEmpty 聚合判断
  • 在培养舱流水线中新增“列表到底”识别节点(含 ADB ROI),并调整部分分支返回路径以配合异常处理

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
assets/tasks/DijiangRewards.json 更新任务选项/物品的 pipeline_override 状态名,并新增 GrowthChamberCheckTargetNotEmpty override
assets/resource/pipeline/DijiangRewards/Template/Status.json 新增 SeedNotEmpty / PlantNotEmpty / TargetNotEmpty 状态模板与识别逻辑
assets/resource/pipeline/DijiangRewards/GrowthChamber.json 流水线新增“滑动到底”相关节点,并调整部分分支 next 路径
assets/resource_adb/pipeline/DijiangRewards/Template/Status.json 为 ADB 变体补充新状态的 ROI offset
assets/resource_adb/pipeline/DijiangRewards/GrowthChamber.json 为 ADB 变体补充 GrowthChamberScrollEnd ROI

@MistEO MistEO merged commit dc7bb39 into v2 Mar 29, 2026
22 checks passed
@MistEO MistEO deleted the feat/DijiangRewards branch March 29, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

基建任务提取集核失败

3 participants