make booting up more clear to end user and log userdata.out - #6
Merged
Merged
Conversation
Tee all userdata output to /var/log/eventform-userdata.log and timestamp every traced command (PS4='+ [HH:MM:SS]'), so `tail -f` shows how long each boot step (dnf, image pull, compose up) takes — the duration of a step is the gap to the next line's timestamp. Start/done markers bracket the run (a missing "done" = boot failed there, since set -e exits on first error). Also wrap the SSM .env materialization in `set +x` so the secret values (Neon URLs, enc key, tunnel token) are never traced into the boot log — closes a pre-existing leak from the old `set -euxo`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The "waking up" screen now explains *why* it takes 2–3 min (the box powers down when idle to stay cheap to host, and the first load pulls ~3 GB of container images), and shows progress instead of a bare spinner: - an elapsed-time counter (mm:ss), - a 4-step stepper (wake server → pull images → start pipeline → reconnect) that advances on elapsed time, with done/active/pending states, - an "taking longer than usual" message past ~3.5 min. Heuristic (the box can't report real boot status to a page that can't reach it), keyed to the actual sequence; the gate still flips to the app the instant /health 200s. Keeps the Sign-in/Retry/Back actions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.