You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A dev server's failed first build shows as starting for the whole health timeout #635
A dev server whose first build fails (a type error from a half-made
change) keeps listening for changes but never answers its health check. devstack status shows it as starting for its whole health timeout
(300 s by default), and services that come after it sit stopped with no
hint of what they wait for. Only when the timeout runs out does the
service turn failed with "not healthy after 300 s: … Connection
refused", which says nothing about the build error that caused it.
Since #631 (#634) a save that fixes the build reaches the dev server while
it starts, so this case usually heals by itself. When it does not, the
developer waits five minutes without a clue.
Expected
While a dev server starts, devstack reads its output the way it already
does for rebuilds (rebuild.rs): a failed first build shows on the
service (status line, dashboard), with the first error lines, instead of
a plain starting.
A service that waits for another one (after) says which one and why
(waiting for web: its first build failed).
Whether a failed first build should end the start at once (failed) or
keep waiting for a fixing save is open: the dev server is still running
and may recover.
Activity