Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-3159

The last ~10 GitHub Pull Requests are missing from the list

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3
    • 1.2, 1.x
    • Plugins, Quality
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Before this update, {product-short} ignored GitHub search API restrictions to list pull requests.
      Therefore, {product-short} might have not displayed all pull requests.

      With this update, {product-short} limits paging to max 1000 results to respect GitHub search API restrictions.
      {product-short} show users when additional results are available, suggesting in a tooltip that they can refine their query to retrieve more specific results.
      Show
      Before this update, {product-short} ignored GitHub search API restrictions to list pull requests. Therefore, {product-short} might have not displayed all pull requests. With this update, {product-short} limits paging to max 1000 results to respect GitHub search API restrictions. {product-short} show users when additional results are available, suggesting in a tooltip that they can refine their query to retrieve more specific results.
    • Bug Fix
    • Done
    • RHDH Plugins 3262, RHDH Plugins 3263

      Description of problem:

      In our CI e2e tests, seem to find a bug in the plugin for showing GitHub pull requests.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Visit our CI deployments. 
      2. Catalog -> Backstage Showcase -> Pull/Merge Requests
      3. Click ALL and go to the last page >|
      4. You will see No records to display

      See e.g. this nightly job: https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-janus-idp-backstage-showcase-1.2.x-e2e-tests-nightly/1810901940859572224 

      Actual results:

      You cannot see the first ~10 pull requests from a repository.

      Expected results:

      You should see all the pull requests from a repository.

      Reproducibility (Always/Intermittent/Only Once):

      It happens always on the CI e2e tests, but not always the tests fail. This is strange. The tests fail more often for 1.2.x branch nightlies.

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

        1. Screenshot from 2024-07-11 17-04-50-1.png
          121 kB
          Zbynek Drapela
        2. Screenshot from 2024-07-11 17-04-58-1.png
          73 kB
          Zbynek Drapela
        3. Screenshot from 2024-07-11 17-05-05-1.png
          74 kB
          Zbynek Drapela

              rh-ee-dzemanov Dominika Zemanovicova
              zdrapela@redhat.com Zbynek Drapela
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: