Compare commits

..

1 commit

Author SHA1 Message Date
Agent
718327754a fix: fix: dev-poll in-progress check blocks all agents — should only block on own assignments (#358)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-07 16:25:08 +00:00

View file

@ -463,6 +463,8 @@ if [ "$ORPHAN_COUNT" -gt 0 ]; then
BLOCKED_BY_INPROGRESS=true
fi
# Only process PR if not abandoned (stale branch check above)
if [ "$BLOCKED_BY_INPROGRESS" = false ]; then
PR_SHA=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" \
"${API}/pulls/${HAS_PR}" | jq -r '.head.sha') || true
CI_STATE=$(ci_commit_status "$PR_SHA") || true
@ -520,6 +522,7 @@ if [ "$ORPHAN_COUNT" -gt 0 ]; then
log "issue #${ISSUE_NUM} has open PR #${HAS_PR} (CI: ${CI_STATE}, waiting)"
BLOCKED_BY_INPROGRESS=true
fi
fi
else
# Check assignee before adopting orphaned issue
ISSUE_JSON=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" \