orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

[Client-side] Watched builds return incorrect build id and missing stage name #266

Closed tjtelan closed 3 years ago

tjtelan commented 3 years ago

Missing stage name example:

[] ORBITAL_COMMIT=0a81dc12c9b5fee658d92971b36c84eefe6e4523
HOSTNAME=5cd3f28fa786
SHLVL=1
HOME=/root
GLOBAL=yes
ORBITAL_ORG=tjtelan
ORBITAL_COMMIT_MSG=Adding build end times to finished builds

We see that the build stage is incorrectly empty []


Missing build id:

[] Stream: Running -> Finishing[] Stream: Finishing -> Done Build # |   Org   |   Repo    | Branch  | Commit  | User Envs |     Queue time      |     S
tart time      |      End time       | Build state
---------+---------+-----------+---------+---------+-----------+---------------------+---------------------+---------------------+-------------
 0       | tjtelan | orbitalci | develop | 0a81dc1 |           | 2020-11-25T21:38:05 | 2020-11-25T21:38:05 | 2020-11-25T21:38:17 | Done

We see that the build time is incorrectly 0.