Skip to content

Commit 7b2121a

Browse files
Merge pull request #6485 from ggiguash/ci-doctor-job-filter-fix
USHIFT-6792: Exclude unfinished runs to prevent previous failure masking
2 parents ec2594d + 95834b0 commit 7b2121a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.claude/commands/analyze-ci/create-bugs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ For each candidate where user chose "create":
250250
components="MicroShift",
251251
additional_fields={
252252
"labels": ["microshift-ci-ai-generated"],
253-
"security": {"name": "Red Hat Employee"}
253+
"security": {"name": "Red Hat Employee"},
254+
"customfield_10028": 0 # Story Points
254255
}
255256
)
256257
```

.claude/scripts/microshift-prow-jobs-for-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ PROW_URL="https://prow.ci.openshift.org/data.js"
1111
fetch_latest_per_job() {
1212
local release="${1}"
1313
curl -s --max-time 60 "${PROW_URL}" | jq --arg release "${release}" '
14-
[.[] | select((.job | contains("microshift")) and (.job | contains($release)))] |
14+
[.[] | select((.job | contains("microshift")) and (.job | contains($release))
15+
and .finished and .finished != "")] |
1516
group_by(.job) |
1617
map(sort_by(.started | tonumber) | reverse | first) |
1718
[.[] | {

0 commit comments

Comments
 (0)