[bug]: Align Graph.add_edge and validate_self collector type validation
Maintainer thường phản hồi trong vòng 5 ngày
@JPPhoto đang làm issue này rồi.
Từ ngày 26/9/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Is there an existing issue for this problem?
- I have searched the existing issues and found no duplicate.
Install method
Manual (in-process graph test; no server installation used)
Describe your environment
- Operating system: Linux
- GPU vendor: None (CPU; not involved)
- Version number: main @ 13aff5c (in-process review reproduction)
What happened
Graph.add_edge() and Graph.validate_self() do not enforce the same collector type invariants. Some collector changes can be accepted while editing, then rejected only when the full graph is validated. Review reproductions include a collector feeding an If branch and a related Collect -> Iterate mismatch.
What you expected to happen
Define which collector and downstream type invariants must hold after each add_edge() call, and make mutation-time validation and validate_self() follow that contract without rejecting unrelated incomplete nodes.
How to reproduce the problem
- Build a graph with a collector connected to an If branch and an otherwise incomplete opposite branch.
- Add item/collection edges that produce a type mismatch through that branch.
- Compare whether add_edge() accepts the edit with whether validate_self() accepts the resulting graph.
- Repeat for the related Collect -> Iterate topology.
Additional context
This is a broader graph-editing contract question, separate from PR 343's targeted revalidation when an If branch becomes complete. Existing incomplete-node workflows must remain editable.
- Ngôn ngữ chính
- Python
- Star
- 28.3k
- Fork
- 3k
- Merge trung bình
- 6 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của invoke-ai/InvokeAI
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 5 ngày
-
[enhancement]: UpscalingĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
invoke-ai/InvokeAI#9608 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
[bug]: Nested Iterate execution mixes values across outer iterationsCó thể đã có người làm @JPPhoto đã nhận 4 ngày trước. Đang mởbug
invoke-ai/InvokeAI#9609 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 5 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 5 ngày
-
[bug]: 6.14.1 regression with `pytorch_cuda_alloc_conf: backend:cudaMallocAsync` — Z-Image bf16 + LoRA takes ~30 min whenever the transformer is (re)loaded (VRAM overflows into Windows shared memory)Có thể đã có người làm @lstein đã nhận 6 ngày trước. Đang mở
invoke-ai/InvokeAI#9597 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của invoke-ai/InvokeAI
Issue tương tự
-
repo-audit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
scverse/repo-health#20 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
/context/prime scope override double-prefixes an entity-ref project and drops its scoped memoriesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
phasespace-labs/palinode#232 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
collective/icalendar#1858 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
lfx-mcp cannot supply global variables: LangflowClient drops X-LANGFLOW-GLOBAL-VAR-* from envĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
langflow-ai/langflow#15496 ·
Maintainer thường phản hồi trong vòng 1 ngày