Page MenuHomePhabricator

[Patchdemo] patchdemo checks that the mediawiki is running before giving user link to it
Closed, ResolvedPublic2 Estimated Story Points

Description

When the logs stream finishes, patchdemo gives a link to the wiki and says something like, "your wiki is ready". However, there are some error cases where the logs finish streaming, but the environment did not start (e.g. an error during the provisioning, e.g. running out of space).

  • the log streaming in patchdemo should surface an error and not present a link if the MediaWiki container failed to start
    • this might be done by checking the state of one or more of the initialisation containers
    • Perhaps this could be done via the GET api/environments/<id> endpoint checking status: running after log streaming has finished.

Nice to do this before beta launch unless it's a giant can of worms.

Event Timeline

thcipriani triaged this task as High priority.
thcipriani edited projects, added Catalyst (Camp Muir); removed Catalyst.
thcipriani updated the task description. (Show Details)
thcipriani set the point value for this task to 2.
thcipriani moved this task from Backlog to Ready on the Catalyst (Camp Muir) board.
jeena changed the task status from Open to In Progress.Nov 6 2024, 5:34 PM
thcipriani subscribed.

Deployed! All good all workin' and all happy