exasol/release-droid

Aggregate estimation for all platforms

ckunki opened this issue · 1 comments

Currently RD displays multiple progress indicators

  • one for release_droid_prepare_original_checksum.yml
  • plus one for each platform, e.g. GitHub and Jira.

I as a user am interested in overall progress summary rather than in multiple steps with unknown total count.

The current ticket therefore proposes to aggregate the estimation for all platforms and to display a single progress indicator based on the overall estimation for all platforms and including the preparation phase.

Challenge

  • Display then contains parts of different nature:
    • (a) dynamic parts as the colored progress indicator
    • (b) accumulative parts like growing list of platforms with timestamp of start of publication
  • How can RD combine these two natures in a natural and harmonic way?

Solution

  • General design is accumulative - a growing list of log entries
  • After publication to a single platform is completed, RD simply erases / overwrites the last progress display to hide it and re-displays it below the next platform.

Prerequisites

  • Collect duration of last run for all platforms in advance
  • Validation phase is not recommended, as validation should be fast and not require communication to these platforms.