Skip to content

Improve output of sg live

Created by: varungandhi-src

I have the following suggestions:

  1. Consider using different colors. Right now, the readability of the dark blue and dark red text is not so good on a dark background. sg live output showing low contrast
  2. A result of " Deployed SHA 97d25ae003ac not found in last 20 commits on origin/main :(" is not super helpful. Instead, if it could show the number of commits as well as the time difference, that would be helpful. If there are a lot of commits, the middle ones could be skipped.
  3. Surface other contextual information like:
    • When the last 3-5 deployments happened (and the latency between merge -> deploy for these)
    • Is there a "candidate" for the next deployment that is under testing or something? If so, what commit does that map to?
    • The time since last deploy. Right now, there is a message:
      💡 Live on "cloud": 97d25ae003ac (built on 2022-05-23)
      This is good, but it would be better to also include the time (+ maybe a human-readable description of duration from then till now) of the last deploy.