# Pitfall Log / 踩坑日志

项目：dagucloud/dagu

摘要：发现 26 个潜在踩坑项，其中 1 个为 high/blocking；最高优先级：安全/权限坑 - 来源证据：feat: rerun a selected step and all downstream steps。

## 1. 安全/权限坑 · 来源证据：feat: rerun a selected step and all downstream steps

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：feat: rerun a selected step and all downstream steps
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/dagucloud/dagu/issues/2388 | 来源类型 github_issue 暴露的待验证使用条件。

## 2. 安装坑 · 依赖 Docker 环境

- 严重度：medium
- 证据强度：runtime_trace
- 发现：安装/运行入口包含 Docker 命令：docker run --rm -v ~/.dagu:/var/lib/dagu -p 8080:8080 ghcr.io/dagucloud/dagu:latest dagu start-all
- 对用户的影响：非工程用户可能没有 Docker，启动成本明显增加。
- 复现命令：`docker run --rm -v ~/.dagu:/var/lib/dagu -p 8080:8080 ghcr.io/dagucloud/dagu:latest dagu start-all`
- 证据：identity.distribution | https://github.com/dagucloud/dagu | docker run --rm -v ~/.dagu:/var/lib/dagu -p 8080:8080 ghcr.io/dagucloud/dagu:latest dagu start-all

## 3. 安装坑 · 失败模式：installation: bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the DAG run outputs
- 对用户的影响：Developers may fail before the first successful local run: bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the DAG run outputs
- 证据：failure_mode_cluster:github_issue | https://github.com/dagucloud/dagu/issues/2428 | bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the DAG run outputs

## 4. 安装坑 · 失败模式：installation: bug: queued run that fails before startup is never dequeued and retries forever

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: bug: queued run that fails before startup is never dequeued and retries forever
- 对用户的影响：Developers may fail before the first successful local run: bug: queued run that fails before startup is never dequeued and retries forever
- 证据：failure_mode_cluster:github_issue | https://github.com/dagucloud/dagu/issues/2436 | bug: queued run that fails before startup is never dequeued and retries forever

## 5. 安装坑 · 失败模式：installation: helm-dagu-1.0.10

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: helm-dagu-1.0.10
- 对用户的影响：Upgrade or migration may change expected behavior: helm-dagu-1.0.10
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/helm-dagu-1.0.10 | helm-dagu-1.0.10

## 6. 安装坑 · 失败模式：installation: helm-dagu-1.0.11

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: helm-dagu-1.0.11
- 对用户的影响：Upgrade or migration may change expected behavior: helm-dagu-1.0.11
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/helm-dagu-1.0.11 | helm-dagu-1.0.11

## 7. 安装坑 · 失败模式：installation: question: `onInit` handler is recorded but never displayed — is that intended?

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: question: `onInit` handler is recorded but never displayed — is that intended?
- 对用户的影响：Developers may fail before the first successful local run: question: `onInit` handler is recorded but never displayed — is that intended?
- 证据：failure_mode_cluster:github_issue | https://github.com/dagucloud/dagu/issues/2429 | question: `onInit` handler is recorded but never displayed — is that intended?

## 8. 安装坑 · 失败模式：installation: v2.10.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: v2.10.0
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.0
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.0 | v2.10.0

## 9. 安装坑 · 来源证据：bug: queued run that fails before startup is never dequeued and retries forever

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：bug: queued run that fails before startup is never dequeued and retries forever
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/dagucloud/dagu/issues/2436 | 来源讨论提到 macos 相关条件，需在安装/试用前复核。

## 10. 安装坑 · 来源证据：question: `onInit` handler is recorded but never displayed — is that intended?

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：question: `onInit` handler is recorded but never displayed — is that intended?
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/dagucloud/dagu/issues/2429 | 来源讨论提到 linux 相关条件，需在安装/试用前复核。

## 11. 配置坑 · 失败模式：configuration: v2.10.4

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: v2.10.4
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.4
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.4 | v2.10.4

