TheRacetrack / racetrack

An opinionated framework for deploying, managing, and serving application workloads
https://theracetrack.github.io/racetrack/
Apache License 2.0
28 stars 6 forks source link

Avoid redirecting version aliases to dead Jobs #445

Closed iszulcdeepsense closed 5 months ago

iszulcdeepsense commented 5 months ago

A new status STARTING has been introduced for a Job that is still initialising. This way, the ERROR state is reserved solely for the unexpected problems that arise after a job has been successfully initialised. It is possible to distinguish whether a job has ever run successfully. Thanks to this, version aliases, such as latest or wildcards, won't redirect to starting Jobs that are not yet ready.