Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2266

TestInfoBot couldn't get checks after user changed their GitHub username

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • None
    • bots
    • None

      TestInfoBot keeps throwing NullPointerException for TestInfoBotWorkItem@openjdk/jdk22u#205, TestInfoBotWorkItem@openjdk/jdk21u-dev#575,
      TestInfoBotWorkItem@openjdk/jdk17u-dev#2474
      All the three prs are created by the same user.

      I found skara bot was sending this request https://api.github.com/repos/pengxialong/jdk22u/commits/40c977f6c70fa4acdb5c1ebc0bfe776f57990bdb/check-runs
      And the response will redirect to another url.
      I am surprised that we can't handle redirect correctly.

      And I found the redirect should because the user changed his Github username.
      His current username is "pengxiaolong"(https://github.com/pengxiaolong)
      But in the url, the username is "pengxialong"(missing one "o").


            zsong Zhao Song
            zsong Zhao Song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: