Merge pull request 'fix: architect: jq integer/string type mismatch in has_open_subissues self-exclusion filter (#499)' (#514) from fix/issue-499 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
dev-bot 2026-04-09 15:14:51 +00:00
commit 3c4ba5ff82

View file

@ -200,7 +200,7 @@ has_open_subissues() {
# Check each issue for the decomposition pattern using jq to extract bodies
subissue_count=$(printf '%s' "$issues_json" | jq -r --arg vid "$vision_issue" '
[.[] | select(.number != $vid) | select(.body // "" | contains("Decomposed from #" + $vid))] | length
[.[] | select(.number != ($vid | tonumber)) | select(.body // "" | contains("Decomposed from #" + $vid))] | length
' 2>/dev/null) || subissue_count=0
if [ "$subissue_count" -gt 0 ]; then