prNotPendingHours not honoured #9118
-
What Renovate type, platform and version are you using? Using the hosted renovate App on https://github.com/apollographql/apollo-android/ (renovate.json here) Describe the bug prNotPendingHours is not honoured. Despite having set
Relevant debug logs From https://app.renovatebot.com/dashboard#github/apollographql/apollo-android/316803136:
Dashboard: apollographql/apollo-kotlin#2835 Clicking the box schedules the PR correctly but the PR never gets created automatically. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
According to this log, you don't have any check runs or status checks being run on the branch. Can you confirm if that's correct? So is your goal that you set prNotPendingHours=1 so that the branch times out with no tests (i.e. pending) and then creates a PR so that tests can be run? |
Beta Was this translation helpful? Give feedback.
-
Tracing the logic, it passes this line: renovate/lib/workers/pr/index.ts Line 209 in 926f23f And then: renovate/lib/workers/pr/index.ts Line 223 in 926f23f So either I'm not sure why that is but have added a non-null check to config.stabilityStatus. |
Beta Was this translation helpful? Give feedback.
Tracing the logic, it passes this line:
renovate/lib/workers/pr/index.ts
Line 209 in 926f23f
And then:
renovate/lib/workers/pr/index.ts
Line 223 in 926f23f
So either
elapsedHours < config.prNotPendingHours
(in which caseconfig.prNotPendingHours
is >= 3 and not 1 as we think) orconfig.stabilityStatus !== BranchStatus.yellow
.I'm not sure why that is but have added a non-null check to config.stabilityStatus.