Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
i915-infra
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • gfx-ci
  • i915-infra
  • Merge Requests
  • !27

Merged
Opened Mar 01, 2019 by Arkadiusz Hiler@ivylMaintainer

queues: Sort shard queue

  • Overview 1
  • Commits 1
  • Changes 2

The shard queue we get from the CI system is a dump of anything that is currency queued or in-flight. This means it's unsorted.

Let's sort it on our side.

  1. start a worker thread, do all the XHR requests for the timestamps synchronously
  2. sort the array when we are done
  3. use Client.postMessage() to notify the main thread to update DOM
  4. spawn all the remaining XHRs to get the series names

Fixes #35 (closed)

Signed-off-by: Arkadiusz Hiler arkadiusz.hiler@intel.com

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: gfx-ci/i915-infra!27
Source branch: sort_shards_queue