Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5292

Implement workaround for GET /tasks possibility of returning new unseen tasks in the middle of the list

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P0: Blocker
    • None
    • None
    • Metrics / Test Results
    • None

    Description

      The coin_scraper.py script currently asserts because Coin returns newly unseen tasks, in-between other previously seen tasks ( COIN-965 ). Tasks are always ordered in started_on date in the response, which means that some tasks are added into the list after they started.

      The script fetches tasks periodically. Each time, it fetches up to the most recently seen task. Since new tasks can appear after that one, there is no clear point that the script knows it has to stop fetching.

      Suggested Workaround

      The suggested workaround is to fetch another 1000 tasks after the last fetched task, and for each one of the extra tasks, check if we already have it or not.

      Attachments

        Issue Links

          Activity

            People

              jimis Dimitrios Apostolou
              jimis Dimitrios Apostolou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: