You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several operations that correctly count against the operations-per-run limit but do not get added to the per-issue tally as represented in the logging for each issue, e.g. 1 operation consumed for this pull request. This can be mildly confusing if you're paying close attention to your logs and trying to understand what's happening in detail (especially when you're running into the operation limit)
Further context
I noticed this because I have a repo where I'm running into the operation limit but if I manually tally up the operations listed in the issues in the logs, the numbers don't add up. Digging through the code a little, I think the problem is that there are a couple places calling this.operations.consumeOperation(); where they should be calling this._consumeIssueOperation(), e.g.
Describe your issue
There are several operations that correctly count against the
operations-per-run
limit but do not get added to the per-issue tally as represented in the logging for each issue, e.g.1 operation consumed for this pull request
. This can be mildly confusing if you're paying close attention to your logs and trying to understand what's happening in detail (especially when you're running into the operation limit)Further context
I noticed this because I have a repo where I'm running into the operation limit but if I manually tally up the operations listed in the issues in the logs, the numbers don't add up. Digging through the code a little, I think the problem is that there are a couple places calling
this.operations.consumeOperation();
where they should be callingthis._consumeIssueOperation()
, e.g.stale/src/classes/issues-processor.ts
Line 518 in 54197c7
The text was updated successfully, but these errors were encountered: