Merge pull request 'fix: fix: dev-poll stale detection should skip vision-labeled issues (#448)' (#461) from fix/issue-448 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
bd229a5d75
1 changed files with 8 additions and 0 deletions
|
|
@ -406,6 +406,14 @@ if [ "$ORPHAN_COUNT" -gt 0 ]; then
|
|||
OPEN_PR=true
|
||||
fi
|
||||
|
||||
# Skip vision-labeled issues — they are managed by architect agent, not dev-poll
|
||||
issue_labels=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" \
|
||||
"${API}/issues/${ISSUE_NUM}" | jq -r '[.labels[].name] | join(",")')
|
||||
if echo "$issue_labels" | grep -q "vision"; then
|
||||
log "issue #${ISSUE_NUM} has 'vision' label — skipping stale detection (managed by architect)"
|
||||
BLOCKED_BY_INPROGRESS=true
|
||||
fi
|
||||
|
||||
# Check if issue has an assignee — only block on issues assigned to this agent
|
||||
assignee=$(curl -sf -H "Authorization: token ${FORGE_TOKEN}" "${API}/issues/${ISSUE_NUM}" | jq -r '.assignee.login // ""')
|
||||
if [ -n "$assignee" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue