launcher logs shows the whole log for the container, which can take a while to finish. How about changing the launcher logs command to take --tail the way that docker logs does?
AI-generated summary
JagWaugh proposes several enhancements to make the launcher more versatile and serve as a comprehensive health check tool. First, they suggest modifying the launcher logs command to accept a --tail <integer> argument, similar to Docker’s functionality, to avoid displaying the entire container log. Second, JagWaugh recommends expanding the ./launcher status app output to include detailed component states (e.g., Postgres, Web, Sidekick) and the timestamp of the last major error, creating a quick “What is going on?” reference. Third, they propose presenting this same status information via the web interface, akin to the existing admin/upgrade#/processes page. Finally, while troubleshooting a plugin issue, JagWaugh requests a --local_only flag for the ./launcher rebuild app command to prevent pulling the latest Docker image, allowing for isolated local testing. codinghorror responds that no such local-only rebuild feature is planned for the foreseeable future.
While I’m at it:
./launcher status app
returning:
Postgres: Up and running, unreachable.
Version: Up to date, behind, updating.
Web: Up, down, starting.
Sidekick; Up, down
Email:Up, Down
Last error: Date/time of last Major error
The idea being that ./launcher becomes a one stop, “What is going on?” tool. Just enough to give a quick health check.
And another thing…
How about presenting the same sort of status information via the web, similar to the way that admin/upgrade#/processes
Again, a single point of reference giving “What is going on?” type of information.
And another thing…
I’m just walking through removing the plugins one after the other to try and isolate this problem.
It just occurred to me, there is no way to do ./launcher rebuild app without pulling the latest image from docker, right?
I’m trying to narrow in on a local problem, making local changes, but I am also pulling remote changes at the same time.
Any way to do something like ./launcher rebuild app --local_only ?
No, and nothing like this is planned for the forseeable future.