refactor: encapsulate how main application liveness check is done
refactor: encapsulate how main application liveness check is done: a task in github-trending-environments-10k (Harbor dataset). Title: refactor: encapsulate how main application liveness check is done
The task
**Title:** refactor: encapsulate how main application liveness check is done