@oss-autopilot/core - v3.42.2
    Preparing search index...

    Function scanReviewedPR

    • Scan one reviewed PR's activity. Returns the follow-up when something after the user's last comment, review or inline comment asks for another look, or null when:

      • the user never commented or reviewed (the search can return a PR whose only comment of theirs was deleted), or the PR is no longer open;
      • nothing happened since: no non-merge commit by a non-bot account other than the user, no non-reaction comment by the PR author, and no comment addressed to the user (reply in one of their inline threads, quote of their prose, @mention) by anyone who is not the user or a bot;
      • the user's only words on the PR were reactions ("+1", "same here"): then pushes and author replies are not for them, and only a comment addressed to them counts.

      rebased, mergedUpstream and baseUnknown come from the commit list (see commitsSince); compareRange and compareUrl are left for the daily phase, which asks GitHub whether reviewedSha is still an ancestor of the head when none of the three applies.

      Parameters

      Returns ReviewedPRFollowUp | null