## 12. 配置坑 · 失败模式：configuration: v2.10.5

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: v2.10.5
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.5
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.5 | v2.10.5

## 13. 配置坑 · 失败模式：configuration: v2.10.6

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: v2.10.6
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.6
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.6 | v2.10.6

## 14. 能力坑 · 能力判断依赖假设

- 严重度：medium
- 证据强度：source_linked
- 发现：README/documentation is current enough for a first validation pass.
- 对用户的影响：假设不成立时，用户拿不到承诺的能力。
- 证据：capability.assumptions | https://github.com/dagucloud/dagu | README/documentation is current enough for a first validation pass.

## 15. 运行坑 · 运行可能依赖外部服务

- 严重度：medium
- 证据强度：source_linked
- 发现：项目说明出现 external service/cloud/webhook/database 等运行依赖关键词。
- 对用户的影响：本地安装成功不等于能力可用，外部服务不可用会阻断体验。
- 证据：packet_text.keyword_scan | https://github.com/dagucloud/dagu | matched external service / cloud / webhook / database keyword

## 16. 维护坑 · 失败模式：migration: v2.9.0

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this migration risk before relying on the project: v2.9.0
- 对用户的影响：Upgrade or migration may change expected behavior: v2.9.0
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.9.0 | v2.9.0

## 17. 维护坑 · 失败模式：migration: v2.9.1

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this migration risk before relying on the project: v2.9.1
- 对用户的影响：Upgrade or migration may change expected behavior: v2.9.1
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.9.1 | v2.9.1

## 18. 维护坑 · 维护活跃度未知

- 严重度：medium
- 证据强度：source_linked
- 发现：未记录 last_activity_observed。
- 对用户的影响：新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- 证据：evidence.maintainer_signals | https://github.com/dagucloud/dagu | last_activity_observed missing

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 证据：downstream_validation.risk_items | https://github.com/dagucloud/dagu | no_demo; severity=medium

## 20. 安全/权限坑 · 存在评分风险

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：风险会影响是否适合普通用户安装。
- 证据：risks.scoring_risks | https://github.com/dagucloud/dagu | no_demo; severity=medium

## 21. 安全/权限坑 · 来源证据：bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the DAG run outputs

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：bug: `stdout.outputs` declared on a `handler_on` step is captured but never published to the DAG run outputs
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/dagucloud/dagu/issues/2428 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 22. 能力坑 · 失败模式：capability: feat: rerun a selected step and all downstream steps

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this capability risk before relying on the project: feat: rerun a selected step and all downstream steps
- 对用户的影响：Developers may hit a documented source-backed failure mode: feat: rerun a selected step and all downstream steps
- 证据：failure_mode_cluster:github_issue | https://github.com/dagucloud/dagu/issues/2388 | feat: rerun a selected step and all downstream steps

## 23. 运行坑 · 失败模式：performance: v2.10.1

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: v2.10.1
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.1
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.1 | v2.10.1

## 24. 维护坑 · issue/PR 响应质量未知

- 严重度：low
- 证据强度：source_linked
- 发现：issue_or_pr_quality=unknown。
- 对用户的影响：用户无法判断遇到问题后是否有人维护。
- 证据：evidence.maintainer_signals | https://github.com/dagucloud/dagu | issue_or_pr_quality=unknown

## 25. 维护坑 · 发布节奏不明确

- 严重度：low
- 证据强度：source_linked
- 发现：release_recency=unknown。
- 对用户的影响：安装命令和文档可能落后于代码，用户踩坑概率升高。
- 证据：evidence.maintainer_signals | https://github.com/dagucloud/dagu | release_recency=unknown

## 26. 维护坑 · 失败模式：maintenance: v2.10.7

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: v2.10.7
- 对用户的影响：Upgrade or migration may change expected behavior: v2.10.7
- 证据：failure_mode_cluster:github_release | https://github.com/dagucloud/dagu/releases/tag/v2.10.7 | v2.10.7
